]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/testsuite/gas/arm/section-execute-only.s
9d5ffc64e29e0a01604116a57829a1b2fc98f7e8
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / arm / section-execute-only.s
1 .syntax unified
2 .cpu cortex-m3
3 .fpu softvfp
4 .eabi_attribute 20, 1
5 .eabi_attribute 21, 1
6 .eabi_attribute 23, 3
7 .eabi_attribute 24, 1
8 .eabi_attribute 25, 1
9 .eabi_attribute 26, 1
10 .eabi_attribute 30, 2
11 .eabi_attribute 34, 1
12 .eabi_attribute 18, 4
13 .thumb
14 .section .text.foo,"axy",%progbits
15 .align 2
16 .global foo
17 .thumb
18 .thumb_func
19 .type foo, %function
20 foo:
21 @ args = 0, pretend = 0, frame = 0
22 @ frame_needed = 0, uses_anonymous_args = 0
23 @ link register save eliminated.
24 movs r0, #1
25 movs r1, #1
26 movw r2, #257
27 movs r3, #1
28 b madd
29 .size foo, .-foo
30