[Xtensa] change to avoid aborting on undefined symbol
Bob Wilson
bwilson@tensilica.com
Thu Apr 10 19:25:00 GMT 2003
The relocate_section function for Xtensa used to immediately skip to the next
relocation after finding an undefined symbol. This was done to avoid extra
error messages resulting from trying to perform the relocation with a value
of zero. However, for dynamic links, it skipped emitting the dynamic
relocation and broke a subsequent check that the number of dynamic
relocations matched the expected count.
I've committed the following patch which changes the code to set a flag to
inhibit subsequent error messages and still continue to emit the dynamic
relocation.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bfd-no-abort-undef.diff
Type: text/x-diff
Size: 1796 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20030410/b2e0e3df/attachment.bin>
More information about the Binutils
mailing list