diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2006-08-08 15:07:16 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2006-08-08 15:07:16 +0000 |
commit | 0d0999db2fc508c13cb6b9a7d4edef119d2c2d8d (patch) | |
tree | c430302873371c9cc5a912a26b3648abacaaea8a /ld/ldlang.c | |
parent | aa8a70744d67552f59f23834bc7d3d5cd888127b (diff) | |
download | gdb-0d0999db2fc508c13cb6b9a7d4edef119d2c2d8d.zip gdb-0d0999db2fc508c13cb6b9a7d4edef119d2c2d8d.tar.gz gdb-0d0999db2fc508c13cb6b9a7d4edef119d2c2d8d.tar.bz2 |
ld/
2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3009
* ldlang.c (update_wild_statements): Update the whole wild
section list.
ld/testsuite/
2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3009
* ld-scripts/sort.t: New file.
* ld-scripts/sort_b_a-1.d: Likewise.
* ld-scripts/sort_b_a-1.s: Likewise.
* ld-scripts/sort_b_n-1.d: Likewise.
* ld-scripts/sort_b_n-1.s: Likewise.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r-- | ld/ldlang.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c index 73d4053..51dfe36 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -3157,7 +3157,8 @@ update_wild_statements (lang_statement_union_type *s) case lang_wild_statement_enum: sec = s->wild_statement.section_list; - if (sec != NULL) + for (sec = s->wild_statement.section_list; sec != NULL; + sec = sec->next) { switch (sec->spec.sorted) { |