[binutils-gdb] x86: Add missing newlines in TLS transition error messages
H.J. Lu
hjl@sourceware.org
Thu Jul 25 20:09:32 GMT 2024
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f73f5173faa73fc13c2c61390ec26e43f9d30861
commit f73f5173faa73fc13c2c61390ec26e43f9d30861
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Thu Jul 25 13:03:19 2024 -0700
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>
Diff:
---
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 044c36fbfab..85737fc18b7 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;
More information about the Binutils-cvs
mailing list