1 #source: tls-gottprelm.s --defsym r=8189
2 #as: --no-underscore --em=criself --pic
3 #ld: --shared -m crislinux --hash-style=sysv
4 #objdump: -s -j .got -R
6 # Check that a R_CRIS_16_DTPREL just below the theoretical limit
7 # works. Verify that the first and last R_CRIS_16_GOT_TPREL entries
8 # are ok, in a DSO. Beware, the order here is quite random,
9 # supposedly depending on symbol hashes.
11 .*: file format elf32-cris
13 DYNAMIC RELOCATION RECORDS
15 000b3870 R_CRIS_32_TPREL x2814
17 000b485c R_CRIS_32_TPREL x8188
19 000ba564 R_CRIS_32_TPREL x0
21 000bb860 R_CRIS_32_TPREL x1345
23 Contents of section .got:
24 b3864 ec370b00 00000000 00000000 00000000 .*
25 b3874 00000000 00000000 00000000 00000000 .*
27 bb844 00000000 00000000 00000000 00000000 .*
28 bb854 00000000 00000000 00000000 00000000 .*