summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-06-25 22:27:41 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-06-25 22:27:41 +0000
commite82535f90ab87d64375e74b3641c627bd2f122d2 (patch)
treeb27f39c5a689a63dacd7acbeff70257c77c2ddf9
parenta10edf52674e1db9092ce4cc8312d5dbafed56d5 (diff)
Change L_Scrt1 to __PIC__
-rw-r--r--libc/sysdeps/linux/arm/crt1.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/arm/crt1.S b/libc/sysdeps/linux/arm/crt1.S
index 86d6036d8..d37c2d421 100644
--- a/libc/sysdeps/linux/arm/crt1.S
+++ b/libc/sysdeps/linux/arm/crt1.S
@@ -93,7 +93,7 @@ _start:
/* Push rtld_fini */
str a1, [sp, #-4]!
-#ifdef L_Scrt1
+#ifdef __PIC__
ldr sl, .L_GOT
.L_GOT_OFF:
add sl, pc, sl
@@ -126,7 +126,7 @@ _start:
b __uClibc_main
#endif
-#ifdef L_Scrt1
+#ifdef __PIC_
.L_GOT:
.word _GLOBAL_OFFSET_TABLE_-(.L_GOT_OFF+8)
.word _fini(GOT)