OSDN Git Service

ld/
authorhjl <hjl>
Mon, 2 Apr 2007 16:32:03 +0000 (16:32 +0000)
committerhjl <hjl>
Mon, 2 Apr 2007 16:32:03 +0000 (16:32 +0000)
commita43183208dfa4a4413438e2314205b9bfe88cb01
tree848302faf1f6f0ed78903bb870bff937cede52f4
parente1a3269ed8468118a84a54de8c94299aeae49049
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]