Commit | Line | Data |
---|---|---|
bcae4342 HPN |
1 | #source: tls-gottprelm.s --defsym r=8189 |
2 | #as: --no-underscore --em=criself --pic | |
c7dffc39 | 3 | #ld: --shared -m crislinux --hash-style=sysv |
bcae4342 HPN |
4 | #objdump: -s -j .got -R |
5 | ||
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. | |
10 | ||
11 | .*: file format elf32-cris | |
12 | ||
13 | DYNAMIC RELOCATION RECORDS | |
14 | OFFSET TYPE VALUE | |
f26a3287 | 15 | 000b3808 R_CRIS_32_TPREL x2814 |
bcae4342 | 16 | #... |
f26a3287 | 17 | 000b47f4 R_CRIS_32_TPREL x8188 |
bcae4342 | 18 | #... |
f26a3287 | 19 | 000ba4fc R_CRIS_32_TPREL x0 |
bcae4342 | 20 | #... |
f26a3287 | 21 | 000bb7f8 R_CRIS_32_TPREL x1345 |
bcae4342 HPN |
22 | |
23 | Contents of section .got: | |
f26a3287 AM |
24 | b37fc 84370b00 00000000 00000000 00000000 .* |
25 | b380c 00000000 00000000 00000000 00000000 .* | |
bcae4342 | 26 | #... |
f26a3287 AM |
27 | bb7dc 00000000 00000000 00000000 00000000 .* |
28 | bb7ec 00000000 00000000 00000000 00000000 .* |