old-cross-binutils/ld/testsuite/ld-elf/merge3.s
Joseph Myers e6c6c8f39c bfd:
* merge.c (sec_merge_hash_lookup): Add parameter sec_end.  Check
	for unterminated strings.  All callers changed.
	(record_section): Add parameter abfd.  Give error message for
	unterminated strings.
	(_bfd_merge_sections): Update call to record_section.
	(_bfd_write_merged_section, _bfd_merged_section_offset): Handle
	NULL secinfo from merge failures.

ld/testsuite:
	* ld-elf/merge3.d, ld-elf/merge3.s: New.
2007-11-01 11:45:20 +00:00

7 lines
107 B
ArmAsm

.section .rodata.str,"aMS","progbits",1
.LC0:
.ascii "abcd"
.text
.global _start
_start:
.long .LC0