Fix the test for PR 18963 so that it will work on 16-bit targets.

PR ld/18963
	* testsuite/ld-scripts/pr18963.s: New, replaces empty data.s to
	allocate space in text, data, bss here rather than pr18963.t.
	* testsuite/ld-scripts/pr18963.t: Remove assignments to dot.
	* testsuite/ld-scripts/pr18963.d: Change addresses to fit 16 bits.
This commit is contained in:
Stephen Casner
2020-04-16 16:13:31 +01:00
committed by Nick Clifton
parent 381ce63f2f
commit 7a1a12f4d1
5 changed files with 33 additions and 16 deletions

View File

@ -1540,7 +1540,7 @@ generate_reloc (bfd *abfd, struct bfd_link_info *info)
if (s->output_section->vma == 0)
{
/* Huh? Shouldn't happen, but punt if it does. */
einfo (_("%P: zero vma section reloc detected: `%s' #%d f=%d\n"),
einfo (_("%P: zero vma section reloc detected: `%s' index %d flags %x\n"),
s->output_section->name, s->output_section->index,
s->output_section->flags);
continue;