The merge test fais on numerous targets because they don't support the necessary pc-relative relocs. This patch removes that part of the merge test, and makes references to the merged strings from .data rather than .text to better support targets that relax text by default.
18 lines
611 B
Makefile
18 lines
611 B
Makefile
#source: merge2.s
|
|
#ld: -T merge.ld
|
|
#objdump: -s
|
|
#xfail: [is_generic] hppa64-*-* ip2k-*-*
|
|
|
|
.*: file format .*elf.*
|
|
|
|
Contents of section .rodata:
|
|
1100 61626300 62000000 (78563412|12345678) 99999999 .*
|
|
1110 (78563412|12345678) 00000000 99999999 00000000 .*
|
|
1120 (78563412|12345678) 99999999 00000000 .*
|
|
|
|
Contents of section .data:
|
|
1200 (0011)?0000(1100)? (0211)?0000(1102)? (0111)?0000(1101)? (0411)?0000(1104)? .*
|
|
1210 (1011)?0000(1110)? (0811)?0000(1108)? (1811)?0000(1118)? (0c11)?0000(110c)? .*
|
|
1220 (2011)?0000(1120)? (2411)?0000(1124)? (2811)?0000(1128)? (2011)?0000(1120)? .*
|
|
#pass
|