Call symbol_same_p to check to if 2 symbols are the same.
commit2dc135481bfba526071fb269b37267f712e3b2ed
authorH.J. Lu <hjl@lucon.org>
Tue, 8 Dec 2009 03:14:28 +0000 (8 03:14 +0000)
committerH.J. Lu <hjl@lucon.org>
Tue, 8 Dec 2009 03:14:28 +0000 (8 03:14 +0000)
tree4f6ec64429dad19ef41958e0b042314e16e504a5
parent351b7f1c5943d51b585d157015472c2b906ad745
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.
gas/ChangeLog
gas/expr.c
gas/symbols.c
gas/symbols.h
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/intelpic.d
gas/testsuite/gas/i386/intelpic.s