mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
e95bc8bb1d
This gets rid of the couple of linker failures for visium-elf: FAIL: ld-elf/pr14156b FAIL: ld-elf/pr22677 by tweaking the respective testcases. The first tweak is the same as the one made to the sibling testcase ld-elf/pr14156a.d about one year ago and the second tweak adds the usual main/start/_start/__start symbols. ld/ * testsuite/ld-elf/pr14156b.d: Adjust for extra symbols. * testsuite/ld-elf/pr22677.s: Define main/start/_start/__start.
25 lines
328 B
ArmAsm
25 lines
328 B
ArmAsm
.section .preinit_array.01000,"aw",%preinit_array
|
|
.p2align 2
|
|
.word 0
|
|
|
|
.section .init_array.01000,"aw",%init_array
|
|
.p2align 2
|
|
.word 0
|
|
|
|
.section .fini_array.01000,"aw",%fini_array
|
|
.p2align 2
|
|
.word 0
|
|
|
|
.globl main
|
|
.globl start
|
|
.globl _start
|
|
.globl __start
|
|
.globl foo
|
|
.text
|
|
main:
|
|
start:
|
|
_start:
|
|
__start:
|
|
foo:
|
|
.word 0
|