]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/bfin/crti.s
bfin.h (TARGET_CPU_CPP_BUILTINS): If TARGET_ID_SHARED_LIBRARY, define __ID_SHARED_LIB__.
[thirdparty/gcc.git] / gcc / config / bfin / crti.s
index 84a98597c23b44b59923e5478cd5d39ff36b8130..5a13df19bbd501c98cc0c251f96bcad16a6db762 100644 (file)
@@ -38,21 +38,21 @@ Boston, MA 02110-1301, USA.  */
        .globl  __init
        .type   __init,@function
 __init:
-#if defined __PIC__
+#if defined __ID_SHARED_LIB__
        [--SP] = P5;
 #endif
        LINK 12;
-#if defined __PIC__
+#if defined __ID_SHARED_LIB__
        P5 = [P5 + _current_shared_library_p5_offset_]
 #endif 
        .section .fini
        .globl  __fini
        .type   __fini,@function
 __fini:
-#if defined __PIC__
+#if defined __ID_SHARED_LIB__
        [--SP] = P5; 
 #endif
        LINK 12; 
-#if defined __PIC__
+#if defined __ID_SHARED_LIB__
        P5 = [P5 + _current_shared_library_p5_offset_]
 #endif