On Mon, Apr 15, 2019 at 01:54:11PM +0200, Florian Weimer wrote: > * Richard Biener: > > > Of course adding sth like a .robss section would be nice. > > I think this is strictly a link editor issue because a read-only PT_LOAD > directive with a memory size larger than the file size already produces > read-only zero pages, without requiring a file allocation.
But .rodata normally is not the last thing in its segment (the .eh* things are after it, and those are usually not all zero). Segher