summaryrefslogtreecommitdiffstats
path: root/ld/testsuite/ld-sh/sh64/gotplt.d
blob: 3339a655f968f1a0c4493d3e5e27f08ecee7dd44 (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 0x3fc contains 1 entries:
 Offset     Info    Type            Sym\.Value  Sym\. Name \+ Addend
0000052c  000000a5 R_SH_RELATIVE                                00000408
OpenPOWER on IntegriCloud