aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64/start.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86_64/start.S')
-rw-r--r--sysdeps/x86_64/start.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/x86_64/start.S b/sysdeps/x86_64/start.S
index 62a00ea..9edd17b 100644
--- a/sysdeps/x86_64/start.S
+++ b/sysdeps/x86_64/start.S
@@ -96,7 +96,7 @@ ENTRY (_start)
which grow downwards). */
pushq %rsp
-#ifdef SHARED
+#ifdef PIC
/* Pass address of our own entry points to .fini and .init. */
mov __libc_csu_fini@GOTPCREL(%rip), %R8_LP
mov __libc_csu_init@GOTPCREL(%rip), %RCX_LP