[commited] TILE-Gx/TILEPro: gas fix for accessing non-local symbol field
Walter Lee
walt@tilera.com
Sat Feb 25 22:42:00 GMT 2012
This patch fixes a regression from change
http://sourceware.org/ml/binutils-cvs/2012-01/msg00049.html . The
code needs to check that the symbol is not a local symbol before
accessing a non-local-symbol field. The patch has been tested
natively on both architectures and fixes the regression from that
change.
Walter
* tc-tilepro.c (emit_tilepro_instruction): Check if symbol is
non-local before checking sy_value.
* tc-tilegx.c (emit_tilegx_instruction): Ditto.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 04.patch.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20120225/410ea5d8/attachment.txt>
More information about the Binutils
mailing list