From f73f5173faa73fc13c2c61390ec26e43f9d30861 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 25 Jul 2024 13:03:19 -0700 Subject: x86: Add missing newlines in TLS transition error messages Change TLS transition error messages from a-argp-help.o(.text+0x12f): relocation R_X86_64_GOTTPOFF against `a' must be used in ADD or MOV onlyld: final link failed: bad value to a-argp-help.o(.text+0x12f): relocation R_X86_64_GOTTPOFF against `a' must be used in ADD or MOV only ld: final link failed: bad value PR ld/32017 * elfxx-x86.c (_bfd_x86_elf_link_report_tls_transition_error): Add missing newlines. Signed-off-by: H.J. Lu --- bfd/elfxx-x86.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bfd/elfxx-x86.c b/bfd/elfxx-x86.c index 044c36f..85737fc 100644 --- a/bfd/elfxx-x86.c +++ b/bfd/elfxx-x86.c @@ -3232,7 +3232,7 @@ _bfd_x86_elf_link_report_tls_transition_error info->callbacks->einfo /* xgettext:c-format */ (_("%pB: TLS transition from %s to %s against `%s' at 0x%v in " - "section `%pA' failed"), + "section `%pA' failed\n"), abfd, from_reloc_name, to_reloc_name, name, rel->r_offset, asect); break; @@ -3241,7 +3241,7 @@ _bfd_x86_elf_link_report_tls_transition_error info->callbacks->einfo /* xgettext:c-format */ (_("%pB(%pA+0x%v): relocation %s against `%s' must be used " - "in ADD only"), + "in ADD only\n"), abfd, asect, rel->r_offset, from_reloc_name, name); break; @@ -3249,7 +3249,7 @@ _bfd_x86_elf_link_report_tls_transition_error info->callbacks->einfo /* xgettext:c-format */ (_("%pB(%pA+0x%v): relocation %s against `%s' must be used " - "in ADD or MOV only"), + "in ADD or MOV only\n"), abfd, asect, rel->r_offset, from_reloc_name, name); break; @@ -3257,7 +3257,7 @@ _bfd_x86_elf_link_report_tls_transition_error info->callbacks->einfo /* xgettext:c-format */ (_("%pB(%pA+0x%v): relocation %s against `%s' must be used " - "in ADD, SUB or MOV only"), + "in ADD, SUB or MOV only\n"), abfd, asect, rel->r_offset, from_reloc_name, name); break; @@ -3265,7 +3265,7 @@ _bfd_x86_elf_link_report_tls_transition_error info->callbacks->einfo /* xgettext:c-format */ (_("%pB(%pA+0x%v): relocation %s against `%s' must be used " - "in indirect CALL only"), + "in indirect CALL only\n"), abfd, asect, rel->r_offset, from_reloc_name, name); break; @@ -3273,7 +3273,7 @@ _bfd_x86_elf_link_report_tls_transition_error info->callbacks->einfo /* xgettext:c-format */ (_("%pB(%pA+0x%v): relocation %s against `%s' must be used " - "in LEA only"), + "in LEA only\n"), abfd, asect, rel->r_offset, from_reloc_name, name); break; -- cgit v1.1