Isaac Dunham
2012-10-14 05:01:06 UTC
On Sat, 13 Oct 2012 21:44:23 -0700
Also, there's an issue that makes for higher ram use (I quote Rich's comments):
pcc puts static const tables in .data.rel.ro instead of .rodata;
this should be conditional on whether they contain relocations.
data.rel.ro consumes commit charge, so instead of 12k of overhead for shared musl you have >128k of overhead
1. PCC's support for __attribute__(visibility("hidden")) is buggy.
The workaround [2] is suboptimal, although it runs.
The issue here is that hidden visibility does not use GOT-relative (@GOTOFF) addressing.The workaround [2] is suboptimal, although it runs.
Also, there's an issue that makes for higher ram use (I quote Rich's comments):
pcc puts static const tables in .data.rel.ro instead of .rodata;
this should be conditional on whether they contain relocations.
data.rel.ro consumes commit charge, so instead of 12k of overhead for shared musl you have >128k of overhead
Thanks,
[1] http://musl-libc.org
[2] http://git.musl-libc.org/cgit/musl/commit/?id=e23d358fd6254d88c85750a23cd1234855c3292c
and
http://git.musl-libc.org/cgit/musl/commit/?id=36be5284c2a79406778ac489928c6deb05857329
[1] http://musl-libc.org
[2] http://git.musl-libc.org/cgit/musl/commit/?id=e23d358fd6254d88c85750a23cd1234855c3292c
and
http://git.musl-libc.org/cgit/musl/commit/?id=36be5284c2a79406778ac489928c6deb05857329