]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
x86: Add missing newlines in TLS transition error messages
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 25 Jul 2024 20:03:19 +0000 (13:03 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 25 Jul 2024 20:03:19 +0000 (13:03 -0700)
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 <hjl.tools@gmail.com>
bfd/elfxx-x86.c

index 044c36fbfab553923bc8326137922150d6d3fd74..85737fc18b77666276db4def1635922b37724243 100644 (file)
@@ -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;