OSDN Git Service

* ldexp.c (assigning_to_dot): New global flag.
authorzack <zack>
Thu, 17 Feb 2005 20:56:58 +0000 (20:56 +0000)
committerzack <zack>
Thu, 17 Feb 2005 20:56:58 +0000 (20:56 +0000)
commitbeb75a6fe5fdda24420afdf3634615270fc555dd
treeab337c7496099da01be7350d5315dd697bf4cc80
parent37d46c0c9f3c9d66ddea71536f1787aa5d798d34
* ldexp.c (assigning_to_dot): New global flag.
(fold_name): If assigning_to_dot is true, object immediately to
an undefined symbol.
(exp_fold_tree): Set and clear assigning_to_dot around the
recursive call to exp_fold_tree to process the right-hand side
of an assignment to the location counter.
testsuite:
* ld-scripts/align.exp: Rename existing "ALIGN" test to "align1".
Add dump tests "align2a", "align2b", "align2c".
* ld-scripts/align2.t, ld-scripts/align2a.s, ld-scripts/align2a.d
* ld-scripts/align2b.s, ld-scripts/align2b.d
* ld-scripts/align2c.s, ld-scripts/align2c.d: New files.
ld/ChangeLog
ld/ldexp.c
ld/testsuite/ChangeLog
ld/testsuite/ld-scripts/align.exp
ld/testsuite/ld-scripts/align2.t [new file with mode: 0644]
ld/testsuite/ld-scripts/align2a.d [new file with mode: 0644]
ld/testsuite/ld-scripts/align2a.s [new file with mode: 0644]
ld/testsuite/ld-scripts/align2b.d [new file with mode: 0644]
ld/testsuite/ld-scripts/align2b.s [new file with mode: 0644]
ld/testsuite/ld-scripts/align2c.d [new file with mode: 0644]
ld/testsuite/ld-scripts/align2c.s [new file with mode: 0644]