Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-x86-64/pr18815.s
2023-03-06 14:48:14 +01:00

15 lines
234 B
ArmAsm

.text
.type selector, %function
foo:
movl $0, %eax
ret
selector:
mov $foo, %eax
ret
.type selector, %gnu_indirect_function
.globl _start
_start:
mov $selector, %rax
call *%rax
ret
.section .note.GNU-stack,"",@progbits