Define various symbols conditionally in shared libraries
[deliverable/binutils-gdb.git] / ld / testsuite / ld-cris / tls-js1.d
CommitLineData
f5c9470c
HPN
1#source: dsov32-1.s
2#source: tls-ld-4.s
3#source: dsov32-2.s
4#source: expdyn1.s
5#source: tls-hx.s
6#source: dso-1.s
7#as: --pic --no-underscore --em=criself --march=v32
c7dffc39 8#ld: --shared -m crislinux --hash-style=sysv
f5c9470c
HPN
9#readelf: -a
10
11# DSO with a R_CRIS_16_DTPREL and a R_CRIS_32_PLT_PCREL. The .got.plt
12# byte index (a) and .rela.plt item index (b) are in sync as b=a/4-3
13# *except* when there's a R_CRIS_DTPMOD, because while the relocated
14# contents goes in .got.plt, the relocation goes in .rela.got, not
15# .rela.plt. And, it'd cover 8 bytes in .got.plt, not 4 bytes.
16# Making sure .rela.plt has the right contents; no R_CRIS_NONE entries.
17
18#...
fd161d86 19 .* .got[ ]+PROGBITS[ ]+0+22f8 0+2f8 0+20 04 WA 0 0 4
f5c9470c 20#...
fd161d86 21Relocation section '\.rela\.dyn' at offset 0x1bc contains 2 entries:
f5c9470c 22 Offset Info Type Sym\.Value Sym\. Name \+ Addend
fd161d86
AM
2300002304 0000001e R_CRIS_DTPMOD +0
2400002314 0000050a R_CRIS_GLOB_DAT 00002318 expobj \+ 0
f5c9470c 25
fd161d86 26Relocation section '\.rela\.plt' at offset 0x1d4 contains 2 entries:
f5c9470c 27 Offset Info Type Sym\.Value Sym\. Name \+ Addend
fd161d86
AM
280000230c 0000030b R_CRIS_JUMP_SLOT 00000246 dsofn4 \+ 0
2900002310 0000090b R_CRIS_JUMP_SLOT 0000025e dsofn \+ 0
f5c9470c 30
65fc367b 31The decoding of unwind sections for machine type Axis Communications 32-bit embedded processor is not currently supported.
f5c9470c 32#pass
This page took 0.432813 seconds and 4 git commands to generate.