01bbed2a55
* ld-x86-64/copyreloc-main.c: Removed. * ld-x86-64/copyreloc-main.S: New. * ld-x86-64/x86-64.exp: Replace copyreloc-main.c with copyreloc-main.S.
16 lines
256 B
ArmAsm
16 lines
256 B
ArmAsm
.section .text.startup,"ax",@progbits
|
|
.p2align 4,,15
|
|
.globl main
|
|
.type main, @function
|
|
main:
|
|
.LFB0:
|
|
.cfi_startproc
|
|
xorl %eax, %eax
|
|
cmpl $2, a_glob(%rip)
|
|
setne %al
|
|
ret
|
|
.cfi_endproc
|
|
.LFE0:
|
|
.size main, .-main
|
|
.section .note.GNU-stack,"",@progbits
|