From f856040accecf254a5130936e69218ed935711a6 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 2 Apr 2007 16:32:04 +0000 Subject: ld/ 2007-04-02 H.J. Lu 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 PR ld/4090 * ld-elf/expr1.d: New file. * ld-elf/expr1.s: Likewise. * ld-elf/expr1.t: Likewise. --- ld/testsuite/ld-elf/expr1.s | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 ld/testsuite/ld-elf/expr1.s (limited to 'ld/testsuite/ld-elf/expr1.s') diff --git a/ld/testsuite/ld-elf/expr1.s b/ld/testsuite/ld-elf/expr1.s new file mode 100644 index 0000000..998bbc0 --- /dev/null +++ b/ld/testsuite/ld-elf/expr1.s @@ -0,0 +1,4 @@ + .section .bar,"ax","progbits" + .byte 0 + .section .foo,"aw","progbits" + .byte 0 -- cgit v1.1