This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Difference between --oformat binary, and objcopy -O binary of --oformat elf32-i386


On Wed, Jul 20, 2016 at 09:36:52AM +0200, Andreas Schwab wrote:
> Alan Modra <amodra@gmail.com> writes:
> 
> > @@ -461,7 +461,7 @@ static reloc_howto_type ppc_elf_howto_raw[] = {
> >  	 FALSE,			/* pc_relative */
> >  	 0,			/* bitpos */
> >  	 complain_overflow_dont, /* complain_on_overflow */
> > -	 ppc_elf_addr16_ha_reloc, /* special_function */
> > +	 ppc_elf_unhandled_reloc, /* special_function */
> >  	 "R_PPC_GOT16_HA",	/* name */
> >  	 FALSE,			/* partial_inplace */
> >  	 0,			/* src_mask */
> 
> Is that intented?

Yes.  The generic linker can't create GOT entries.

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]