aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-sh/sh64/gotplt.d
blob: 89a401a28ad1f23e02d9fe7c2f972f1cdcb36d00 (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 0x270 contains 1 entries:
 Offset     Info    Type            Sym\.Value  Sym\. Name \+ Addend
0000039c  000000a5 R_SH_RELATIVE                                0000027c