[Bug ld/22393] Add read-only segment

2018-11-09 Thread zackw at panix dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22393 --- Comment #9 from Zack Weinberg --- OK, thanks for the clarification. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.or

[Bug ld/22393] Add read-only segment

2018-11-09 Thread zackw at panix dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22393 --- Comment #7 from Zack Weinberg --- Thanks for doing this, H.J. I'm confused - is -z separate-code the new default or not? The patch reads like it's not the default, but the demo you posted in #16685 makes it look like it is the default.

[Bug ld/16685] New: Read-only data sections should not be executable

2014-03-10 Thread zackw at panix dot com
Component: ld Assignee: unassigned at sourceware dot org Reporter: zackw at panix dot com The usual ELF linker scripts lump a variety of "read-only data" sections into the same program segment as the actual code ("text"), thus allowing data in those section