diff options
author | H.J. Lu <hjl@lucon.org> | 2009-12-08 03:14:28 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2009-12-08 03:14:28 +0000 |
commit | 2dc135481bfba526071fb269b37267f712e3b2ed (patch) | |
tree | 4f6ec64429dad19ef41958e0b042314e16e504a5 /gas/symbols.h | |
parent | 351b7f1c5943d51b585d157015472c2b906ad745 (diff) | |
download | binutils-redhat-2dc135481bfba526071fb269b37267f712e3b2ed.tar.gz |
Call symbol_same_p to check to if 2 symbols are the same.
gas/
2009-12-07 H.J. Lu <hongjiu.lu@intel.com>
PR gas/11037
* expr.c (resolve_expression): Call symbol_same_p to check
if 2 symbols are the same.
* symbols.c (symbol_same_p): New.
* symbols.h (symbol_same_p): Likewise.
gas/testsuite/
2009-12-07 H.J. Lu <hongjiu.lu@intel.com>
PR gas/11037
* gas/i386/intelpic.s: Add testcases.
* gas/i386/intelpic.d: Updated.
Diffstat (limited to 'gas/symbols.h')
-rw-r--r-- | gas/symbols.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/symbols.h b/gas/symbols.h index 19f58c6f8f..377a130074 100644 --- a/gas/symbols.h +++ b/gas/symbols.h @@ -198,6 +198,7 @@ extern int symbol_constant_p (symbolS *); extern int symbol_shadow_p (symbolS *); extern asymbol *symbol_get_bfdsym (symbolS *); extern void symbol_set_bfdsym (symbolS *, asymbol *); +extern int symbol_same_p (symbolS *, symbolS *); #ifdef OBJ_SYMFIELD_TYPE OBJ_SYMFIELD_TYPE *symbol_get_obj (symbolS *); |