binutils-gdb/ld/testsuite/ld-elf/merge3.d
Alan Modra 0709900ede ld-elf/merge test update
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.
2023-02-02 13:40:14 +10:30

15 lines
373 B
Makefile

#source: merge3.s
#ld: -T merge.ld
#objdump: -s
#xfail: [is_generic] hppa64-*-* ip2k-*-*
.*: file format .*elf.*
Contents of section \.rodata:
1100 64656667 00000000 30313233 34353637 defg....01234567
1110 61626364 65666700 abcdefg.
Contents of section \.data:
1200 (10110000|00001110) (00110000|00001100) (08110000|00001108) .*
#pass