diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2009-12-08 03:14:29 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2009-12-08 03:14:29 +0000 |
commit | 087d837e042af03a607f1974d32929a129eef806 (patch) | |
tree | 485a4e264529fd2cd797e99ccf66acb04158ac97 /gas/symbols.h | |
parent | 34207b9e417f37181ff48204e4cbf06403f39329 (diff) | |
download | gdb-087d837e042af03a607f1974d32929a129eef806.zip gdb-087d837e042af03a607f1974d32929a129eef806.tar.gz gdb-087d837e042af03a607f1974d32929a129eef806.tar.bz2 |
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 19f58c6..377a130 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 *); |