[patch][rfc] Complex Relocations gas and bfd

Dave Brolley brolley@redhat.com
Fri Jan 19 17:41:00 GMT 2007


>> On Fri, Jan 12, 2007 at 06:07:56PM -0500, Dave Brolley wrote:
>> > + #define R_RELC          0xff            /* Complex relocation type code (see ELFXX_R_TYPE()) */
>>
>> $ egrep 'RELOC.*(255|0xff)' include/elf/*.h
>> include/elf/arm.h:  RELOC_NUMBER (R_ARM_RBASE,                  255)
>> include/elf/ppc.h:  RELOC_NUMBER (R_PPC_TOC16,          255)
>> include/elf/sh.h:  RELOC_NUMBER (R_SH_64_PCREL, 255)


Hi Alan,

Sorry for not replying right away. Looks like I'm not on the binutils 
mailing list.

Thanks for looking at this patch!

If you are trying to tell me to define R_RELC in include/elf/mep.h using 
the RELOC_NUMBER macro, then I can do that. I'll post new patches for 
the affected files.

If you're trying to tell me that 0xff|255 is not a good value then I can 
change that as well.

Thanks,
Dave




More information about the Binutils mailing list