Back to index

cell-binutils  2.17cvs20070401
tlspic-2.d
Go to the documentation of this file.
00001 #source: tlspic1.s
00002 #source: tlspic2.s
00003 #as: -little
00004 #ld: -shared -EL
00005 #readelf: -Ssrl
00006 #target: sh*-*-linux* sh*-*-netbsd*
00007 
00008 There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+:
00009 
00010 Section Headers:
00011   \[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al
00012   \[ 0\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0
00013   \[ 1\] \.hash .*
00014   \[ 2\] \.dynsym .*
00015   \[ 3\] \.dynstr .*
00016   \[ 4\] \.rela\.dyn .*
00017   \[ 5\] \.rela\.plt .*
00018   \[ 6\] \.plt .*
00019   \[ 7\] \.text +PROGBITS .*
00020   \[ 8\] \.tdata +PROGBITS .* 0+18 00 WAT  0   0  4
00021   \[ 9\] \.tbss +NOBITS .* 0+08 00 WAT  0   0  1
00022 #...
00023   \[[0-9a-f]+\] \.got +PROGBITS .*
00024 #...
00025   \[[0-9a-f]+\] \.shstrtab .*
00026   \[[0-9a-f]+\] \.symtab .*
00027   \[[0-9a-f]+\] \.strtab .*
00028 Key to Flags:
00029 .*
00030 .*
00031 .*
00032 
00033 Elf file type is DYN \(Shared object file\)
00034 Entry point 0x[0-9a-f]+
00035 There are 4 program headers, starting at offset [0-9]+
00036 
00037 Program Headers:
00038   Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align
00039   LOAD.*
00040   LOAD.*
00041   DYNAMIC.*
00042   TLS .* 0x0+18 0x0+20 R +0x4
00043 
00044  Section to Segment mapping:
00045   Segment Sections\.\.\.
00046    00 +\.hash \.dynsym \.dynstr \.rela\.dyn \.rela\.plt \.plt \.text *
00047    01 +\.tdata \.dynamic \.got *
00048    02 +\.dynamic *
00049    03 +\.tdata \.tbss *
00050 
00051 Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 10 entries:
00052  Offset +Info +Type +Sym\.Value +Sym\. Name \+ Addend
00053 [0-9a-f ]+R_SH_TLS_DTPMOD32 +0+00
00054 [0-9a-f ]+R_SH_TLS_TPOFF32 +0+0c
00055 [0-9a-f ]+R_SH_TLS_DTPMOD32 +0+00
00056 [0-9a-f ]+R_SH_TLS_DTPMOD32 +0+00
00057 [0-9a-f ]+R_SH_TLS_TPOFF32 +0+1c
00058 [0-9a-f ]+R_SH_TLS_DTPMOD32 +0+00
00059 [0-9a-f ]+R_SH_TLS_TPOFF32 +0+14
00060 [0-9a-f ]+R_SH_TLS_DTPMOD32 +0+ +sg1 \+ 0
00061 [0-9a-f ]+R_SH_TLS_DTPOFF32 +0+ +sg1 \+ 0
00062 [0-9a-f ]+R_SH_TLS_TPOFF32 +0+04 +sg2 \+ 0
00063 
00064 Relocation section '\.rela\.plt' at offset 0x[0-9a-f]+ contains 1 entries:
00065  Offset +Info +Type +Sym\.Value +Sym\. Name \+ Addend
00066 [0-9a-f ]+R_SH_JMP_SLOT[0-9a-f ]+__tls_get_addr \+ [0-9a-f]+
00067 
00068 Symbol table '\.dynsym' contains [0-9]+ entries:
00069  +Num: +Value +Size Type +Bind +Vis +Ndx Name
00070 .* NOTYPE +LOCAL +DEFAULT  UND *
00071 .* NOTYPE  GLOBAL DEFAULT  UND __tls_get_addr
00072 .* TLS +GLOBAL DEFAULT +8 sg1
00073 #...
00074 .* FUNC +GLOBAL DEFAULT +7 fn1
00075 #...
00076 .* TLS +GLOBAL DEFAULT +8 sg2
00077 #...
00078 
00079 #pass