summaryrefslogtreecommitdiff
path: root/ext/ffi_c/libffi/src/x86/unix64.S
diff options
context:
space:
mode:
authortduehr <tduehr@gmail.com>2015-03-19 16:44:33 -0700
committertduehr <tduehr@gmail.com>2015-06-17 09:01:47 -0500
commite9d07620ae8ac090863998d22ab7ca0db9cd1e89 (patch)
treeba0c75a8e11e88123926cb9817a3bb0a7c1b157b /ext/ffi_c/libffi/src/x86/unix64.S
parent194784d60f53e242a8aab88c216126785dc047dd (diff)
downloadffi-e9d07620ae8ac090863998d22ab7ca0db9cd1e89.tar.gz
update libffilibffi-3.2.1
Diffstat (limited to 'ext/ffi_c/libffi/src/x86/unix64.S')
-rw-r--r--ext/ffi_c/libffi/src/x86/unix64.S10
1 files changed, 8 insertions, 2 deletions
diff --git a/ext/ffi_c/libffi/src/x86/unix64.S b/ext/ffi_c/libffi/src/x86/unix64.S
index 7a6619a..dcd6bc7 100644
--- a/ext/ffi_c/libffi/src/x86/unix64.S
+++ b/ext/ffi_c/libffi/src/x86/unix64.S
@@ -1,6 +1,7 @@
/* -----------------------------------------------------------------------
- unix64.S - Copyright (c) 2002 Bo Thorsen <bo@suse.de>
- Copyright (c) 2008 Red Hat, Inc
+ unix64.S - Copyright (c) 2013 The Written Word, Inc.
+ - Copyright (c) 2008 Red Hat, Inc
+ - Copyright (c) 2002 Bo Thorsen <bo@suse.de>
x86-64 Foreign Function Interface
@@ -324,6 +325,9 @@ ffi_closure_unix64:
.LUW9:
.size ffi_closure_unix64,.-ffi_closure_unix64
+#ifdef __GNUC__
+/* Only emit DWARF unwind info when building with the GNU toolchain. */
+
#ifdef HAVE_AS_X86_64_UNWIND_SECTION_TYPE
.section .eh_frame,"a",@unwind
#else
@@ -419,6 +423,8 @@ ffi_closure_unix64:
.align 8
.LEFDE3:
+#endif /* __GNUC__ */
+
#endif /* __x86_64__ */
#if defined __ELF__ && defined __linux__