mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-11-16 12:34:43 +00:00
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:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user