[Xtensa] fix GAS build with GCC 4.3

Bob Wilson bwilson@tensilica.com
Fri Apr 4 23:26:00 GMT 2008


H.J. forwarded to me a patch from Adrian Bunk to fix a problem building GAS for 
Xtensa with GCC 4.3.  There was a missing return code check that caused a 
warning, which was fatal with -Werror.  I simplified the patch slightly and 
committed it after verifying that I could build all of binutils for an 
xtensa-elf target with GCC 4.3.

Thanks Adrian and H.J.

2008-04-04  Adrian Bunk  <bunk@stusta.de>
	    Bob Wilson  <bob.wilson@acm.org>
	
	* config/tc-xtensa.c (xg_apply_fix_value): Check return code from
	call to decode_reloc.
	
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gas-gcc4.3.patch
Type: text/x-diff
Size: 671 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20080404/705ac1e5/attachment.bin>


More information about the Binutils mailing list