| 1 | #source: tls-gc-71.s |
| 2 | #source: init.s |
| 3 | #source: tls128g.s |
| 4 | #source: tls-hx.s |
| 5 | #as: --pic --no-underscore --em=criself -I$srcdir/$subdir |
| 6 | #ld: --shared -m crislinux --gc-sections --hash-style=sysv |
| 7 | #objdump: -s -t -R -p -T |
| 8 | |
| 9 | # DSO with a single R_CRIS_16_DTPREL against a hidden symbol, gc:ed. |
| 10 | # Check that we still have the other, global, TLS variable. |
| 11 | |
| 12 | .*: file format elf32-cris |
| 13 | #... |
| 14 | TLS off .* |
| 15 | filesz 0x0+80 memsz 0x0+80 flags r-- |
| 16 | #... |
| 17 | DYNAMIC SYMBOL TABLE: |
| 18 | 0+18e l d \.text 0+ \.text |
| 19 | 0+2194 l d \.tdata 0+ \.tdata |
| 20 | 0+18e g DF \.text 0+2 _init |
| 21 | 0+2280 g D \.got 0+ __bss_start |
| 22 | 0+ g D .tdata 0+80 tls128 |
| 23 | 0+2280 g D \.got 0+ _edata |
| 24 | 0+2280 g D \.got 0+ _end |
| 25 | |
| 26 | DYNAMIC RELOCATION RECORDS \(none\) |
| 27 | #... |
| 28 | Contents of section \.text: |
| 29 | 018e 0f050000 .* |
| 30 | #... |
| 31 | Contents of section \.got: |
| 32 | 2274 14220000 00000000 00000000 .* |