diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-05-26 03:37:41 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-05-26 03:37:41 -0400 |
commit | dc031ee0b1ba11baa00cd7f0769e461a5f396c71 (patch) | |
tree | 2d157d390496596007e366af3403745db2d39ac1 /src/locale/big5.h | |
parent | ed0c8249825161036356a3616e8c5247c15d0927 (diff) | |
download | musl-dc031ee0b1ba11baa00cd7f0769e461a5f396c71.tar.gz musl-dc031ee0b1ba11baa00cd7f0769e461a5f396c71.tar.xz musl-dc031ee0b1ba11baa00cd7f0769e461a5f396c71.zip |
add rcrt1 start file for fully static-linked PIE
static-linked PIE files need startup code to relocate themselves, much like the dynamic linker does. rcrt1.c reuses the code in dlstart.c, stage 1 of the dynamic linker, which in turn reuses crt_arch.h, to achieve static PIE with no new code. only relative relocations are supported. existing toolchains that don't yet support static PIE directly can be repurposed by passing "-shared -Wl,-Bstatic -Wl,-Bsymbolic" instead of "-static -pie" and substituting rcrt1.o in place of crt1.o. all libraries being linked must be built as PIC/PIE; TEXTRELs are not supported at this time.
Diffstat (limited to 'src/locale/big5.h')
0 files changed, 0 insertions, 0 deletions