https://sourceware.org/bugzilla/show_bug.cgi?id=25662
--- Comment #4 from Alan Modra <amodra at gmail dot com> --- Created attachment 12403 --> https://sourceware.org/bugzilla/attachment.cgi?id=12403&action=edit Alternate patch This also fixes the testcase. I'm inclined to go this way since it's really the lack of sh_offset adjustment for nobits sections that is breaking things for you. What do you think? -- You are receiving this mail because: You are on the CC list for the bug.