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

Alan Modra amodra@gmail.com
Wed Jul 20 07:57:00 GMT 2016


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



More information about the Binutils mailing list