x86-64: Use $NOPIE_LDFLAGS/$NOPIE_CFLAGS on protected-func-1
[deliverable/binutils-gdb.git] / ld / testsuite / ld-msp430-elf / main-with-text-rodata-unique-sec.s
1 .file "main-with-text-rodata.c"
2 .global glob_const_array
3 .section .rodata.glob_const_array,"a",@progbits
4 .balign 2
5 .type glob_const_array, @object
6 .size glob_const_array, 20
7 glob_const_array:
8 .short 0
9 .short 1
10 .short 2
11 .short 3
12 .short 4
13 .short 5
14 .short 6
15 .short 7
16 .short 8
17 .short 9
18 .section .text.main,"ax",@progbits
19 .balign 2
20 .global main
21 .type main, @function
22 main:
23 ; start of function
24 ; framesize_regs: 0
25 ; framesize_locals: 2
26 ; framesize_outgoing: 0
27 ; framesize: 2
28 ; elim ap -> fp 2
29 ; elim fp -> sp 2
30 ; saved regs:(none)
31 ; start of prologue
32 SUB.W #2, R1
33 ; end of prologue
34 MOV.W #0, @R1
35 BR #.L2
36 .L5:
37 MOV.W @R1, R12
38 ADD.W R12, R12
39 ADD.W #glob_const_array, R12
40 MOV.W @R12, R13
41 MOV.W R13, R12
42 ADD.W R12, R12
43 ADD.W R13, R12
44 rpt #2 { rlax.w R12
45 SUB.W R13, R12
46 CMP.W #110, R12 { JNE .L3
47 .L4:
48 BR #.L4
49 .L3:
50 ADD.W #1, @R1
51 .L2:
52 MOV.B #9, R12
53 CMP.W @R1, R12 { JGE .L5
54 MOV.B #0, R12
55 ; start of epilogue
56 .refsym __crt0_call_exit
57 ADD.W #2, R1
58 RET
59 .size main, .-main
This page took 0.03063 seconds and 4 git commands to generate.