minor optimization for Xtensa BFD
Bob Wilson
bwilson@tensilica.com
Fri Oct 5 18:20:00 GMT 2007
This patch avoids some redundant iteration over lists and generally cleans up a
few bits of code. Committed on trunk.
2007-10-05 Bob Wilson <bob.wilson@acm.org>
* elf32-xtensa.c (removed_by_actions): New.
(offset_with_removed_text): Reimplement using removed_by_actions.
(offset_with_removed_text_before_fill): Delete.
(relax_property_section): Use removed_by_actions. Rearrange logic.
(relax_section_symbols): Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bfd-offset-fn.patch
Type: text/x-diff
Size: 7062 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20071005/267c096f/attachment.bin>
More information about the Binutils
mailing list