Fix regression from change
commit9c98a51527f335fbeedad6b3b33554b773c8b318
authorwalt <walt>
Sat, 25 Feb 2012 22:40:48 +0000 (25 22:40 +0000)
committerwalt <walt>
Sat, 25 Feb 2012 22:40:48 +0000 (25 22:40 +0000)
tree7d9981abfb53637c7f706e0141f339333f31e943
parent29c470fbb6ec3332f65abfccd1afa44bcfa42df4
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