mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
eda680f805
ld/ PR ld/14156 * NEWS: Mention SORT_NONE. * ld.h (sort_type): Add by_none. * ld.texinfo: Document SORT_NONE. * ldgram.y: Handle SORT_NONE. * ldlang.c (update_wild_statements): Handle by_none. Don't sort .init/.fini sections. * ldlex.l: Add SORT_NONE. ld/testsuite/ PR ld/14156 * ld-elf/fini0.s: New file. * ld-elf/fini1.s: Likewise. * ld-elf/fini2.s: Likewise. * ld-elf/fini3.s: Likewise. * ld-elf/finin.s: Likewise. * ld-elf/foo0.s: Likewise. * ld-elf/foo1.s: Likewise. * ld-elf/foo2.s: Likewise. * ld-elf/foo3.s: Likewise. * ld-elf/foon.s: Likewise. * ld-elf/init0.s: Likewise. * ld-elf/init1.s: Likewise. * ld-elf/init2.s: Likewise. * ld-elf/init3.s: Likewise. * ld-elf/initn.s: Likewise. * ld-elf/pr14156a.d: Likewise. * ld-elf/pr14156b.d: Likewise. * ld-elf/pr14156c.d: Likewise. * ld-elf/pr14156c.t: Likewise.
16 lines
228 B
D
16 lines
228 B
D
#source: foo0.s
|
|
#source: foo1.s
|
|
#source: foo2.s
|
|
#source: foo3.s
|
|
#source: foon.s
|
|
#ld: --sort-section=alignment -T pr14156c.t
|
|
#nm: -n
|
|
|
|
#...
|
|
[0-9a-f]+ T foo
|
|
[0-9a-f]+ t foo1
|
|
[0-9a-f]+ t foo2
|
|
[0-9a-f]+ t foo3
|
|
[0-9a-f]+ t last
|
|
#pass
|