https://sourceware.org/bugzilla/show_bug.cgi?id=32896
--- Comment #3 from Alan Modra <amodra at gmail dot com> --- HJ's patch looks good except that the new test fails for me.. Also the comment needs tweaking. I'd suggest something like: /* Set sh_offset for .tbss sections to their nominal offset after aligning. They are not loaded from disk so the value doesn't really matter, except when the .tbss section is the first one in a PT_TLS segment. In that case it sets the p_offset for the PT_TLS segment, which according to the ELF gABI ought to satisfy p_offset % p_align == p_vaddr % p_align. */ -- You are receiving this mail because: You are on the CC list for the bug.