diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-09-22 19:12:48 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-09-22 19:12:48 +0000 |
commit | eaf7ab6e24914bae8092edf05919e43f10092533 (patch) | |
tree | c8edb3a56ddc9dde0a6d1ff6e81e77f5e64893ce /src/internal | |
parent | 2462370b4fad6f7a05abc65407369d4f621bf85e (diff) | |
download | musl-eaf7ab6e24914bae8092edf05919e43f10092533.tar.gz |
add real fdpic loading of shared libraries
previously, the normal ELF library loading code was used even for
fdpic, so only the kernel-loaded dynamic linker and main app could
benefit from separate placement of segments and shared text.
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/dynlink.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/internal/dynlink.h b/src/internal/dynlink.h index b9333926..86f379e6 100644 --- a/src/internal/dynlink.h +++ b/src/internal/dynlink.h @@ -56,6 +56,10 @@ struct fdpic_dummy_loadmap { #include "reloc.h" +#ifndef FDPIC_CONSTDISP_FLAG +#define FDPIC_CONSTDISP_FLAG 0 +#endif + #ifndef DL_FDPIC #define DL_FDPIC 0 #endif |