[arm] Don't "adjust" EABI relocations

Paul Brook paul@codesourcery.com
Tue Nov 30 15:57:00 GMT 2004


The patch below prevents the linker applying the 8-byte pc offset adjustment 
to relocations in new eabi objects. These can have an EI_OSABI of zero.

It's unclear which "old" toolchains get this wrong. Is this the now-dead 
arm-elf-oabi configuration? If so I'll just rip the whole thing out.

Tested cross to arm-none-{elf,eabi} and built --enable-targets=all.
Ok?

Paul

2004-11-30  Paul Brook  <paul@codesourcery.com>

 * elf32-arm.c (elf32_arm_final_link_relocate): Don't adjust
 relocations in new EABI objects.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.binutils_osabi
Type: text/x-diff
Size: 578 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20041130/c80db2c1/attachment.bin>


More information about the Binutils mailing list