binutils-gdb/ld/testsuite/ld-x86-64/copyreloc-main.S
H.J. Lu 01bbed2a55 Replace copyreloc-main.c with copyreloc-main.S
* 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.
2014-12-03 08:52:00 -08:00

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