GNU Binutils with patches for OS216
修訂 | a2a55a40071096faef218f34dad3adf34db9b1ed (tree) |
---|---|
時間 | 2015-06-28 08:25:34 |
作者 | H.J. Lu <hjl.tools@gmai...> |
Commiter | H.J. Lu |
Update xtensa linker tests
* ld-xtensa/tlsbin.rd: Updated.
* ld-xtensa/tlspic.rd: Likewise.
@@ -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 | + | |
1 | 6 | 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com> |
2 | 7 | |
3 | 8 | * ld-mips-elf/pic-and-nonpic-3b.ad: Adjust for extra dynamic tag. |
@@ -19,9 +19,9 @@ Section Headers: | ||
19 | 19 | +\[[ 0-9]+\] .tdata +PROGBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 +WAT +0 +0 +4 |
20 | 20 | +\[[ 0-9]+\] .dynamic +DYNAMIC +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 08 +WA +4 +0 +4 |
21 | 21 | +\[[ 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+ .* | |
22 | 23 | +\[[ 0-9]+\] .xt.lit +PROGBITS +0+ .* |
23 | 24 | +\[[ 0-9]+\] .xt.prop +PROGBITS +0+ .* |
24 | - +\[[ 0-9]+\] .xtensa.info +NOTE +0+ .* | |
25 | 25 | +\[[ 0-9]+\] .shstrtab +.* |
26 | 26 | +\[[ 0-9]+\] .symtab +.* |
27 | 27 | +\[[ 0-9]+\] .strtab +.* |
@@ -63,10 +63,10 @@ Symbol table '\.dynsym' contains [0-9]+ entries: | ||
63 | 63 | +Num: +Value +Size +Type +Bind +Vis +Ndx +Name |
64 | 64 | +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND * |
65 | 65 | +[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 | |
67 | 67 | +[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 | |
70 | 70 | |
71 | 71 | Symbol table '\.symtab' contains [0-9]+ entries: |
72 | 72 | +Num: +Value +Size +Type +Bind +Vis +Ndx +Name |
@@ -84,6 +84,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: | ||
84 | 84 | +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +11 * |
85 | 85 | +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +12 * |
86 | 86 | +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +13 * |
87 | + +[0-9]+: [0-9a-f]+ +0 +FILE +LOCAL +DEFAULT +ABS +tmpdir/tlsbin.o | |
87 | 88 | +[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl1 |
88 | 89 | +[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl2 |
89 | 90 | +[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl3 |
@@ -92,6 +93,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: | ||
92 | 93 | +[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl6 |
93 | 94 | +[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl7 |
94 | 95 | +[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl8 |
96 | + +[0-9]+: 0+ +0 +FILE +LOCAL +DEFAULT +ABS * | |
95 | 97 | +[0-9]+: 0+ +0 +TLS +LOCAL +DEFAULT +8 _TLS_MODULE_BASE_ |
96 | 98 | +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +9 _DYNAMIC |
97 | 99 | +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg8 |
@@ -106,13 +108,13 @@ Symbol table '\.symtab' contains [0-9]+ entries: | ||
106 | 108 | +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +6 _start |
107 | 109 | +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +8 sh4 |
108 | 110 | +[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 | |
110 | 112 | +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg2 |
111 | 113 | +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG1 |
112 | 114 | +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +8 sh1 |
113 | 115 | +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg6 |
114 | 116 | +[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 | |
117 | 119 | +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +8 sh2 |
118 | 120 | +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +8 sh6 |
@@ -20,9 +20,9 @@ Section Headers: | ||
20 | 20 | +\[[ 0-9]+\] .tbss +NOBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 +WAT +0 +0 +4 |
21 | 21 | +\[[ 0-9]+\] .dynamic +DYNAMIC +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 08 +WA +3 +0 +4 |
22 | 22 | +\[[ 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+ .* | |
23 | 24 | +\[[ 0-9]+\] .xt.lit +PROGBITS +0+ .* |
24 | 25 | +\[[ 0-9]+\] .xt.prop +PROGBITS +0+ .* |
25 | - +\[[ 0-9]+\] .xtensa.info +NOTE +0+ .* | |
26 | 26 | +\[[ 0-9]+\] .shstrtab +.* |
27 | 27 | +\[[ 0-9]+\] .symtab +.* |
28 | 28 | +\[[ 0-9]+\] .strtab +.* |
@@ -55,20 +55,20 @@ Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 18 entries: | ||
55 | 55 | [0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLSDESC_ARG +0+ +sg1 \+ 0 |
56 | 56 | [0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +0+4 +sg2 \+ 0 |
57 | 57 | [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 | |
72 | 72 | |
73 | 73 | Symbol table '\.dynsym' contains [0-9]+ entries: |
74 | 74 | +Num: +Value +Size +Type +Bind +Vis +Ndx +Name |
@@ -79,12 +79,12 @@ Symbol table '\.dynsym' contains [0-9]+ entries: | ||
79 | 79 | +[0-9]+: 0+10 +0 +TLS +GLOBAL +DEFAULT +7 sg5 |
80 | 80 | +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +7 sg1 |
81 | 81 | +[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 | |
83 | 83 | +[0-9]+: 0+4 +0 +TLS +GLOBAL +DEFAULT +7 sg2 |
84 | 84 | +[0-9]+: 0+14 +0 +TLS +GLOBAL +DEFAULT +7 sg6 |
85 | 85 | +[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 | |
88 | 88 | |
89 | 89 | Symbol table '\.symtab' contains [0-9]+ entries: |
90 | 90 | +Num: +Value +Size +Type +Bind +Vis +Ndx +Name |
@@ -102,6 +102,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: | ||
102 | 102 | +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +11 * |
103 | 103 | +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +12 * |
104 | 104 | +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +13 * |
105 | + +[0-9]+: [0-9a-f]+ +0 +FILE +LOCAL +DEFAULT +ABS +tmpdir/tlspic1.o | |
105 | 106 | +[0-9]+: 0+20 +0 +TLS +LOCAL +DEFAULT +7 sl1 |
106 | 107 | +[0-9]+: 0+24 +0 +TLS +LOCAL +DEFAULT +7 sl2 |
107 | 108 | +[0-9]+: 0+28 +0 +TLS +LOCAL +DEFAULT +7 sl3 |
@@ -110,6 +111,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: | ||
110 | 111 | +[0-9]+: 0+34 +0 +TLS +LOCAL +DEFAULT +7 sl6 |
111 | 112 | +[0-9]+: 0+38 +0 +TLS +LOCAL +DEFAULT +7 sl7 |
112 | 113 | +[0-9]+: 0+3c +0 +TLS +LOCAL +DEFAULT +7 sl8 |
114 | + +[0-9]+: 0+ +0 +FILE +LOCAL +DEFAULT +ABS * | |
113 | 115 | +[0-9]+: 0+60 +0 +TLS +LOCAL +DEFAULT +8 sH1 |
114 | 116 | +[0-9]+: 0+ +0 +TLS +LOCAL +DEFAULT +7 _TLS_MODULE_BASE_ |
115 | 117 | +[0-9]+: 0+144c +0 +OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC |
@@ -134,9 +136,9 @@ Symbol table '\.symtab' contains [0-9]+ entries: | ||
134 | 136 | +[0-9]+: 0+10 +0 +TLS +GLOBAL +DEFAULT +7 sg5 |
135 | 137 | +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +7 sg1 |
136 | 138 | +[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 | |
138 | 140 | +[0-9]+: 0+4 +0 +TLS +GLOBAL +DEFAULT +7 sg2 |
139 | 141 | +[0-9]+: 0+14 +0 +TLS +GLOBAL +DEFAULT +7 sg6 |
140 | 142 | +[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 |