fix Xtensa --text-section-literals option for GNU/Linux

Bob Wilson bwilson@tensilica.com
Mon Mar 6 19:16:00 GMT 2006
It appears that I broke the Xtensa assembler's --text-section-literals option 
for GNU/Linux over a year ago.  I changed the linker to require that all dynamic 
relocations be inside marked literal pools, but the assembler has not been 
marking those literal pools when using the --text-section-literals option.  This 
patch simply changes gas to always mark the literal pools.  Tested by linking a 
small program built with --text-section-literals for an xtensa-linux target, and 
also by running the testsuite for an xtensa-elf target.  Committed on the mainline.

2006-03-06  Bob Wilson  <bob.wilson@acm.org>

	* config/tc-xtensa.c (xtensa_post_relax_hook): Generate literal tables
	even when using the text-section-literals option.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gas-lit-tables.diff
Type: text/x-patch
Size: 803 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20060306/794fff97/attachment.bin>


More information about the Binutils mailing list