1 # thumb_bl_out_of_range_local.s
2 # Test THUMB/THUMB-2 bl instructions just out of the branch range limits
3 # and with local branch targets.
8 # Add padding so that target is just output of branch range.
13 .type .Lbackward_target, %function
16 .size .Lbackward_target, .-.Lbackward_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 we can see stubs
51 # Align stub table for address matching.
54 .section .text.post,"x"
56 # Add padding so that target is just out of branch range.
61 .type .Lforward_target, %function
64 .size .Lforward_target, .-.Lforward_target