1 # Expect script for various ARM ELF tests.
2 # Copyright 2002-2013 Free Software Foundation, Inc.
4 # This file is part of the GNU Binutils.
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
9 # (at your option) any later version.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
22 if {[istarget "arm-*-vxworks"]} {
24 {"VxWorks shared library test 1" "-shared -Tvxworks1.ld" ""
26 {{readelf --relocs vxworks1-lib.rd} {objdump -dr vxworks1-lib.dd}
27 {readelf --symbols vxworks1-lib.nd} {readelf -d vxworks1-lib.td}}
29 {"VxWorks executable test 1 (dynamic)" \
30 "tmpdir/libvxworks1.so -Tvxworks1.ld -q --force-dynamic" ""
32 {{readelf --relocs vxworks1.rd} {objdump -dr vxworks1.dd}}
34 {"VxWorks executable test 2 (dynamic)" \
35 "-Tvxworks1.ld -q --force-dynamic" ""
37 {{readelf --segments vxworks2.sd}}
39 {"VxWorks executable test 2 (static)"
42 {{readelf --segments vxworks2-static.sd}}
45 run_ld_link_tests $armvxworkstests
46 run_dump_test "vxworks1-static"
47 run_dump_test "emit-relocs1-vxworks"
50 if { [istarget "arm*-*-symbianelf*"] } {
51 run_dump_test "symbian-seg1"
54 # Exclude non-ARM-ELF targets.
56 if { ![is_elf_format] || ![istarget "arm*-*-*"] } {
60 # List contains test-items with 3 items followed by 2 lists and one more item:
61 # 0:name 1:ld early options 2:ld late options 3:assembler options
62 # 4:filenames of assembler files 5: action and options. 6: name of output file
65 # objdump: Apply objdump options on result. Compare with regex (last arg).
66 # nm: Apply nm options on result. Compare with regex (last arg).
67 # readelf: Apply readelf options on result. Compare with regex (last arg).
69 set armelftests_common {
70 {"Group relocations" "-Ttext 0x8000 --section-start zero=0x0 --section-start alpha=0xeef0 --section-start beta=0xffeef0" "" "" {group-relocs.s}
71 {{objdump -dr group-relocs.d}}
73 {"Indirect cross-library function reference (set-up)"
74 "-shared" "" "" {arm-lib-plt-2a.s}
77 {"Indirect cross-library function reference"
78 "-shared tmpdir/arm-lib-plt-2a.so" "" "" {arm-lib-plt-2b.s}
79 {{objdump -dr arm-lib-plt-2.dd} {readelf --relocs arm-lib-plt-2.rd}}
81 {"Simple static application" "" "" "" {arm-static-app.s}
82 {{objdump -fdw arm-static-app.d} {objdump -rw arm-static-app.r}}
84 {"target1-abs" "-static --target1-abs -T arm.ld" "" "" {arm-target1.s}
85 {{objdump -s arm-target1-abs.d}}
87 {"target1-rel" "-static --target1-rel -T arm.ld" "" "" {arm-target1.s}
88 {{objdump -s arm-target1-rel.d}}
90 {"target2-rel" "-static --target2=rel -T arm.ld" "" "" {arm-target2.s}
91 {{objdump -s arm-target2-rel.d}}
93 {"target2-abs" "-static --target2=abs -T arm.ld" "" "" {arm-target2.s}
94 {{objdump -s arm-target2-abs.d}}
96 {"target2-got-rel" "-static --target2=got-rel -T arm.ld" "" "" {arm-target2.s}
97 {{objdump -s arm-target2-got-rel.d}}
98 "arm-target2-got-rel"}
99 {"arm-rel31" "-static -T arm.ld" "" "" {arm-rel31.s}
100 {{objdump -s arm-rel31.d}}
102 {"arm-rel32" "-shared -T arm-dyn.ld" "" "" {arm-rel32.s}
103 {{objdump -Rsj.data arm-rel32.d}}
105 {"arm-call" "--no-fix-arm1176 -static -T arm.ld" "" "-meabi=4" {arm-call1.s arm-call2.s}
106 {{objdump -d arm-call.d}}
108 {"TLS shared library" "-shared -T arm-lib.ld" "" "" {tls-lib.s}
109 {{objdump -fdw tls-lib.d} {objdump -Rw tls-lib.r}}
111 {"TLS dynamic application" "-T arm-dyn.ld tmpdir/tls-lib.so" "" "" {tls-app.s}
112 {{objdump -fdw tls-app.d} {objdump -Rw tls-app.r}}
114 {"TLS gnu shared library got" "-shared -T arm-dyn.ld" "" "" {tls-gdesc-got.s}
115 {{objdump "-fDR -j .got" tls-gdesc-got.d}}
117 {"TLS gnu GD to IE relaxation" "-static -T arm-dyn.ld" "" "" {tls-gdierelax.s}
118 {{objdump -fdw tls-gdierelax.d}}
120 {"TLS gnu GD to IE shared relaxation" "--no-fix-arm1176 -shared -T arm-dyn.ld" "" "" {tls-gdierelax2.s}
121 {{objdump -fdw tls-gdierelax2.d}}
123 {"TLS gnu GD to LE relaxation" "-T arm-dyn.ld" "" "" {tls-gdlerelax.s}
124 {{objdump -fdw tls-gdlerelax.d}}
126 {"TLS mixed models shared lib" "-shared -T arm-dyn.ld" "" "" {tls-mixed.s}
127 {{objdump -Rw tls-mixed.r}}
129 {"TLS descseq relaxation" "-T arm-dyn.ld" "" "" {tls-descrelax.s}
130 {{objdump -fdw tls-descrelax.d}}
132 {"TLS descseq relaxation v7" "-T arm-dyn.ld" "" "" {tls-descrelax-v7.s}
133 {{objdump -fdw tls-descrelax-v7.d}}
135 {"TLS descseq relaxation BE8" "-T arm-dyn.ld -EB --be8" "" "-mbig-endian" {tls-descrelax-be8.s}
136 {{objdump -fdw tls-descrelax-be8.d}}
138 {"TLS descseq relaxation BE32" "-T arm-dyn.ld -EB" "" "-mbig-endian" {tls-descrelax-be32.s}
139 {{objdump -fdw tls-descrelax-be32.d}}
140 "tls-descrelax-be32"}
141 {"TLS local PIC symbol static link" "-T arm.ld" "" "" {tls-local-static.s}
142 {{objdump -fdw tls-local-static.d}}
144 {"MOVW/MOVT" "-static -T arm.ld" "" "" {arm-movwt.s}
145 {{objdump -dw arm-movwt.d}}
147 {"BE8 Mapping Symbols" "-static -T arm.ld -EB --be8" "" "-EB" {arm-be8.s}
148 {{objdump -d arm-be8.d}}
150 {"VFP11 denorm erratum fix, scalar operation"
151 "-EL --vfp11-denorm-fix=scalar -Ttext=0x8000" "" "-EL -mfpu=vfpxd" {vfp11-fix-scalar.s}
152 {{objdump -dr vfp11-fix-scalar.d}}
154 {"VFP11 denorm erratum fix, vector operation"
155 "-EB --vfp11-denorm-fix=vector -Ttext=0x8000" "" "-EB -mfpu=vfpxd" {vfp11-fix-vector.s}
156 {{objdump -dr vfp11-fix-vector.d}}
158 {"VFP11 denorm erratum fix, embedded code-like data"
159 "-EL --vfp11-denorm-fix=scalar -Ttext=0x8000" "" "-EL -mfpu=vfpxd" {vfp11-fix-none.s}
160 {{objdump -dr vfp11-fix-none.d}}
162 {"Unwinding and -gc-sections" "-gc-sections" "" "" {gc-unwind.s}
163 {{objdump -sj.data gc-unwind.d}}
165 {"script-type" "-static -T script-type.ld" "" "" {script-type.s}
166 {{readelf -s script-type.sym}}
168 {"callweak" "-static -T arm.ld" "" "" {callweak.s}
169 {{objdump -dr callweak.d}}
171 {"callweak-2" "-static -T arm.ld" "" "" {callweak-2.s}
172 {{objdump -dr callweak-2.d}}
174 {"Relocation boundaries" "-defsym x=0 -defsym y=0 -defsym _start=0" "" "" {reloc-boundaries.s}
175 {{objdump -s reloc-boundaries.d}}
177 {"Data only mapping symbols" "-T data-only-map.ld -Map map" "" "" {data-only-map.s}
178 {{objdump -dr data-only-map.d}}
180 {"Data only mapping symbols for merged sections" "-T rodata-merge-map.ld" "" "" {rodata-merge-map1.s rodata-merge-map2.s rodata-merge-map3.s}
181 {{readelf -s rodata-merge-map.sym}}
183 {"GOT relocations in executables (setup)" "-shared" ""
187 {"GOT relocations in executables" "tmpdir/exec-got-1.so" ""
189 {{readelf --relocs exec-got-1.d}}
191 {"abs call" "-T arm.ld" "" "" {abs-call-1.s}
192 {{objdump -d abs-call-1.d}}
194 {"Simple non-PIC shared library (no PLT check)" "-shared" "" "" {arm-lib.s}
195 {{objdump -Rw arm-lib.r}}
197 {"EABI soft-float ET_EXEC ABI flag" "-T arm.ld" "" "-mfloat-abi=soft -meabi=5" {eabi-soft-float.s}
198 {{readelf -h eabi-soft-float.d}}
200 {"EABI hard-float ET_EXEC ABI flag" "-T arm.ld" "" "-mfloat-abi=hard -meabi=5" {eabi-hard-float.s}
201 {{readelf -h eabi-hard-float.d}}
203 {"EABI hard-float ET_DYN ABI flag" "-shared" "" "-mfloat-abi=hard -meabi=5" {eabi-hard-float.s}
204 {{readelf -h eabi-hard-float.d}}
205 "eabi-hard-float.so"}
206 {"EABI ABI flags wrong ABI version" "-T arm.ld" "" "-mfloat-abi=soft -meabi=4" {eabi-soft-float.s}
207 {{readelf -h eabi-soft-float-ABI4.d}}
208 "eabi-soft-float-no-flags"}
209 {"EABI ABI flags ld -r" "-r" "" "-mfloat-abi=soft -meabi=5" {eabi-soft-float.s}
210 {{readelf -h eabi-soft-float-r.d}}
211 "eabi-soft-float-r.o"}
214 set armelftests_nonacl {
215 {"Thumb-1 BL" "-Ttext 0x1000 --section-start .foo=0x401000" "" "" {thumb1-bl.s}
216 {{objdump -dr thumb1-bl.d}}
218 {"Thumb entry point" "-T arm.ld" "" "" {thumb-entry.s}
219 {{readelf -h thumb-entry.d}}
221 {"thumb-rel32" "-static -T arm.ld" "" "" {thumb-rel32.s}
222 {{objdump -s thumb-rel32.d}}
224 {"jump19" "-static -T arm.ld" "" "" {jump19.s}
225 {{objdump -dr jump19.d}}
227 {"Thumb and -gc-sections" "-shared -T arm-dyn.ld" "" "" {gc-thumb-lib.s}
230 {"Thumb and -gc-sections" "-pie -T arm.ld -gc-sections tmpdir/gc-thumb-lib.so" "" "" {gc-thumb.s}
231 {{readelf --relocs gc-thumb.d}}
233 {"arm-pic-veneer" "-static -T arm.ld --pic-veneer" "" "" {arm-pic-veneer.s}
234 {{objdump -d arm-pic-veneer.d}}
237 {"Simple non-PIC shared library" "-shared" "" "" {arm-lib.s}
238 {{objdump -fdw arm-lib.d} {objdump -Rw arm-lib.r}}
240 {"Simple PIC shared library" "-shared" "" "" {arm-lib-plt32.s}
241 {{objdump -fdw arm-lib-plt32.d} {objdump -Rw arm-lib-plt32.r}}
243 {"Simple dynamic application" "tmpdir/arm-lib.so" "" "" {arm-app.s}
244 {{objdump -fdw arm-app.d} {objdump -Rw arm-app.r}}
246 {"Simple static application without .rel.plt in linker script"
247 "-T arm-no-rel-plt.ld" "" "" {arm-static-app.s}
248 {{objdump -fdw arm-static-app.d} {objdump -rw arm-static-app.r}}
250 {"Simple dynamic application without .rel.plt in linker script"
251 "tmpdir/arm-lib.so -T arm-no-rel-plt.ld" "" "" {arm-app.s}
252 {{ld arm-no-rel-plt.out}}
254 {"Non-pcrel function reference" "tmpdir/arm-lib.so" "" "" {arm-app-abs32.s}
255 {{objdump -fdw arm-app-abs32.d} {objdump -Rw arm-app-abs32.r}}
257 {"Thumb shared library with ARM entry points" "-shared -T arm-lib.ld" "" "-mthumb-interwork"
259 {{objdump -fdw armthumb-lib.d} {readelf -Ds armthumb-lib.sym}}
261 {"Mixed ARM/Thumb shared library" "-shared -T arm-lib.ld -use-blx" "" ""
263 {{objdump -fdw mixed-lib.d} {objdump -Rw mixed-lib.r}
264 {readelf -Ds mixed-lib.sym}}
266 {"Mixed ARM/Thumb dynamic application" "tmpdir/mixed-lib.so -T arm-dyn.ld" "" ""
268 {{objdump -fdw mixed-app.d} {objdump -Rw mixed-app.r}
269 {readelf -Ds mixed-app.sym}}
271 {"Mixed ARM/Thumb arch5 dynamic application" "tmpdir/mixed-lib.so -T arm-dyn.ld --use-blx" "" ""
273 {{objdump -fdw mixed-app-v5.d} {objdump -Rw mixed-app.r}
274 {readelf -Ds mixed-app.sym}}
276 {"Using Thumb lib by another lib" "-shared tmpdir/mixed-lib.so" "" "" {use-thumb-lib.s}
277 {{readelf -Ds use-thumb-lib.sym}}
279 {"Preempt Thumb symbol" "tmpdir/mixed-lib.so -T arm-dyn.ld --use-blx" "" ""
281 {{readelf -Ds preempt-app.sym}}
283 {"TLS gnu shared library inlined trampoline" "--no-fix-arm1176 -shared -T arm-dyn.ld" "" "" {tls-descseq.s}
284 {{objdump -fdw tls-descseq.d} {objdump -Rw tls-descseq.r}}
286 {"TLS shared library gdesc local" "--no-fix-arm1176 -shared -T arm-dyn.ld" "" "" {tls-lib-loc.s}
287 {{objdump -fdw tls-lib-loc.d} {objdump -Rw tls-lib-loc.r}}
289 {"Cortex-A8 erratum fix, b.w"
290 "-EL -Ttext=0x8f00 --fix-cortex-a8" "" "-EL" {cortex-a8-fix-b.s}
291 {{objdump -dr cortex-a8-fix-b.d}}
293 {"Cortex-A8 erratum fix, bl.w"
294 "-EL -Ttext=0x8f00 --fix-cortex-a8" "" "-EL" {cortex-a8-fix-bl.s}
295 {{objdump -dr cortex-a8-fix-bl.d}}
297 {"Cortex-A8 erratum fix, bcc.w"
298 "-EL -Ttext=0x8f00 --fix-cortex-a8" "" "-EL" {cortex-a8-fix-bcc.s}
299 {{objdump -dr cortex-a8-fix-bcc.d}}
301 {"Cortex-A8 erratum fix, blx.w"
302 "-EL -Ttext=0x8f00 --fix-cortex-a8" "" "-EL" {cortex-a8-fix-blx.s}
303 {{objdump -dr cortex-a8-fix-blx.d}}
305 {"Cortex-A8 erratum fix, relocate b.w to ARM"
306 "-EL -Ttext=0x8f00 --fix-cortex-a8" "" "-EL" {cortex-a8-arm-target.s cortex-a8-fix-b-rel.s}
307 {{objdump -dr cortex-a8-fix-b-rel-arm.d}}
308 "cortex-a8-fix-b-rel-arm"}
309 {"Cortex-A8 erratum fix, relocate b.w to Thumb"
310 "-EL -Ttext=0x8f00 --fix-cortex-a8" "" "-EL" {cortex-a8-thumb-target.s cortex-a8-fix-b-rel.s}
311 {{objdump -dr cortex-a8-fix-b-rel-thumb.d}}
312 "cortex-a8-fix-b-rel-thumb"}
313 {"Cortex-A8 erratum fix, relocate bl.w to ARM"
314 "-EL -Ttext=0x8f00 --fix-cortex-a8" "" "-EL" {cortex-a8-arm-target.s cortex-a8-fix-bl-rel.s}
315 {{objdump -dr cortex-a8-fix-bl-rel-arm.d}}
316 "cortex-a8-fix-bl-rel-arm"}
317 {"Cortex-A8 erratum fix, relocate bl.w to Thumb"
318 "-EL -Ttext=0x8f00 --fix-cortex-a8" "" "-EL" {cortex-a8-thumb-target.s cortex-a8-fix-bl-rel.s}
319 {{objdump -dr cortex-a8-fix-bl-rel-thumb.d}}
320 "cortex-a8-fix-bl-rel-thumb"}
321 {"Cortex-A8 erratum fix, relocate b<cond>.w to Thumb"
322 "-EL -Ttext=0x8f00 --fix-cortex-a8" "" "-EL" {cortex-a8-thumb-target.s cortex-a8-fix-bcc-rel.s}
323 {{objdump -dr cortex-a8-fix-bcc-rel-thumb.d}}
324 "cortex-a8-fix-bcc-rel-thumb"}
325 {"Cortex-A8 erratum fix, relocate blx.w to ARM"
326 "-EL -Ttext=0x8f00 --fix-cortex-a8" "" "-EL" {cortex-a8-arm-target.s cortex-a8-fix-blx-rel.s}
327 {{objdump -dr cortex-a8-fix-blx-rel-arm.d}}
328 "cortex-a8-fix-blx-rel-arm"}
329 {"Cortex-A8 erratum fix, relocate blx.w to Thumb"
330 "-EL -Ttext=0x8f00 --fix-cortex-a8" "" "-EL" {cortex-a8-thumb-target.s cortex-a8-fix-blx-rel.s}
331 {{objdump -dr cortex-a8-fix-blx-rel-thumb.d}}
332 "cortex-a8-fix-blx-rel-thumb"}
333 {"Cortex-A8 erratum fix, relocate bl.w and far call"
334 "-EL -Ttext=0x00 --fix-cortex-a8 --defsym _start=0" ""
335 "-EL -mcpu=cortex-a8" {cortex-a8-far-1.s cortex-a8-far-2.s cortex-a8-far-3.s}
336 {{objdump -dr cortex-a8-far.d}}
338 {"Cortex-A8 erratum fix, headers"
339 "-EL --fix-cortex-a8 -T cortex-a8-fix-hdr.t" ""
340 "-EL -mcpu=cortex-a8" {cortex-a8-fix-hdr.s}
341 {{objdump -dr cortex-a8-fix-hdr.d}}
343 {"Cortex-A8 erratum fix, blx.w and b<cond>.w together"
344 "-EL -Ttext=0x8f00 --fix-cortex-a8" "" "-EL" {cortex-a8-fix-blx-bcond.s}
345 {{objdump -dr cortex-a8-fix-blx-bcond.d}}
346 "cortex-a8-fix-blx-bcond"}
347 {"Cortex-A8 erratum fix, b.w to PLT"
348 "-EL -Tcortex-a8-fix-plt.ld --fix-cortex-a8 -shared" "" "-EL"
349 {cortex-a8-fix-b-plt.s}
350 {{objdump -dr cortex-a8-fix-b-plt.d}}
351 "cortex-a8-fix-b-plt"}
352 {"Cortex-A8 erratum fix, bl.w to PLT"
353 "-EL -Tcortex-a8-fix-plt.ld --fix-cortex-a8 -shared" "" "-EL"
354 {cortex-a8-fix-bl-plt.s}
355 {{objdump -dr cortex-a8-fix-bl-plt.d}}
356 "cortex-a8-fix-bl-plt"}
357 {"Cortex-A8 erratum fix, bcc.w to PLT"
358 "-EL -Tcortex-a8-fix-plt.ld --fix-cortex-a8 -shared" "" "-EL"
359 {cortex-a8-fix-bcc-plt.s}
360 {{objdump -dr cortex-a8-fix-bcc-plt.d}}
361 "cortex-a8-fix-bcc-plt"}
362 {"Cortex-A8 erratum fix, blx.w to PLT"
363 "-EL -Tcortex-a8-fix-plt.ld --fix-cortex-a8 -shared" "" "-EL"
364 {cortex-a8-fix-blx-plt.s}
365 {{objdump -dr cortex-a8-fix-blx-plt.d}}
366 "cortex-a8-fix-blx-plt"}
367 {"Cortex-A8 erratum fix, relocate bl.w to PLT"
368 "-EL --section-start=.plt=0x8e00 -Ttext=0x8f00 --fix-cortex-a8 -shared" ""
369 "-EL" {cortex-a8-thumb-target.s cortex-a8-fix-bl-rel.s}
370 {{objdump -dr cortex-a8-fix-bl-rel-plt.d}}
371 "cortex-a8-fix-bl-rel-thumb"}
372 {"IFUNC test 1" "-T ifunc-static.ld" "" "" {ifunc-1.s}
373 {{objdump -d ifunc-1.dd}
374 {objdump {-s -j.data -j.got} ifunc-1.gd}
375 {readelf -dr ifunc-1.rd}}
377 {"IFUNC test 2" "-T ifunc-static.ld" "" "" {ifunc-2.s}
378 {{objdump -d ifunc-2.dd}
379 {objdump {-s -j.data -j.got} ifunc-2.gd}
380 {readelf -dr ifunc-2.rd}}
382 {"IFUNC test 3" "-T ifunc-dynamic.ld -shared" "" "" {ifunc-3.s}
383 {{objdump -d ifunc-3.dd}
384 {objdump {-s -j.data -j.got} ifunc-3.gd}
385 {readelf -r ifunc-3.rd}}
387 {"IFUNC test 4" "-T ifunc-dynamic.ld -shared" "" "" {ifunc-4.s}
388 {{objdump -d ifunc-4.dd}
389 {objdump {-s -j.data -j.got} ifunc-4.gd}
390 {readelf -r ifunc-4.rd}}
392 {"IFUNC test 5" "-T ifunc-static.ld" "" "" {ifunc-5.s}
393 {{objdump -d ifunc-5.dd}
394 {objdump {-s -j.data -j.got} ifunc-5.gd}
395 {readelf -dr ifunc-5.rd}}
397 {"IFUNC test 6" "-T ifunc-static.ld" "" "" {ifunc-6.s}
398 {{objdump -d ifunc-6.dd}
399 {objdump {-s -j.data -j.got} ifunc-6.gd}
400 {readelf -dr ifunc-6.rd}}
402 {"IFUNC test 7" "-T ifunc-dynamic.ld tmpdir/ifunc-3.so -shared" ""
404 {{objdump -d ifunc-7.dd}
405 {objdump {-s -j.data -j.got} ifunc-7.gd}
406 {readelf -r ifunc-7.rd}}
408 {"IFUNC test 8" "-T ifunc-dynamic.ld tmpdir/ifunc-4.so -shared" ""
410 {{objdump -d ifunc-8.dd}
411 {objdump {-s -j.data -j.got} ifunc-8.gd}
412 {readelf -r ifunc-8.rd}}
414 {"IFUNC test 9" "-T ifunc-dynamic.ld tmpdir/ifunc-3.so" "" "" {ifunc-9.s}
415 {{objdump -d ifunc-9.dd}
416 {objdump {-s -j.data -j.got} ifunc-9.gd}
417 {readelf -r ifunc-9.rd}}
419 {"IFUNC test 10" "-T ifunc-dynamic.ld tmpdir/ifunc-4.so" "" "" {ifunc-10.s}
420 {{objdump -d ifunc-10.dd}
421 {objdump {-s -j.data -j.got} ifunc-10.gd}
422 {readelf -r ifunc-10.rd}}
424 {"IFUNC test 11" "-T ifunc-static.ld" "" "" {ifunc-11.s}
425 {{objdump -d ifunc-11.dd}
426 {objdump {-s -j.data -j.got} ifunc-11.gd}
427 {readelf -dr ifunc-11.rd}}
429 {"IFUNC test 12" "-T ifunc-dynamic.ld -shared" "" "" {ifunc-12.s}
430 {{objdump -d ifunc-12.dd}
431 {objdump {-s -j.data -j.got} ifunc-12.gd}
432 {readelf -r ifunc-12.rd}}
434 {"IFUNC test 13" "-T ifunc-dynamic.ld tmpdir/ifunc-12.so" "" "" {ifunc-13.s}
435 {{objdump -d ifunc-13.dd}
436 {objdump {-s -j.data -j.got} ifunc-13.gd}
437 {readelf -r ifunc-13.rd}}
439 {"IFUNC test 14" "-T ifunc-dynamic.ld tmpdir/ifunc-12.so" "" "" {ifunc-14.s}
440 {{objdump -d ifunc-14.dd}
441 {objdump {-s -j.data -j.got} ifunc-14.gd}
442 {readelf -r ifunc-14.rd}}
444 {"IFUNC test 15" "-T ifunc-dynamic.ld tmpdir/ifunc-12.so" "" "" {ifunc-15.s}
445 {{objdump -d ifunc-15.dd}
446 {objdump {-s -j.data -j.got} ifunc-15.gd}
447 {readelf -r ifunc-15.rd}}
449 {"IFUNC test 16" "-T ifunc-dynamic.ld tmpdir/ifunc-12.so" "" "" {ifunc-16.s}
450 {{objdump -d ifunc-16.dd}
451 {objdump {-s -j.data -j.got} ifunc-16.gd}
452 {readelf -r ifunc-16.rd}}
454 {"IFUNC test 17" "-T ifunc-static.ld" "" "" {ifunc-17.s}
455 {{objdump -d ifunc-17.dd}
456 {objdump {-s -j.data -j.got} ifunc-17.gd}
457 {readelf -r ifunc-17.rd}}
461 run_ld_link_tests $armelftests_common
462 if { ![istarget "arm*-*-nacl*"] } {
463 run_ld_link_tests $armelftests_nonacl
466 run_dump_test "group-relocs-alu-bad"
467 run_dump_test "group-relocs-ldr-bad"
468 run_dump_test "group-relocs-ldrs-bad"
469 run_dump_test "group-relocs-ldc-bad"
470 run_dump_test "thumb2-bl-undefweak"
471 run_dump_test "thumb2-bl-undefweak1"
472 run_dump_test "emit-relocs1"
473 run_dump_test "movw-shared-1"
474 run_dump_test "movw-shared-2"
475 run_dump_test "movw-shared-3"
476 run_dump_test "movw-shared-4"
478 # Exclude non-ARM-EABI targets.
480 if { ![istarget "arm*-*-*eabi*"] && ![istarget "arm*-*-nacl*"] } {
481 # Special variants of these tests, as a different farcall stub is
482 # generated for a non-ARM-EABI target: indeed in such a case,
483 # there are no attributes to indicate that blx can be used.
485 set arm_noeabi_tests {
486 {"Thumb-2-as-Thumb-1 BL" "-Ttext 0x1000 --section-start .foo=0x100100c" "" "" {thumb2-bl-as-thumb1-bad.s}
487 {{objdump -d thumb2-bl-as-thumb1-bad-noeabi.d}}
488 "thumb2-bl-as-thumb1-bad"}
489 {"Thumb-2 BL bad" "-Ttext 0x1000 --section-start .foo=0x100100c" "" "" {thumb2-bl-bad.s}
490 {{objdump -d thumb2-bl-bad-noeabi.d}}
493 run_ld_link_tests $arm_noeabi_tests
498 # Farcalls stubs are fully supported for ARM-EABI only.
499 # This list is massaged below into run_ld_link_tests standard format.
500 # The source list is almost that same format. The one difference is
501 # that each "action" (elements of element 5) might have four elements
502 # instead of three; in that case, the fourth element is the name of
503 # the dump file to use for arm*-*nacl* targets instead of the canonical
504 # dump file (the third element).
505 set armeabitests_common {
506 {"EABI attribute merging" "-r" "" "" {attr-merge.s attr-merge.s}
507 {{readelf -A attr-merge.attr}}
509 {"EABI attribute merging 2" "-r" "" "" {attr-merge-2a.s attr-merge-2b.s}
510 {{readelf -A attr-merge-2.attr}}
512 {"EABI attribute merging 3" "-r" "" "" {attr-merge-3a.s attr-merge-3b.s}
513 {{readelf -A attr-merge-3.attr}}
515 {"EABI attribute merging 4" "-r" "" "" {attr-merge-4a.s attr-merge-4b.s}
516 {{readelf -A attr-merge-4.attr}}
518 {"EABI attribute merging 5" "-r" "" "" {attr-merge-5.s attr-merge-5.s}
519 {{readelf -A attr-merge-5.attr}}
521 {"EABI attribute merging 6" "-r" "" "" {attr-merge-6a.s attr-merge-6b.s}
522 {{readelf -A attr-merge-6.attr}}
524 {"EABI attribute merging 6 reversed" "-r" "" "" {attr-merge-6b.s attr-merge-6a.s}
525 {{readelf -A attr-merge-6.attr}}
527 {"EABI attribute merging 7" "-r" "" "" {attr-merge-7a.s attr-merge-7b.s}
528 {{readelf -A attr-merge-7.attr}}
530 {"EABI attribute arch merging 1" "-r" "" "" {arch-v6k.s arch-v6t2.s}
531 {{readelf -A attr-merge-arch-1.attr}}
533 {"EABI attribute arch merging 1 reversed" "-r" "" "" {arch-v6t2.s arch-v6k.s}
534 {{readelf -A attr-merge-arch-1.attr}}
535 "attr-merge-arch-1r"}
536 {"EABI attribute arch merging 2" "-r" "" "" {arch-v6k.s arch-v6.s}
537 {{readelf -A attr-merge-arch-2.attr}}
539 {"EABI attribute arch merging 2 reversed" "-r" "" "" {arch-v6.s arch-v6k.s}
540 {{readelf -A attr-merge-arch-2.attr}}
541 "attr-merge-arch-2r"}
542 {"MOVW/MOVT and merged sections" "-T arm.ld" "" "" {movw-merge.s}
543 {{objdump -dw movw-merge.d}}
545 {"MOVW/MOVT against shared libraries" "tmpdir/arm-lib.so" "" "" {arm-app-movw.s}
546 {{objdump -Rw arm-app.r}}
549 {"ARM-ARM farcall" "-Ttext 0x1000 --section-start .foo=0x2001020" "" "" {farcall-arm-arm.s}
550 {{objdump -d farcall-arm-arm.d farcall-arm-nacl.d}}
552 {"ARM-ARM farcall (PIC veneer)" "-Ttext 0x1000 --section-start .foo=0x2001020 --pic-veneer" "" "" {farcall-arm-arm.s}
553 {{objdump -d farcall-arm-arm-pic-veneer.d farcall-arm-nacl-pic.d}}
554 "farcall-arm-arm-pic-veneer"}
555 {"ARM-ARM farcall (BE8)" "-Ttext 0x1000 --section-start .foo=0x2001020 -EB --be8" "" "-EB" {farcall-arm-arm.s}
556 {{objdump -d farcall-arm-arm.d farcall-arm-nacl.d}}
557 "farcall-arm-arm-be8"}
558 {"ARM-ARM farcall (BE)" "-Ttext 0x1000 --section-start .foo=0x2001020 -EB" "" "-EB" {farcall-arm-arm.s}
559 {{objdump -d farcall-arm-arm.d farcall-arm-nacl.d}}
560 "farcall-arm-arm-be"}
562 {"Long branch with mixed text and data" "-T arm.ld" "" "" {farcall-data.s}
563 {{objdump -dr farcall-data.d farcall-data-nacl.d}}
567 set armeabitests_nonacl {
568 {"ARM-Thumb farcall" "-Ttext 0x1000 --section-start .foo=0x2001014" "" "" {farcall-arm-thumb.s}
569 {{objdump -d farcall-arm-thumb.d}}
571 {"ARM-Thumb farcall with BLX" "--no-fix-arm1176 -Ttext 0x1000 --section-start .foo=0x2001014" "" "-march=armv5t" {farcall-arm-thumb.s}
572 {{objdump -d farcall-arm-thumb-blx.d}}
573 "farcall-arm-thumb-blx"}
574 {"ARM-Thumb farcall (PIC veneer)" "-Ttext 0x1000 --section-start .foo=0x2001014 --pic-veneer" "" "" {farcall-arm-thumb.s}
575 {{objdump -d farcall-arm-thumb-pic-veneer.d}}
576 "farcall-arm-thumb-pic-veneer"}
577 {"ARM-Thumb farcall with BLX (PIC veneer)" "-Ttext 0x1000 --section-start .foo=0x2001014 --pic-veneer" "" "-march=armv5t" {farcall-arm-thumb.s}
578 {{objdump -d farcall-arm-thumb-blx-pic-veneer.d}}
579 "farcall-arm-thumb-blx-pic-veneer"}
581 {"Thumb-Thumb farcall with BLX" "--no-fix-arm1176 -Ttext 0x1000 --section-start .foo=0x2001014" "" "-march=armv5t" {farcall-thumb-thumb.s}
582 {{objdump -d farcall-thumb-thumb-blx.d}}
583 "farcall-thumb-thumb-blx"}
584 {"Thumb-Thumb farcall M profile" "-Ttext 0x1000 --section-start .foo=0x2001014" "" "-march=armv7-m" {farcall-thumb-thumb.s}
585 {{objdump -d farcall-thumb-thumb-m.d}}
586 "farcall-thumb-thumb-m"}
587 {"Thumb-Thumb farcall v6-M" "-Ttext 0x1000 --section-start .foo=0x2001014" "" "-march=armv6-m" {farcall-thumb-thumb.s}
588 {{objdump -d farcall-thumb-thumb-m.d}}
589 "farcall-thumb-thumb-v6-m"}
590 {"Thumb-Thumb farcall" "-Ttext 0x1000 --section-start .foo=0x2001014" "" "-march=armv4t" {farcall-thumb-thumb.s}
591 {{objdump -d farcall-thumb-thumb.d}}
592 "farcall-thumb-thumb"}
593 {"Thumb-Thumb farcall with BLX (PIC veneer)" "--no-fix-arm1176 -Ttext 0x1000 --section-start .foo=0x2001014 --pic-veneer" "" "-march=armv5t" {farcall-thumb-thumb.s}
594 {{objdump -d farcall-thumb-thumb-blx-pic-veneer.d}}
595 "farcall-thumb-thumb-blx-pic-veneer"}
596 {"Thumb-Thumb farcall M profile (PIC veneer)" "-Ttext 0x1000 --section-start .foo=0x2001014 --pic-veneer" "" "-march=armv7-m" {farcall-thumb-thumb.s}
597 {{objdump -d farcall-thumb-thumb-m-pic-veneer.d}}
598 "farcall-thumb-thumb-m-pic-veneer"}
599 {"Thumb-Thumb farcall (PIC veneer)" "-Ttext 0x1000 --section-start .foo=0x2001014 --pic-veneer" "" "-march=armv4t" {farcall-thumb-thumb.s}
600 {{objdump -d farcall-thumb-thumb-pic-veneer.d}}
601 "farcall-thumb-thumb-pic-veneer"}
603 {"Thumb-ARM farcall" "-Ttext 0x1c01010 --section-start .foo=0x2001014" "" "-W" {farcall-thumb-arm.s}
604 {{objdump -d farcall-thumb-arm.d}}
606 {"Thumb-ARM farcall (BE8)" "-Ttext 0x1c01010 --section-start .foo=0x2001014 -EB --be8" "" "-W -EB" {farcall-thumb-arm.s}
607 {{objdump -d farcall-thumb-arm.d}}
608 "farcall-thumb-arm-be8"}
609 {"Thumb-ARM farcall (BE)" "-Ttext 0x1c01010 --section-start .foo=0x2001014 -EB" "" "-W -EB" {farcall-thumb-arm.s}
610 {{objdump -d farcall-thumb-arm.d}}
611 "farcall-thumb-arm-be"}
612 {"Thumb-ARM (short) call" "-Ttext 0x1000 --section-start .foo=0x0002014" "" "-W" {farcall-thumb-arm-short.s}
613 {{objdump -d farcall-thumb-arm-short.d}}
614 "farcall-thumb-arm-short"}
615 {"Thumb-ARM farcall with BLX" "--no-fix-arm1176 -Ttext 0x1c01010 --section-start .foo=0x2001014" "" "-W -march=armv5t" {farcall-thumb-arm.s}
616 {{objdump -d farcall-thumb-arm-blx.d}}
617 "farcall-thumb-arm-blx"}
618 {"Thumb-ARM farcall with BLX (PIC veneer)" "--no-fix-arm1176 -Ttext 0x1c01010 --section-start .foo=0x2001014 --pic-veneer" "" "-W -march=armv5t" {farcall-thumb-arm.s}
619 {{objdump -d farcall-thumb-arm-blx-pic-veneer.d}}
620 "farcall-thumb-arm-blx-pic-veneer"}
621 {"Thumb-ARM farcall (PIC veneer)" "-Ttext 0x1c01010 --section-start .foo=0x2001014 --pic-veneer" "" "-W" {farcall-thumb-arm.s}
622 {{objdump -d farcall-thumb-arm-pic-veneer.d}}
623 "farcall-thumb-arm-pic-veneer"}
625 {"Multiple farcalls" "-Ttext 0x1000 --section-start .foo=0x2002020" "" "" {farcall-mix.s}
626 {{objdump -d farcall-mix.d}}
628 {"Multiple farcalls from several sections" "-Ttext 0x1000 --section-start .mytext=0x2000 --section-start .foo=0x2003020" "" "" {farcall-mix2.s}
629 {{objdump -d farcall-mix2.d}}
632 {"Mixed ARM/Thumb dynamic application with farcalls" "tmpdir/mixed-lib.so -T arm-dyn.ld --section-start .far_arm=0x2100000 --section-start .far_thumb=0x2200000" "" ""
633 {farcall-mixed-app.s}
634 {{objdump -fdw farcall-mixed-app.d} {objdump -Rw farcall-mixed-app.r}
635 {readelf -Ds farcall-mixed-app.sym}}
637 {"Mixed ARM/Thumb arch5 dynamic application with farcalls" "tmpdir/mixed-lib.so -T arm-dyn.ld --use-blx --section-start .far_arm=0x2100000 --section-start .far_thumb=0x2200000" "" ""
638 {farcall-mixed-app.s}
639 {{objdump -fdw farcall-mixed-app-v5.d} {objdump -Rw farcall-mixed-app.r}
640 {readelf -Ds farcall-mixed-app.sym}}
641 "farcall-mixed-app-v5"}
643 {"Mixed ARM/Thumb shared library with long branches (v4t)" "-shared -T arm-lib.ld" "" "-march=armv4t"
644 {farcall-mixed-lib1.s farcall-mixed-lib2.s}
645 {{objdump -fdw farcall-mixed-lib-v4t.d}}
646 "farcall-mixed-lib.so"}
648 {"Mixed ARM/Thumb shared library with long branches (v5t)" "--no-fix-arm1176 -shared -T arm-lib.ld" "" "-march=armv5t"
649 {farcall-mixed-lib1.s farcall-mixed-lib2.s}
650 {{objdump -fdw farcall-mixed-lib.d}}
651 "farcall-mixed-lib.so"}
653 {"Thumb-2-as-Thumb-1 BL" "--no-fix-arm1176 -Ttext 0x1000 --section-start .foo=0x100100c" "" "" {thumb2-bl-as-thumb1-bad.s}
654 {{objdump -d thumb2-bl-as-thumb1-bad.d}}
655 "thumb2-bl-as-thumb1-bad"}
656 {"Thumb-2 BL" "-Ttext 0x1000 --section-start .foo=0x100100c" "" "" {thumb2-bl-bad.s}
657 {{objdump -d thumb2-bl-bad.d}}
659 {"Branch to linker script symbol with BL for thumb-only target" "-T branch-lks-sym.ld" "" "" {thumb-bl-lks-sym.s}
660 {{objdump -d thumb-bl-lks-sym.d}}
662 {"Branch to linker script symbol with B for thumb-only target" "-T branch-lks-sym.ld" "" "" {thumb-b-lks-sym.s}
663 {{objdump -d thumb-b-lks-sym.d}}
666 {"erratum 760522 fix (default for v6z)" "--section-start=.foo=0x2001014" ""
667 "-march=armv6z" {fix-arm1176.s}
668 {{objdump -d fix-arm1176-on.d}}
670 {"erratum 760522 fix (explicitly on at v6z)" "--section-start=.foo=0x2001014 --fix-arm1176" ""
671 "-march=armv6z" {fix-arm1176.s}
672 {{objdump -d fix-arm1176-on.d}}
674 {"erratum 760522 fix (explicitly off at v6z)" "--section-start=.foo=0x2001014 --no-fix-arm1176" ""
675 "-march=armv6z" {fix-arm1176.s}
676 {{objdump -d fix-arm1176-off.d}}
678 {"erratum 760522 fix (default for v5)" "--section-start=.foo=0x2001014 " ""
679 "-march=armv5te" {fix-arm1176.s}
680 {{objdump -d fix-arm1176-on.d}}
682 {"erratum 760522 fix (default for v7-a)" "--section-start=.foo=0x2001014 " ""
683 "-march=armv7-a" {fix-arm1176.s}
684 {{objdump -d fix-arm1176-off.d}}
686 {"erratum 760522 fix (default for ARM1156)" "--section-start=.foo=0x2001014 " ""
687 "-mcpu=arm1156t2f-s" {fix-arm1176.s}
688 {{objdump -d fix-arm1176-off.d}}
691 {"Thumb-2 BL" "-Ttext 0x1000 --section-start .foo=0x1001000" "" "" {thumb2-bl.s}
692 {{objdump -dr thumb2-bl.d}}
694 {"Thumb-2 Interworked branch" "-T arm.ld" "" "" {thumb2-b-interwork.s}
695 {{objdump -dr thumb2-b-interwork.d}}
696 "thumb2-b-interwork"}
697 {"BL/BLX interworking" "-T arm.ld" "" "" {thumb2-bl-blx-interwork.s}
698 {{objdump -dr thumb2-bl-blx-interwork.d}}
699 "thumb2-bl-blx-interwork"}
700 {"ARMv4 interworking" "-static -T arm.ld --fix-v4bx-interworking" "" "--fix-v4bx -meabi=4" {armv4-bx.s}
701 {{objdump -d armv4-bx.d}}
704 {"R_ARM_THM_JUMP24 Relocation veneers: Short 1"
705 "--no-fix-arm1176 --section-start destsect=0x00009000 --section-start .text=0x8000" ""
706 "-march=armv7-a -mthumb"
707 {jump-reloc-veneers.s}
708 {{objdump -d jump-reloc-veneers-short1.d}}
709 "jump-reloc-veneers-short1"}
710 {"R_ARM_THM_JUMP24 Relocation veneers: Short 2"
711 "--no-fix-arm1176 --section-start destsect=0x00900000 --section-start .text=0x8000" ""
712 "-march=armv7-a -mthumb"
713 {jump-reloc-veneers.s}
714 {{objdump -d jump-reloc-veneers-short2.d}}
715 "jump-reloc-veneers-short2"}
716 {"R_ARM_THM_JUMP24 Relocation veneers: Long"
717 "--no-fix-arm1176 --section-start destsect=0x09000000 --section-start .text=0x8000" ""
718 "-march=armv7-a -mthumb"
719 {jump-reloc-veneers.s}
720 {{objdump -d jump-reloc-veneers-long.d}}
721 "jump-reloc-veneers-long"}
723 {"Default group size" "-Ttext 0x1000 --section-start .foo=0x2003020" "" "" {farcall-group.s farcall-group2.s}
724 {{objdump -d farcall-group.d}}
725 "farcall-group-default"}
726 {"Group size=2" "-Ttext 0x1000 --section-start .foo=0x2003020 --stub-group-size=2" "" "" {farcall-group.s farcall-group2.s}
727 {{objdump -d farcall-group-size2.d}}
728 "farcall-group-size2"}
729 {"Group size limit" "-Ttext 0x1000 --section-start .far=0x2003020" "" "" {farcall-group3.s farcall-group4.s}
730 {{objdump -d farcall-group-limit.d}}
731 "farcall-group-limit"}
733 {"TLS gnu shared library" "--no-fix-arm1176 -shared -T arm-dyn.ld" "" "" {tls-gdesc.s}
734 {{objdump -fdw tls-gdesc.d} {objdump -Rw tls-gdesc.r}}
736 {"TLS gnu shared library non-lazy" "-z now -shared -T arm-dyn.ld" "" "" {tls-gdesc.s}
737 {{readelf "-x .got" tls-gdesc-nlazy.g}}
739 {"TLS long plt library" "-shared -T arm-dyn.ld --section-start .foo=0x4001000" "" "" {tls-longplt-lib.s}
740 {{objdump -fdw tls-longplt-lib.d}}
741 "tls-longplt-lib.so"}
742 {"TLS long plt" "-T arm-dyn.ld --section-start .foo=0x4001000 tmpdir/tls-longplt-lib.so" "" "" {tls-longplt.s}
743 {{objdump -fdw tls-longplt.d}}
745 {"TLS thumb1" "-shared -T arm-dyn.ld --section-start .foo=0x4001000" "" "" {tls-thumb1.s}
746 {{objdump -fdw tls-thumb1.d}}
750 # Massage the $armeabitests_common list into run_ld_link_tests standard form.
751 # See the comment before 'set armeabitests_common', above.
752 set elide_action_elt 3
753 set is_nacl [istarget "arm*-*-nacl*"]
755 set elide_action_elt 2
757 set neabi_common [llength $armeabitests_common]
758 for {set i 0} {$i < $neabi_common} {incr i} {
759 set case [lindex $armeabitests_common $i]
760 set actions [lindex $case 5]
761 set nactions [llength $actions]
762 for {set j 0} {$j < $nactions} {incr j} {
763 set action [lindex $actions $j]
764 if {[llength $action] == 4} {
765 set action [lreplace $action $elide_action_elt $elide_action_elt]
766 lset armeabitests_common $i 5 $j $action
771 run_ld_link_tests $armeabitests_common
773 run_ld_link_tests $armeabitests_nonacl
776 run_dump_test "attr-merge-div-00"
777 run_dump_test "attr-merge-div-01"
778 run_dump_test "attr-merge-div-10"
779 run_dump_test "attr-merge-div-01-m3"
780 run_dump_test "attr-merge-div-10-m3"
781 run_dump_test "attr-merge-div-11"
782 run_dump_test "attr-merge-div-12"
783 run_dump_test "attr-merge-div-120"
784 run_dump_test "attr-merge-div-21"
785 run_dump_test "attr-merge-div-22"
786 run_dump_test "attr-merge-div-02"
787 run_dump_test "attr-merge-div-20"
788 run_dump_test "attr-merge-wchar-00"
789 run_dump_test "attr-merge-wchar-02"
790 run_dump_test "attr-merge-wchar-04"
791 run_dump_test "attr-merge-wchar-20"
792 run_dump_test "attr-merge-wchar-22"
793 run_dump_test "attr-merge-wchar-24"
794 run_dump_test "attr-merge-wchar-40"
795 run_dump_test "attr-merge-wchar-42"
796 run_dump_test "attr-merge-wchar-44"
797 run_dump_test "attr-merge-wchar-00-nowarn"
798 run_dump_test "attr-merge-wchar-02-nowarn"
799 run_dump_test "attr-merge-wchar-04-nowarn"
800 run_dump_test "attr-merge-wchar-20-nowarn"
801 run_dump_test "attr-merge-wchar-22-nowarn"
802 run_dump_test "attr-merge-wchar-24-nowarn"
803 run_dump_test "attr-merge-wchar-40-nowarn"
804 run_dump_test "attr-merge-wchar-42-nowarn"
805 run_dump_test "attr-merge-wchar-44-nowarn"
806 run_dump_test "farcall-section"
807 run_dump_test "attr-merge-unknown-1"
808 run_dump_test "attr-merge-unknown-2"
809 run_dump_test "attr-merge-unknown-2r"
810 run_dump_test "attr-merge-unknown-3"
811 run_dump_test "unwind-1"
812 run_dump_test "unwind-2"
813 run_dump_test "unwind-3"
814 run_dump_test "unwind-4"
815 run_dump_test "unwind-5"
816 run_dump_test "attr-merge-vfp-1"
817 run_dump_test "attr-merge-vfp-1r"
818 run_dump_test "attr-merge-vfp-2"
819 run_dump_test "attr-merge-vfp-2r"
820 run_dump_test "attr-merge-vfp-3"
821 run_dump_test "attr-merge-vfp-3r"
822 run_dump_test "attr-merge-vfp-4"
823 run_dump_test "attr-merge-vfp-4r"
824 run_dump_test "attr-merge-vfp-5"
825 run_dump_test "attr-merge-vfp-5r"
826 run_dump_test "attr-merge-vfp-6"
827 run_dump_test "attr-merge-vfp-6r"
828 run_dump_test "attr-merge-vfp-7"
829 run_dump_test "attr-merge-vfp-7r"
830 run_dump_test "attr-merge-incompatible"
831 run_dump_test "unresolved-1"
832 if { ![istarget "arm*-*-nacl*"] } {
833 run_dump_test "unresolved-1-dyn"
835 run_dump_test "gc-hidden-1"