RISC-V: The object without priv spec attributes can be linked with any object.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-powerpc / tocsave1.s
1 .abiversion 1
2 .global _start
3 .type _start,@function
4 .section ".opd","aw",@progbits
5 .p2align 3
6 _start:
7 .quad .L_start, .TOC.@tocbase, 0
8
9 .text
10 .L_start:
11 nop
12 .L1:
13 # tocsave in a function prologue
14 .reloc .,R_PPC64_TOCSAVE,.L1
15 nop
16
17 nop
18 # tocsave on a call
19 bl foo
20 .reloc .,R_PPC64_TOCSAVE,.L1
21 nop
22
23 blr
24 .size _start, .-.L_start
This page took 0.031149 seconds and 4 git commands to generate.