From e82535f90ab87d64375e74b3641c627bd2f122d2 Mon Sep 17 00:00:00 2001 From: Joakim Tjernlund Date: Sat, 25 Jun 2005 22:27:41 +0000 Subject: Change L_Scrt1 to __PIC__ --- libc/sysdeps/linux/arm/crt1.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc') 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) -- cgit v1.2.3