summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/testsuite/ld-sh/sh64/gotplt.d
blob: 5822326d32fe5cee0b83eb4538dec9c39777e463 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#source: gotplt.s
#as: --abi=32 --isa=SHmedia
#ld: -shared -mshelf32 --version-script=$srcdir/$subdir/gotplt.map
#readelf: -r
#target: sh64-*-elf

# Make sure that gotplt relocations of forced local symbols
# use the GOT.

Relocation section '\.rela\.dyn' at offset .* contains 1 entries:
 Offset     Info    Type            Sym\.Value  Sym\. Name \+ Addend
[0-9a-f ]+R_SH_RELATIVE[0-9a-f ]+