diff options
Diffstat (limited to 'ld/testsuite/ld-csky/tls-gd-v1.d')
-rw-r--r-- | ld/testsuite/ld-csky/tls-gd-v1.d | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/ld/testsuite/ld-csky/tls-gd-v1.d b/ld/testsuite/ld-csky/tls-gd-v1.d new file mode 100644 index 0000000..c2c8766 --- /dev/null +++ b/ld/testsuite/ld-csky/tls-gd-v1.d @@ -0,0 +1,30 @@ +#name: TLS Global Dynamic link test (C-SKY V1) +#source: tls-gd-v1.s +#as: -mcpu=ck610 +#ld: -shared --hash-style=sysv +#readelf: -d -r + +Dynamic section at offset 0x[0-9a-f]+ contains 13 entries: + Tag Type Name/Value + 0x00000004 \(HASH\) .* + 0x00000005 \(STRTAB\) .* + 0x00000006 \(SYMTAB\) .* + 0x0000000a \(STRSZ\) .* \(bytes\) + 0x0000000b \(SYMENT\) .* \(bytes\) + 0x00000003 \(PLTGOT\) 0x[0-9a-f]+ + 0x00000002 \(PLTRELSZ\) 12 \(bytes\) + 0x00000014 \(PLTREL\) RELA + 0x00000017 \(JMPREL\) 0x[0-9a-f]+ + 0x00000007 \(RELA\) 0x[0-9a-f]+ + 0x00000008 \(RELASZ\) 24 \(bytes\) + 0x00000009 \(RELAENT\) 12 \(bytes\) + 0x00000000 \(NULL\) 0x0 + +Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 2 entries: + Offset Info Type Sym.Value Sym. Name \+ Addend +[0-9a-f]+ [0-9a-f]+ R_CKCORE_TLS_DTPM 00000000 var \+ 0 +[0-9a-f]+ [0-9a-f]+ R_CKCORE_TLS_DTPO 00000000 var \+ 0 + +Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entry: + Offset Info Type Sym.Value Sym. Name \+ Addend +[0-9a-f]+ 0000040c R_CKCORE_JUMP_SLO 00000000 __tls_get_addr \+ .* |