aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2024-07-25 13:03:19 -0700
committerH.J. Lu <hjl.tools@gmail.com>2024-07-25 13:03:19 -0700
commitf73f5173faa73fc13c2c61390ec26e43f9d30861 (patch)
tree5f08665201f241e5811ec0319f0da3ec0ade747b
parent1d68a49ac5d71b648304f69af978fce0f4413800 (diff)
downloadgdb-f73f5173faa73fc13c2c61390ec26e43f9d30861.zip
gdb-f73f5173faa73fc13c2c61390ec26e43f9d30861.tar.gz
gdb-f73f5173faa73fc13c2c61390ec26e43f9d30861.tar.bz2
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 <hjl.tools@gmail.com>
-rw-r--r--bfd/elfxx-x86.c12
1 files 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;