ELF: Don't check relocations in non-loaded, non-alloced sections
[deliverable/binutils-gdb.git] / ld / testsuite / ld-powerpc / tocsave1.s
CommitLineData
81209eff
AM
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.178944 seconds and 4 git commands to generate.