OSDN Git Service

* src/mips/n32.S: Use .abicalls and .eh_frame with __GNUC__.
[pf3gnuchains/gcc-fork.git] / libffi / src / mips / n32.S
index 81e81bc..ae23094 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------
-   n32.S - Copyright (c) 1996, 1998, 2005  Red Hat, Inc.
+   n32.S - Copyright (c) 1996, 1998, 2005, 2007, 2009, 2010  Red Hat, Inc.
    
    MIPS Foreign Function Interface 
 
@@ -40,7 +40,7 @@
 
 #define SIZEOF_FRAME   ( 8 * FFI_SIZEOF_ARG )
 
-#ifdef linux
+#ifdef __GNUC__
        .abicalls
 #endif
        .text
@@ -529,7 +529,7 @@ cls_epilogue:
 .LFE2: 
        .end    ffi_closure_N32
 
-#ifdef linux
+#ifdef __GNUC__
         .section        .eh_frame,"aw",@progbits
 .Lframe1:
         .4byte  .LECIE1-.LSCIE1                # length
@@ -586,6 +586,6 @@ cls_epilogue:
        .uleb128 (SIZEOF_FRAME2 - RA_OFF2)/4
        .align  EH_FRAME_ALIGN
 .LEFDE3:
-#endif /* linux */     
+#endif /* __GNUC__ */  
        
 #endif