[ARM] FDPIC: Implement Thumb-only PLT for FDPIC.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-arm / fdpic-shared-m.s
CommitLineData
59029f57
CL
1 .arch armv7-m
2 .eabi_attribute 20, 1
3 .eabi_attribute 21, 1
4 .eabi_attribute 23, 3
5 .eabi_attribute 24, 1
6 .eabi_attribute 25, 1
7 .eabi_attribute 26, 2
8 .eabi_attribute 30, 2
9 .eabi_attribute 34, 1
10 .eabi_attribute 18, 4
11 .file "shared.c"
12 .text
13 .align 2
14 .global my_shared_func1
15 .syntax unified
16 .thumb
17 .fpu softvfp
18 .type my_shared_func1, %function
19my_shared_func1:
20 @ args = 0, pretend = 0, frame = 0
21 @ frame_needed = 0, uses_anonymous_args = 0
22 @ link register save eliminated.
23 bx lr
24 .size my_shared_func1, .-my_shared_func1
25 .align 2
26 .global my_shared_func3
27 .syntax unified
28 .thumb
29 .fpu softvfp
30 .type my_shared_func3, %function
31my_shared_func3:
32 @ args = 0, pretend = 0, frame = 0
33 @ frame_needed = 0, uses_anonymous_args = 0
34 @ link register save eliminated.
35 mov r0, #0
36 bx lr
37 .size my_shared_func3, .-my_shared_func3
38 .align 2
39 .global my_shared_func2
40 .syntax unified
41 .thumb
42 .fpu softvfp
43 .type my_shared_func2, %function
44my_shared_func2:
45 @ args = 0, pretend = 0, frame = 0
46 @ frame_needed = 0, uses_anonymous_args = 0
47 push {r4, lr}
48 mov r4, r9
49 bl my_shared_func3(PLT)
50 mov r9, r4
51 pop {r4, pc}
52 .size my_shared_func2, .-my_shared_func2
This page took 0.026075 seconds and 4 git commands to generate.