mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
9ed0136bff
Many targets fail this test due to -z noseparate-code not being supported, or _start not being the proper entry symbol, or "as -g" something other than "generate debug". PR 26936 * testsuite/ld-elf/pr26936.d: Pass --gen-debug to gas rather than -g. Only run when -shared -z options are supported. * testsuite/ld-elf/pr26936b.s: Define more entry symbols.
24 lines
465 B
ArmAsm
24 lines
465 B
ArmAsm
.text
|
|
.type start,"function"
|
|
.global start
|
|
start:
|
|
.type _start,"function"
|
|
.global _start
|
|
_start:
|
|
.type __start,"function"
|
|
.global __start
|
|
__start:
|
|
.type main,"function"
|
|
.global main
|
|
main:
|
|
.type _main,"function"
|
|
.global _main
|
|
_main:
|
|
.nop
|
|
.section .text.__x86.get_pc_thunk.bx,"axG",%progbits,__x86.get_pc_thunk.bx,comdat
|
|
.globl __x86.get_pc_thunk.bx
|
|
.hidden __x86.get_pc_thunk.bx
|
|
.type __x86.get_pc_thunk.bx, %function
|
|
__x86.get_pc_thunk.bx:
|
|
.nop
|