Call symbol_same_p to check to if 2 symbols are the same.
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 8 Dec 2009 03:14:29 +0000 (03:14 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 8 Dec 2009 03:14:29 +0000 (03:14 +0000)
commit087d837e042af03a607f1974d32929a129eef806
tree485a4e264529fd2cd797e99ccf66acb04158ac97
parent34207b9e417f37181ff48204e4cbf06403f39329
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