aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/arm/start.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/arm/start.S')
-rw-r--r--sysdeps/arm/start.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/arm/start.S b/sysdeps/arm/start.S
index 4973878..a5c678b6 100644
--- a/sysdeps/arm/start.S
+++ b/sysdeps/arm/start.S
@@ -89,7 +89,7 @@ _start:
/* Push rtld_fini */
push { a1 }
-#ifdef SHARED
+#ifdef PIC
ldr sl, .L_GOT
adr a4, .L_GOT
add sl, sl, a4
@@ -127,7 +127,7 @@ _start:
/* should never get here....*/
bl abort
-#ifdef SHARED
+#ifdef PIC
.align 2
.L_GOT:
.word _GLOBAL_OFFSET_TABLE_ - .L_GOT