diff options
Diffstat (limited to 'csu/libc-start.c')
-rw-r--r-- | csu/libc-start.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/csu/libc-start.c b/csu/libc-start.c index 5b9ce1d..a2f6e12 100644 --- a/csu/libc-start.c +++ b/csu/libc-start.c @@ -15,6 +15,10 @@ License along with the GNU C Library; if not, see <https://www.gnu.org/licenses/>. */ +/* Mark symbols hidden in static PIE for early self relocation to work. */ +#if BUILD_PIE_DEFAULT +# pragma GCC visibility push(hidden) +#endif #include <assert.h> #include <stdlib.h> #include <stdio.h> |