ld/
commit82f67c426bca80cfe296534c9ccaca6e214b690d
authorH.J. Lu <hjl@lucon.org>
Mon, 2 Apr 2007 16:32:04 +0000 (2 16:32 +0000)
committerH.J. Lu <hjl@lucon.org>
Mon, 2 Apr 2007 16:32:04 +0000 (2 16:32 +0000)
tree5a1beb7d43353e5b4eadf049d2f4ece72c50dcfe
parent47cc1b03ced563395b018f3cf17012782487c844
ld/

2007-04-02  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4090
* ldexp.h (node_type): Add lineno.
* ldexp.c: Include "ldlex.h".
(exp_intop): Set the lineno field from lineno.
(exp_bigintop): Likewise.
(exp_relop): Likewise.
(exp_nameop): Likewise.
(exp_binop): Set the lineno field from lineno of lhs.
(exp_trinop): Likewise.
(exp_unop): Set the lineno field from lineno of child.
(exp_assop): Set the lineno field from lineno of src.
(exp_provide): Likewise.
(exp_assert): Set the lineno field from lineno of exp.
(exp_get_abs_int): Set lineno from lineno of nonconstant
expression when report problem.

ld/testsuite/

2007-04-02  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4090
* ld-elf/expr1.d: New file.
* ld-elf/expr1.s: Likewise.
* ld-elf/expr1.t: Likewise.
ld/ChangeLog
ld/ldexp.c
ld/ldexp.h
ld/testsuite/ChangeLog
ld/testsuite/ld-elf/expr1.d [new file with mode: 0644]
ld/testsuite/ld-elf/expr1.s [new file with mode: 0644]
ld/testsuite/ld-elf/expr1.t [new file with mode: 0644]