2012-03-26 19:18:29 +00:00
|
|
|
#source: tls128g.s
|
|
|
|
#source: tls-ld-5.s
|
|
|
|
#source: tls-gd-1.s
|
|
|
|
#source: tls-ldgd-14.s
|
|
|
|
#source: tls-x.s
|
|
|
|
#source: tls-z.s
|
|
|
|
#source: tls-hx1x2.s
|
|
|
|
#as: --pic --no-underscore --em=criself
|
2018-12-28 15:25:28 +00:00
|
|
|
#ld: --shared -m crislinux --hash-style=sysv
|
2012-03-26 19:18:29 +00:00
|
|
|
#objdump: -s -t -R -p -T
|
|
|
|
|
|
|
|
# Check that we have proper NPTL/TLS markings and GOT for two
|
|
|
|
# R_CRIS_16_GOT_GD and two R_CRIS_16_DTPRELs against different
|
|
|
|
# variables in a DSO.
|
|
|
|
|
|
|
|
.*: file format elf32-cris
|
|
|
|
|
|
|
|
Program Header:
|
|
|
|
LOAD off 0x0+ vaddr 0x0+ paddr 0x0+ align 2\*\*13
|
2022-10-27 18:45:45 +00:00
|
|
|
filesz 0x0+1c8 memsz 0x0+1c8 flags r-x
|
|
|
|
LOAD off 0x0+1c8 vaddr 0x0+21c8 paddr 0x0+21c8 align 2\*\*13
|
2012-03-26 19:18:29 +00:00
|
|
|
filesz 0x0+124 memsz 0x0+124 flags rw-
|
2022-10-27 18:45:45 +00:00
|
|
|
DYNAMIC off 0x0+258 vaddr 0x0+2258 paddr 0x0+2258 align 2\*\*2
|
2012-03-26 19:18:29 +00:00
|
|
|
filesz 0x0+70 memsz 0x0+70 flags rw-
|
2022-10-27 18:45:45 +00:00
|
|
|
TLS off 0x0+1c8 vaddr 0x0+21c8 paddr 0x0+21c8 align 2\*\*2
|
2012-03-26 19:18:29 +00:00
|
|
|
filesz 0x0+90 memsz 0x0+90 flags r--
|
|
|
|
|
|
|
|
Dynamic Section:
|
|
|
|
HASH 0x0+b4
|
2022-10-27 18:45:45 +00:00
|
|
|
STRTAB 0x0+168
|
|
|
|
SYMTAB 0x0+e8
|
2018-12-28 15:25:28 +00:00
|
|
|
STRSZ 0x0+2a
|
2012-03-26 19:18:29 +00:00
|
|
|
SYMENT 0x0+10
|
2022-10-27 18:45:45 +00:00
|
|
|
RELA 0x0+194
|
2012-03-26 19:18:29 +00:00
|
|
|
RELASZ 0x0+24
|
|
|
|
RELAENT 0x0+c
|
|
|
|
private flags = 0:
|
|
|
|
|
|
|
|
SYMBOL TABLE:
|
|
|
|
#...
|
2014-09-12 22:14:23 +00:00
|
|
|
0+8c l \.tdata 0+4 x2
|
2012-03-26 19:18:29 +00:00
|
|
|
#...
|
2014-09-12 22:14:23 +00:00
|
|
|
0+88 l \.tdata 0+4 x1
|
2012-03-26 19:18:29 +00:00
|
|
|
#...
|
|
|
|
0+80 g \.tdata 0+4 x
|
|
|
|
#...
|
|
|
|
0+84 g \.tdata 0+4 z
|
|
|
|
#...
|
|
|
|
DYNAMIC SYMBOL TABLE:
|
|
|
|
#...
|
|
|
|
0+80 g D \.tdata 0+4 x
|
|
|
|
#...
|
|
|
|
0+84 g D \.tdata 0+4 z
|
|
|
|
#...
|
|
|
|
|
|
|
|
DYNAMIC RELOCATION RECORDS
|
2022-10-27 18:45:45 +00:00
|
|
|
OFFSET +TYPE +VALUE
|
|
|
|
0+22d4 R_CRIS_DTPMOD \*ABS\*
|
|
|
|
0+22dc R_CRIS_DTP x
|
|
|
|
0+22e4 R_CRIS_DTP z
|
2012-03-26 19:18:29 +00:00
|
|
|
|
|
|
|
Contents of section \.hash:
|
|
|
|
#...
|
|
|
|
Contents of section \.text:
|
2022-10-27 18:45:45 +00:00
|
|
|
01b8 5fae8800 5fbe8c00 5fae1400 5fae1c00 .*
|
2012-03-26 19:18:29 +00:00
|
|
|
Contents of section .tdata:
|
|
|
|
#...
|
|
|
|
Contents of section \.got:
|
2022-10-27 18:45:45 +00:00
|
|
|
22c8 58220+ 0+ 0+ 0+ .*
|
|
|
|
22d8 0+ 0+ 0+ 0+ .*
|
|
|
|
22e8 0+ .*
|