mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
f224a3c590
2016-06-28 Igor Kudrin <ikudrin@accesssoftek.com> gold/ PR gold/18098 * script-c.h (Sort_wildcard): Add SORT_WILDCARD_BY_INIT_PRIORITY. * script-sections.cc (Input_section_sorter::get_init_priority): New method. (Input_section_sorter::operator()): Handle SORT_WILDCARD_BY_INIT_PRIORITY. (Output_section_element_input::print): Likewise. * script.cc (script_keyword_parsecodes): Add entry SORT_BY_INIT_PRIORITY. * yyscript.y (SORT_BY_INIT_PRIORITY): New token. (wildcard_section): Handle SORT_BY_INIT_PRIORITY. * testsuite/Makefile.am (script_test_14): New test. * testsuite/Makefile.in: Regenerate. * testsuite/script_test_14.s: New test source file. * testsuite/script_test_14.sh: New test script. * testsuite/script_test_14.t: New test linker script.
60 lines
917 B
ArmAsm
60 lines
917 B
ArmAsm
.section .init_array.101,"aw"
|
|
.byte 0x01
|
|
|
|
.section .init_array.103,"aw"
|
|
.byte 0x04
|
|
|
|
.section .init_array,"aw"
|
|
.byte 0x00
|
|
|
|
.section .init_array.0103,"aw"
|
|
.byte 0x03
|
|
|
|
.section .fini_array.101,"aw"
|
|
.byte 0xf1
|
|
|
|
.section .fini_array.103,"aw"
|
|
.byte 0xf4
|
|
|
|
.section .fini_array,"aw"
|
|
.byte 0xf0
|
|
|
|
.section .fini_array.0103,"aw"
|
|
.byte 0xf3
|
|
|
|
.section .ctors.101,"aw"
|
|
.byte 0xc1
|
|
|
|
.section .ctors.103, "aw"
|
|
.byte 0xc4
|
|
|
|
.section .ctors,"aw"
|
|
.byte 0xc0
|
|
|
|
.section .ctors.0103,"aw"
|
|
.byte 0xc3
|
|
|
|
.section .dtors.101,"aw"
|
|
.byte 0xd1
|
|
|
|
.section .dtors.103,"aw"
|
|
.byte 0xd4
|
|
|
|
.section .dtors,"aw"
|
|
.byte 0xd0
|
|
|
|
.section .dtors.0103,"aw"
|
|
.byte 0xd3
|
|
|
|
.section .sec.101,"aw"
|
|
.byte 0xa1
|
|
|
|
.section .sec.103,"aw"
|
|
.byte 0xa4
|
|
|
|
.section .sec,"aw"
|
|
.byte 0xa0
|
|
|
|
.section .sec.0103,"aw"
|
|
.byte 0xa3
|