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>
(cherry picked from commit f73f5173faa73fc13c2c61390ec26e43f9d30861)
This commit is contained in:
H.J. Lu 2024-07-25 13:03:19 -07:00
parent 6f81a3cde4
commit fa8a9d7259

View 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;