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 000b381c R_CRIS_32_TPREL x2814
17 000b4808 R_CRIS_32_TPREL x8188
19 000ba510 R_CRIS_32_TPREL x0
21 000bb80c R_CRIS_32_TPREL x1345
23 Contents of section .got:
24 b3810 98370b00 00000000 00000000 00000000 .*
25 b3820 00000000 00000000 00000000 00000000 .*
27 bb7f0 00000000 00000000 00000000 00000000 .*
28 bb800 00000000 00000000 00000000 00000000 .*