diff options
author | Zack Weinberg <zackw@panix.com> | 2005-02-17 20:57:01 +0000 |
---|---|---|
committer | Zack Weinberg <zackw@panix.com> | 2005-02-17 20:57:01 +0000 |
commit | fbbb9ac52fc2cca745356239a4a1e7cd11539c11 (patch) | |
tree | aed50b6745b6a6128c9330639bccba8ef9fef294 /gdb/utils.c | |
parent | f397e30345ade7e6fcdf186693715ca227508511 (diff) | |
download | binutils-fbbb9ac52fc2cca745356239a4a1e7cd11539c11.zip binutils-fbbb9ac52fc2cca745356239a4a1e7cd11539c11.tar.gz binutils-fbbb9ac52fc2cca745356239a4a1e7cd11539c11.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/utils.c')
0 files changed, 0 insertions, 0 deletions