OSDN Git Service

Fixed handling of MICROBLAZE_32 reloc type. The mb-gcc distributes
authorDavid McCullough <davidm@snapgear.com>
Tue, 29 Jul 2003 10:47:48 +0000 (10:47 +0000)
committerDavid McCullough <davidm@snapgear.com>
Tue, 29 Jul 2003 10:47:48 +0000 (10:47 +0000)
commit43be9f53f352c723a283c3a147dddded85456a13
treec7b26c0230b2f4ee15eea8d77ad973ff1a58c3be
parent5ff2c46798ed6a86cf57aaf9b7cb42de4de398e9
Fixed handling of MICROBLAZE_32 reloc type.  The mb-gcc distributes
relocations across several places - the "standard" ones such as
q->addend and bfd_section_vma(), but also embeds small offsets in the
actual text (code) itself.  Thus, it is necessary to examine the text to
get an initial offset, then add that to the others to get the final
fixup location.

This is required for at least MICROBLAZE_64 and MICROBLAZE_32 - others
may also need it.

Patch from John Williams <jwilliams@itee.uq.edu.au>
elf2flt.c