Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/gold/testsuite/arm_exidx_test.s
2023-03-06 14:48:14 +01:00

31 lines
622 B
ArmAsm

.syntax unified
.arch armv5te
.section .text.answer,"ax",%progbits
.align 2
.global answer
.type answer, %function
answer:
.fnstart
.cantunwind
mov r0, #42
bx lr
.fnend
.size answer, .-answer
# Check that we can handle an empty .text section
.section .text.empty,"ax",%progbits
.align 2
.global empty
.type empty, %function
empty:
.fnstart
.cantunwind
.fnend
.size empty, .-empty
# Check that no dynamic relocations for __exidx_start and __exidx_stop
# generated.
.data
.align 12
.word __exidx_start(got)
.word __exidx_end(got)