[Xtensa] avoid extra entries in literal tables
Bob Wilson
bwilson@tensilica.com
Tue Apr 25 17:14:00 GMT 2006
The Xtensa literal tables (e.g., .xt.lit sections) are not relevant for
"absolute-mode" literals (e.g., in .lit4 sections), but in some cases, literal
table entries were being generated for them anyway. This patch changes GAS so
that the "is_literal" flag is only set by the mark_literal_frags() function.
Tested with an xtensa-elf target and committed on the mainline and 2.17 branch.
2006-04-25 Bob Wilson <bob.wilson@acm.org>
* config/tc-xtensa.c (xtensa_create_literal_symbol,
xg_assemble_literal, xg_assemble_literal_space): Do not set the
frag's is_literal flag.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gas-lit-tab.diff
Type: text/x-patch
Size: 1472 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20060425/953300d1/attachment.bin>
More information about the Binutils
mailing list