Use a GNU ld version script to hide all symbols
authorMatt Mullins <mmullins@mmlx.us>
Mon, 26 May 2014 01:24:50 +0000 (18:24 -0700)
committerMatt Mullins <mmullins@mmlx.us>
Mon, 26 May 2014 02:21:10 +0000 (19:21 -0700)
commit02728eda1f6228507f3753b197cf9520d3522472
treedf86ec4fdc712ef438da83d773864c4afddb06b9
parent0228a6911c2c8894ed9b15b5250d4ade6d03fd01
Use a GNU ld version script to hide all symbols

Without this, running clang (or anything else that uses LLVM) will crash
because we might LD_PRELOAD the wrong symbol versions into its binary.

We don't need to export any symbols at all, since everything is done via the
.init section.  This library just needs to be mapped in memory somewhere so our
function pointers don't disappear.
Makefile.am
version [new file with mode: 0644]