* Summary of recent changes, ssp-libc support!
@ 2015-04-14 0:38 Rich Felker
0 siblings, 0 replies; only message in thread
From: Rich Felker @ 2015-04-14 0:38 UTC (permalink / raw)
To: musl
There've been a series of big changes in musl over the past few days.
Big in impact, that is; actually, the diffs ended up being a lot
smaller than I expected.
1. The dynamic linker has dropped a lot of assumptions; see the
"Dynamic linker changes" mail thread for details, along with commit
f3ddd173806fd5c60b3f034528ca24542aecc5b9.
2. Support for running without a thread pointer has been fully
removed, completing phase 3 of the "Transition path for removing
lazy init of thread pointer" project laid out during the 1.1.0
release cycle. This removes a good bit of cruft/bloat. Removal was
in commit 19a1fe670acb3ab9ead0fe31859ca7d4fe40dd54; the work that
made it possible was in commit
71f099cb7db821c51d8f39dfac622c61e54d794c and those leading up to
it, including the dynamic linker work (see 1 above).
3. Building libc itself with stack protector is now possible! This was
one of the big motivations for the above changes. Commit
1ef849c6ec6a4e30badc844371cdf1b9eedfba57 put on the finishing
touches, but it was really items 1 and 2 above that made it
possible.
Some future developments that could be built upon the above:
- Official, clean arch-agnostic support for static-PIE binaries.
- Eliminating the need for -Bsymbolic-functions.
- Possibly supporting symbol interposition in front of libc symbols.
Right now the net size difference for libc.so is a slight increase,
but I'm working on a setup for (optionally, if the compiler supports
it) building libc.so with protected visibility, which gives a
significant size reduction and speed increase.
Rich
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-04-14 0:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-14 0:38 Summary of recent changes, ssp-libc support! Rich Felker
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).