| 1 | #as: -mcpu=5206 |
| 2 | #source: tls-ld-1.s |
| 3 | #ld: -shared |
| 4 | #readelf: -d -r |
| 5 | |
| 6 | Dynamic section at offset .* contains 10 entries: |
| 7 | Tag Type Name/Value |
| 8 | 0x00000004 \(HASH\) 0x[0-9a-f]+ |
| 9 | 0x00000005 \(STRTAB\) 0x[0-9a-f]+ |
| 10 | 0x00000006 \(SYMTAB\) 0x[0-9a-f]+ |
| 11 | 0x0000000a \(STRSZ\) [0-9]+ \(bytes\) |
| 12 | 0x0000000b \(SYMENT\) 16 \(bytes\) |
| 13 | 0x00000007 \(RELA\) 0x[0-9a-f]+ |
| 14 | 0x00000008 \(RELASZ\) 24 \(bytes\) |
| 15 | 0x00000009 \(RELAENT\) 12 \(bytes\) |
| 16 | 0x00000016 \(TEXTREL\) 0x0 |
| 17 | 0x00000000 \(NULL\) 0x0 |
| 18 | |
| 19 | Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 2 entries: |
| 20 | Offset +Info +Type +Sym.Value +Sym. Name \+ Addend |
| 21 | [0-9a-f]+ +[0-9a-f]+ R_68K_32 +0+ +__tls_get_addr \+ 0 |
| 22 | [0-9a-f]+ +[0-9a-f]+ R_68K_TLS_DTPMOD3 +0 |