Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-elf/pr28158-2.S

17 lines
263 B
ArmAsm
Raw Normal View History

2023-03-06 14:48:14 +01:00
.text
.section .text.startup,"ax",@progbits
.p2align 4
.globl main
.type main, @function
main:
.cfi_startproc
#ifdef __x86_64__
movl foo(%rip), %eax
#else
movl foo, %eax
#endif
ret
.cfi_endproc
.size main, .-main
.section .note.GNU-stack,"",@progbits