https://bugs.kde.org/show_bug.cgi?id=395682

--- Comment #12 from Mark Wielaard <m...@klomp.org> ---
(In reply to H.J. Lu from comment #10)
> (In reply to Mark Wielaard from comment #9)
> > This patch fixes the issue with the reported binary in this bug and with the
> > i386 glibc ld.so created on fedora (when build with ld -z separate-code).
> 
> It doesn't fix:
> 
> https://github.com/hjl-tools/simple-linux/tree/divide-by-zero

yes, you are right, but isn't that a totally different case? Your example seems
to have everything in a single rx segment and then a zero size rw segment.

Is that something that is specific to they way you created that testcase
without actually linking against any library, or does that happen normally in
some configurations?

I think it is best to create a new bug for this case and post the specific
patch that solves this issue in that bug.

Even though your patches might be totally correct and help fix this issue I
found it hard to reason about them because some just seemed to disable various
asserts without updating the comments that explained why we needed those
asserts (if the comments are wrong, please update them together with the code
changes).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to