s390: Mention GOTIE20 relocation in TLS related comment

Commit bd1ea41b84 introduced the R_390_TLS_GOTIE20 relocation, but
missed to update a comment that mentions the related R_390_TLS_GOTIE12
relocation.

bfd/
	* elf32-s390.c (allocate_dynrelocs): Mention GOTIE20 relocation
	in TLS related comment.
	* elf64-s390.c (allocate_dynrelocs): Likewise.

Signed-off-by: Jens Remus <jremus@linux.ibm.com>
This commit is contained in:
Jens Remus
2025-11-14 09:42:13 +01:00
parent 1393916849
commit 169341f282
2 changed files with 4 additions and 4 deletions

View File

@@ -1624,9 +1624,9 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf)
elf_s390_adjust_gotplt((struct elf_s390_link_hash_entry *) h);
}
/* If R_390_TLS_{IE32,GOTIE32,GOTIE12,IEENT} symbol is now local to
/* If R_390_TLS_{IE32,GOTIE32,GOTIE12,GOTIE20,IEENT} symbol is now local to
the binary, we can optimize a bit. IE32 and GOTIE32 get converted
to R_390_TLS_LE32 requiring no TLS entry. For GOTIE12 and IEENT
to R_390_TLS_LE32 requiring no TLS entry. For GOTIE12, GOTIE20, and IEENT
we can save the dynamic TLS relocation. */
if (h->got.refcount > 0
&& !bfd_link_pic (info)

View File

@@ -1776,9 +1776,9 @@ allocate_dynrelocs (struct elf_link_hash_entry *h,
elf_s390_adjust_gotplt((struct elf_s390_link_hash_entry *) h);
}
/* If R_390_TLS_{IE64,GOTIE64,GOTIE12,IEENT} symbol is now local to
/* If R_390_TLS_{IE64,GOTIE64,GOTIE12,GOTIE20,IEENT} symbol is now local to
the binary, we can optimize a bit. IE64 and GOTIE64 get converted
to R_390_TLS_LE64 requiring no TLS entry. For GOTIE12 and IEENT
to R_390_TLS_LE64 requiring no TLS entry. For GOTIE12, GOTIE20, and IEENT
we can save the dynamic TLS relocation. */
if (h->got.refcount > 0
&& !bfd_link_dll (info)