• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

修訂a2a55a40071096faef218f34dad3adf34db9b1ed (tree)
時間2015-06-28 08:25:34
作者H.J. Lu <hjl.tools@gmai...>
CommiterH.J. Lu

Log Message

Update xtensa linker tests

* ld-xtensa/tlsbin.rd: Updated.
* ld-xtensa/tlspic.rd: Likewise.

Change Summary

差異

--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
1+2015-06-27 H.J. Lu <hongjiu.lu@intel.com>
2+
3+ * ld-xtensa/tlsbin.rd: Updated.
4+ * ld-xtensa/tlspic.rd: Likewise.
5+
16 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
27
38 * ld-mips-elf/pic-and-nonpic-3b.ad: Adjust for extra dynamic tag.
--- a/ld/testsuite/ld-xtensa/tlsbin.rd
+++ b/ld/testsuite/ld-xtensa/tlsbin.rd
@@ -19,9 +19,9 @@ Section Headers:
1919 +\[[ 0-9]+\] .tdata +PROGBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 +WAT +0 +0 +4
2020 +\[[ 0-9]+\] .dynamic +DYNAMIC +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 08 +WA +4 +0 +4
2121 +\[[ 0-9]+\] .got +PROGBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 +WA +0 +0 +4
22+ +\[[ 0-9]+\] .xtensa.info +NOTE +0+ .*
2223 +\[[ 0-9]+\] .xt.lit +PROGBITS +0+ .*
2324 +\[[ 0-9]+\] .xt.prop +PROGBITS +0+ .*
24- +\[[ 0-9]+\] .xtensa.info +NOTE +0+ .*
2525 +\[[ 0-9]+\] .shstrtab +.*
2626 +\[[ 0-9]+\] .symtab +.*
2727 +\[[ 0-9]+\] .strtab +.*
@@ -63,10 +63,10 @@ Symbol table '\.dynsym' contains [0-9]+ entries:
6363 +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
6464 +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND *
6565 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2
66- +[0-9]+: 0+[0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start
66+ +[0-9]+: 0+[0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 __bss_start
6767 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG1
68- +[0-9]+: 0+[0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata
69- +[0-9]+: 0+[0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end
68+ +[0-9]+: 0+[0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 _edata
69+ +[0-9]+: 0+[0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 _end
7070
7171 Symbol table '\.symtab' contains [0-9]+ entries:
7272 +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
@@ -84,6 +84,7 @@ Symbol table '\.symtab' contains [0-9]+ entries:
8484 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +11 *
8585 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +12 *
8686 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +13 *
87+ +[0-9]+: [0-9a-f]+ +0 +FILE +LOCAL +DEFAULT +ABS +tmpdir/tlsbin.o
8788 +[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl1
8889 +[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl2
8990 +[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl3
@@ -92,6 +93,7 @@ Symbol table '\.symtab' contains [0-9]+ entries:
9293 +[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl6
9394 +[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl7
9495 +[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl8
96+ +[0-9]+: 0+ +0 +FILE +LOCAL +DEFAULT +ABS *
9597 +[0-9]+: 0+ +0 +TLS +LOCAL +DEFAULT +8 _TLS_MODULE_BASE_
9698 +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +9 _DYNAMIC
9799 +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg8
@@ -106,13 +108,13 @@ Symbol table '\.symtab' contains [0-9]+ entries:
106108 +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +6 _start
107109 +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +8 sh4
108110 +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +8 sh5
109- +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start
111+ +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 __bss_start
110112 +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg2
111113 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG1
112114 +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +8 sh1
113115 +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg6
114116 +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg7
115- +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata
116- +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end
117+ +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 _edata
118+ +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 _end
117119 +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +8 sh2
118120 +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +8 sh6
--- a/ld/testsuite/ld-xtensa/tlspic.rd
+++ b/ld/testsuite/ld-xtensa/tlspic.rd
@@ -20,9 +20,9 @@ Section Headers:
2020 +\[[ 0-9]+\] .tbss +NOBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 +WAT +0 +0 +4
2121 +\[[ 0-9]+\] .dynamic +DYNAMIC +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 08 +WA +3 +0 +4
2222 +\[[ 0-9]+\] .got +PROGBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 +WA +0 +0 +4
23+ +\[[ 0-9]+\] .xtensa.info +NOTE +0+ .*
2324 +\[[ 0-9]+\] .xt.lit +PROGBITS +0+ .*
2425 +\[[ 0-9]+\] .xt.prop +PROGBITS +0+ .*
25- +\[[ 0-9]+\] .xtensa.info +NOTE +0+ .*
2626 +\[[ 0-9]+\] .shstrtab +.*
2727 +\[[ 0-9]+\] .symtab +.*
2828 +\[[ 0-9]+\] .strtab +.*
@@ -55,20 +55,20 @@ Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 18 entries:
5555 [0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLSDESC_ARG +0+ +sg1 \+ 0
5656 [0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +0+4 +sg2 \+ 0
5757 [0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +0+4 +sg2 \+ 0
58-[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLSDESC_FN +0+20
59-[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLSDESC_ARG +0+20
60-[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +0+24
61-[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLSDESC_FN +0+40
62-[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLSDESC_ARG +0+40
63-[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +0+44
64-[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLSDESC_FN +0+60
65-[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLSDESC_ARG +0+60
66-[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +0+64
67-[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLSDESC_FN +0+
68-[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLSDESC_ARG +0+
69-[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +0+24
70-[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +0+44
71-[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +0+64
58+[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLSDESC_FN +20
59+[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLSDESC_ARG +20
60+[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +24
61+[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLSDESC_FN +40
62+[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLSDESC_ARG +40
63+[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +44
64+[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLSDESC_FN +60
65+[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLSDESC_ARG +60
66+[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +64
67+[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLSDESC_FN +0
68+[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLSDESC_ARG +0
69+[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +24
70+[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +44
71+[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +64
7272
7373 Symbol table '\.dynsym' contains [0-9]+ entries:
7474 +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
@@ -79,12 +79,12 @@ Symbol table '\.dynsym' contains [0-9]+ entries:
7979 +[0-9]+: 0+10 +0 +TLS +GLOBAL +DEFAULT +7 sg5
8080 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +7 sg1
8181 +[0-9]+: 0+350 +0 +FUNC +GLOBAL +DEFAULT +5 _start
82- +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start
82+ +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 __bss_start
8383 +[0-9]+: 0+4 +0 +TLS +GLOBAL +DEFAULT +7 sg2
8484 +[0-9]+: 0+14 +0 +TLS +GLOBAL +DEFAULT +7 sg6
8585 +[0-9]+: 0+18 +0 +TLS +GLOBAL +DEFAULT +7 sg7
86- +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata
87- +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end
86+ +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 _edata
87+ +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 _end
8888
8989 Symbol table '\.symtab' contains [0-9]+ entries:
9090 +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
@@ -102,6 +102,7 @@ Symbol table '\.symtab' contains [0-9]+ entries:
102102 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +11 *
103103 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +12 *
104104 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +13 *
105+ +[0-9]+: [0-9a-f]+ +0 +FILE +LOCAL +DEFAULT +ABS +tmpdir/tlspic1.o
105106 +[0-9]+: 0+20 +0 +TLS +LOCAL +DEFAULT +7 sl1
106107 +[0-9]+: 0+24 +0 +TLS +LOCAL +DEFAULT +7 sl2
107108 +[0-9]+: 0+28 +0 +TLS +LOCAL +DEFAULT +7 sl3
@@ -110,6 +111,7 @@ Symbol table '\.symtab' contains [0-9]+ entries:
110111 +[0-9]+: 0+34 +0 +TLS +LOCAL +DEFAULT +7 sl6
111112 +[0-9]+: 0+38 +0 +TLS +LOCAL +DEFAULT +7 sl7
112113 +[0-9]+: 0+3c +0 +TLS +LOCAL +DEFAULT +7 sl8
114+ +[0-9]+: 0+ +0 +FILE +LOCAL +DEFAULT +ABS *
113115 +[0-9]+: 0+60 +0 +TLS +LOCAL +DEFAULT +8 sH1
114116 +[0-9]+: 0+ +0 +TLS +LOCAL +DEFAULT +7 _TLS_MODULE_BASE_
115117 +[0-9]+: 0+144c +0 +OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC
@@ -134,9 +136,9 @@ Symbol table '\.symtab' contains [0-9]+ entries:
134136 +[0-9]+: 0+10 +0 +TLS +GLOBAL +DEFAULT +7 sg5
135137 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +7 sg1
136138 +[0-9]+: 0+350 +0 +FUNC +GLOBAL +DEFAULT +5 _start
137- +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start
139+ +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 __bss_start
138140 +[0-9]+: 0+4 +0 +TLS +GLOBAL +DEFAULT +7 sg2
139141 +[0-9]+: 0+14 +0 +TLS +GLOBAL +DEFAULT +7 sg6
140142 +[0-9]+: 0+18 +0 +TLS +GLOBAL +DEFAULT +7 sg7
141- +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata
142- +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end
143+ +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 _edata
144+ +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 _end