]> sourceware.org Git - glibc.git/blobdiff - sysdeps/mips/elf/start.S
2000-04-21 Andreas Jaeger <aj@suse.de>
[glibc.git] / sysdeps / mips / elf / start.S
index b432953251cdcb15312471a7c2f71110ef82a2b8..7fee4e71c36aeb048d5faa5b7c1db4896d3a7c20 100644 (file)
@@ -51,7 +51,7 @@
                      char **argv, void (*init) (void), void (*fini) (void),
                      void (*rtld_fini) (void), void *stack_end)
 */
-#ifdef PIC
+#ifdef __PIC__
 /* A macro to (re)initialize gp. We can get the run time address of 0f in
    ra ($31) by blezal instruction. In this early phase, we can't save gp
    in stack and .cprestore doesn't work properly. So we set gp by using
@@ -67,7 +67,7 @@
        .text
        .globl ENTRY_POINT
 ENTRY_POINT:
-#ifdef PIC
+#ifdef __PIC__
        SET_GP
 #endif
        move $31, $0
@@ -93,7 +93,6 @@ ENTRY_POINT:
        sw $2, 20($29)          /* rtld_fini */
        sw $29, 24($29)         /* stack_end */
        jal __libc_start_main
-
 hlt:   b hlt                   /* Crash if somehow it does return.  */
 
 /* Define a symbol for the first piece of initialized data.  */
This page took 0.025234 seconds and 5 git commands to generate.