Fix regression from change
authorWalter Lee <walt@tilera.com>
Sat, 25 Feb 2012 22:40:48 +0000 (22:40 +0000)
committerWalter Lee <walt@tilera.com>
Sat, 25 Feb 2012 22:40:48 +0000 (22:40 +0000)
commit481fe810e480dc19f9950511a1aebb37d39aa051
tree68ec595923e458e6605c1703fa8451734db795c9
parent6f7be9592d58646e9ff66e125068691f1e830cc0
Fix 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.

* tc-tilepro.c (emit_tilepro_instruction): Check if symbol is
non-local before checking sy_value.
* tc-tilegx.c (emit_tilegx_instruction): Ditto.
gas/ChangeLog
gas/config/tc-tilegx.c
gas/config/tc-tilepro.c