aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris/tls-ok-34.d
blob: ec2f7eea78b2bbc5632bdf916aaa610c9e749c6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#source: tls-gottprelm.s --defsym r=8189
#as: --no-underscore --em=criself --pic
#ld: --shared -m crislinux --hash-style=sysv
#objdump: -s -j .got -R

# Check that a R_CRIS_16_DTPREL just below the theoretical limit
# works.  Verify that the first and last R_CRIS_16_GOT_TPREL entries
# are ok, in a DSO.  Beware, the order here is quite random,
# supposedly depending on symbol hashes.

.*:     file format elf32-cris

DYNAMIC RELOCATION RECORDS
OFFSET +TYPE +VALUE
000b3808 R_CRIS_32_TPREL   x2814
#...
000b47f4 R_CRIS_32_TPREL   x8188
#...
000ba4fc R_CRIS_32_TPREL   x0
#...
000bb7f8 R_CRIS_32_TPREL   x1345

Contents of section .got:
 b37fc 84370b00 00000000 00000000 00000000  .*
 b380c 00000000 00000000 00000000 00000000  .*
#...
 bb7dc 00000000 00000000 00000000 00000000  .*
 bb7ec 00000000 00000000 00000000 00000000  .*