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

--- Comment #10 from H.J. Lu <hjl.to...@gmail.com> ---
(In reply to Mark Wielaard from comment #9)
> Created attachment 113898 [details]
> Accept read-only PT_LOAD segments and .rodata by ld -z separate-code
> 
> I combined Tom's fix for separate read-only segments with the .rodata
> reading fix from H.J., but changed it to always use the bias from the loaded
> range. I wasn't comfortable with all the changes in the asserts especially
> because they would contradict the comments directly before them. And they
> seemed unnecessary.
> 
> 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

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

Reply via email to