Retro68/binutils/gold/testsuite/arm_exidx_test.s

32 lines
622 B
ArmAsm
Raw Normal View History

.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)