https://sourceware.org/bugzilla/show_bug.cgi?id=33852

--- Comment #12 from Jens Remus <jremus at linux dot ibm.com> ---
Alan, thank you for fixing, also in the upcoming 2.46 release!

While the fix itself is obviously correct I was still trying to figure out how
comes this never surfaced before and why that did not affect the linker and
thus any executables as well.  My conclusion regarding the linker is that
elf_s390_relocate_section() in bfd/elf64-s390.c emits 8 bytes using
bfd_put_64() for R_390_TLS_LE64 and does not rely on _bfd_final_link_relocate()
and the howto.  Therefore the linker would overwrite any uninitialized garbage
in the object with the correct negative TLS block offset during final link.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to