1 # thumb_bl_out_of_range.s
2 # Test THUMB/THUMB-2 bl instructions just out of the branch range limits.
7 # Add padding so that target is just output of branch range.
10 .global _backward_target
13 .type _backword_target, %function
16 .size _backward_target, .-_backward_target
19 # Use 256-byte alignment so that we know where the stubs start.
22 # Define _start so that linker does not complain.
26 .type _start, %function
29 .size _start, .-_start
31 .global _backward_test
34 .type _backward_test, %function
37 .size _backward_test, .-_backward_test
42 .type _forward_test, %function
45 .size _forward_test, .-_forward_test
47 # switch back to ARM mode so that stubs are disassembled correctly.
51 # Align stub table for address matching.
54 .section .text.post,"x"
56 # Add padding so that target is just out of branch range.
59 .global _forward_target
62 .type _forward_target, %function
65 .size _forward_target, .-_forward_target