summaryrefslogtreecommitdiff
path: root/sysdeps/x86/libc-start.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86/libc-start.c')
-rw-r--r--sysdeps/x86/libc-start.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/x86/libc-start.c b/sysdeps/x86/libc-start.c
index 43aba9d061..eb5335c154 100644
--- a/sysdeps/x86/libc-start.c
+++ b/sysdeps/x86/libc-start.c
@@ -16,6 +16,9 @@
<http://www.gnu.org/licenses/>. */
#ifndef SHARED
+/* Define I386_USE_SYSENTER to support syscall during startup in static
+ PIE. */
+# include <startup.h>
# include <ldsodefs.h>
# include <cpu-features.h>
# include <cpu-features.c>