summaryrefslogtreecommitdiff
path: root/libffi
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2010-01-06 14:22:26 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2010-01-06 14:22:26 +0000
commitb06c85e09a897373896e54dbd52521122f7f0ed6 (patch)
treefae9d867b614cf1c9fb87f61e7f3ea6e80fcdd0a /libffi
parent523ab96222ea643ad2757032700563d07428aa11 (diff)
downloadgcc-b06c85e09a897373896e54dbd52521122f7f0ed6.tar.gz
* src/mips/n32.S: Use .abicalls and .eh_frame with __GNUC__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155674 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi')
-rw-r--r--libffi/ChangeLog4
-rw-r--r--libffi/src/mips/n32.S8
2 files changed, 8 insertions, 4 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog
index becf7d4e857..f9f55c91066 100644
--- a/libffi/ChangeLog
+++ b/libffi/ChangeLog
@@ -1,3 +1,7 @@
+2010-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * src/mips/n32.S: Use .abicalls and .eh_frame with __GNUC__.
+
2009-12-31 Anthony Green <green@redhat.com>
* README: Update for libffi 3.0.9.
diff --git a/libffi/src/mips/n32.S b/libffi/src/mips/n32.S
index 81e81bcb4e9..ae23094667c 100644
--- a/libffi/src/mips/n32.S
+++ b/libffi/src/mips/n32.S
@@ -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