mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-22 07:53:36 +08:00
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.
This commit is contained in:
parent
aa8a70744d
commit
0d0999db2f
@ -1,3 +1,9 @@
|
||||
2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR ld/3009
|
||||
* ldlang.c (update_wild_statements): Update the whole wild
|
||||
section list.
|
||||
|
||||
2006-08-04 Nick Clifton <nickc@redhat.com>
|
||||
Mike Frysinger <michael.frysinger@analog.com>
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -1,3 +1,12 @@
|
||||
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.
|
||||
|
||||
2006-08-05 Pedro Alves <pedro_alves@portugalmail.pt>
|
||||
|
||||
* ld-pe/pe.exp: Enable tests on arm-wince-pe.
|
||||
|
5
ld/testsuite/ld-scripts/sort.t
Normal file
5
ld/testsuite/ld-scripts/sort.t
Normal file
@ -0,0 +1,5 @@
|
||||
SECTIONS
|
||||
{
|
||||
.text : {*(.text .text.*)}
|
||||
/DISCARD/ : { *(.*) }
|
||||
}
|
9
ld/testsuite/ld-scripts/sort_b_a-1.d
Normal file
9
ld/testsuite/ld-scripts/sort_b_a-1.d
Normal file
@ -0,0 +1,9 @@
|
||||
#source: sort_b_a-1.s
|
||||
#ld: -T sort.t --sort-section alignment
|
||||
#name: --sort-section alignment
|
||||
#nm: -n
|
||||
|
||||
0[0-9a-f]* t text3
|
||||
0[0-9a-f]* t text1
|
||||
0[0-9a-f]* t text
|
||||
0[0-9a-f]* t text2
|
16
ld/testsuite/ld-scripts/sort_b_a-1.s
Normal file
16
ld/testsuite/ld-scripts/sort_b_a-1.s
Normal file
@ -0,0 +1,16 @@
|
||||
.section .text.2
|
||||
.p2align 3
|
||||
text2:
|
||||
.long 0
|
||||
.section .text.3
|
||||
.p2align 6
|
||||
text3:
|
||||
.long 0
|
||||
.section .text.1
|
||||
.p2align 5
|
||||
text1:
|
||||
.long 0
|
||||
.text
|
||||
text:
|
||||
.p2align 4
|
||||
.long 0
|
9
ld/testsuite/ld-scripts/sort_b_n-1.d
Normal file
9
ld/testsuite/ld-scripts/sort_b_n-1.d
Normal file
@ -0,0 +1,9 @@
|
||||
#source: sort_b_n-1.s
|
||||
#ld: -T sort.t --sort-section name
|
||||
#name: --sort-section name
|
||||
#nm: -n
|
||||
|
||||
0[0-9a-f]* t text
|
||||
0[0-9a-f]* t text1
|
||||
0[0-9a-f]* t text2
|
||||
0[0-9a-f]* t text3
|
12
ld/testsuite/ld-scripts/sort_b_n-1.s
Normal file
12
ld/testsuite/ld-scripts/sort_b_n-1.s
Normal file
@ -0,0 +1,12 @@
|
||||
.section .text.2
|
||||
text2:
|
||||
.long 0
|
||||
.section .text.3
|
||||
text3:
|
||||
.long 0
|
||||
.section .text.1
|
||||
text1:
|
||||
.long 0
|
||||
.text
|
||||
text:
|
||||
.long 0
|
Loading…
Reference in New Issue
Block a user