summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2012-09-14 23:45:27 +0000
committerasau <asau@pkgsrc.org>2012-09-14 23:45:27 +0000
commita8ac0dbf3f120ebaeab95ab189acbd1ec93d529e (patch)
tree9c66f66ccb689dc700a39a04c421e71d7b1d7dba
parent6db4e8048abc827cc2c6567509103bbcdaf75949 (diff)
downloadpkgsrc-a8ac0dbf3f120ebaeab95ab189acbd1ec93d529e.tar.gz
Update to libffi 3.0.11
3.0.11 Apr-11-12 Add support for variadic functions (ffi_prep_cif_var). Add Linux/x32 support. Add thiscall, fastcall and MSVC cdecl support on Windows. Add Amiga and newer MacOS support. Add m68k FreeMiNT support. Integration with iOS' xcode build tools. Fix Octeon and MC68881 support. Fix code pessimizations. Lots of build fixes. 3.0.10 Aug-23-11 Add support for Apple's iOS. Add support for ARM VFP ABI. Add RTEMS support for MIPS and M68K. Fix instruction cache clearing problems on ARM and SPARC. Fix the N64 build on mips-sgi-irix6.5. Enable builds with Microsoft's compiler. Enable x86 builds with Oracle's Solaris compiler. Fix support for calling code compiled with Oracle's Sparc Solaris compiler. Testsuite fixes for Tru64 Unix. Additional platform support.
-rw-r--r--devel/libffi/Makefile6
-rw-r--r--devel/libffi/PLIST5
-rw-r--r--devel/libffi/distinfo19
-rw-r--r--devel/libffi/patches/patch-aa80
-rw-r--r--devel/libffi/patches/patch-ab17
-rw-r--r--devel/libffi/patches/patch-ae46
-rw-r--r--devel/libffi/patches/patch-af30
-rw-r--r--devel/libffi/patches/patch-aj48
-rw-r--r--devel/libffi/patches/patch-src_arm_sysv.S17
-rw-r--r--devel/libffi/patches/patch-src_x86_unix64.S18
10 files changed, 97 insertions, 189 deletions
diff --git a/devel/libffi/Makefile b/devel/libffi/Makefile
index 2fa8816fb0f..89162a95e1d 100644
--- a/devel/libffi/Makefile
+++ b/devel/libffi/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2011/09/27 15:12:37 tez Exp $
+# $NetBSD: Makefile,v 1.17 2012/09/14 23:45:27 asau Exp $
#
-DISTNAME= libffi-3.0.9
-PKGREVISION= 1
+DISTNAME= libffi-3.0.11
CATEGORIES= devel
MASTER_SITES= ftp://sourceware.org/pub/libffi/
@@ -34,6 +33,7 @@ pre-build:
.if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
TEST_TARGET= check
+TEST_ENV=
BUILD_DEPENDS+= dejagnu-[0-9]*:../../devel/dejagnu
.endif
diff --git a/devel/libffi/PLIST b/devel/libffi/PLIST
index 53b7160a305..b3393dd0ca3 100644
--- a/devel/libffi/PLIST
+++ b/devel/libffi/PLIST
@@ -1,9 +1,10 @@
-@comment $NetBSD: PLIST,v 1.3 2008/10/11 22:33:56 dholland Exp $
+@comment $NetBSD: PLIST,v 1.4 2012/09/14 23:45:27 asau Exp $
include/ffi.h
include/ffitarget.h
+info/libffi.info
lib/libffi.la
lib/pkgconfig/libffi.pc
man/man3/ffi.3
man/man3/ffi_call.3
man/man3/ffi_prep_cif.3
-info/libffi.info
+man/man3/ffi_prep_cif_var.3
diff --git a/devel/libffi/distinfo b/devel/libffi/distinfo
index da98ab10161..06f41570aff 100644
--- a/devel/libffi/distinfo
+++ b/devel/libffi/distinfo
@@ -1,18 +1,15 @@
-$NetBSD: distinfo,v 1.21 2012/05/30 09:13:16 jperkin Exp $
+$NetBSD: distinfo,v 1.22 2012/09/14 23:45:27 asau Exp $
-SHA1 (libffi-3.0.9.tar.gz) = 56e41f87780e09d06d279690e53d4ea2c371ea88
-RMD160 (libffi-3.0.9.tar.gz) = 11ff9aeb62f4fbe1fecf09e6f9814a72bfedb37a
-Size (libffi-3.0.9.tar.gz) = 731719 bytes
-SHA1 (patch-aa) = b8b056489723a0df18785ba61aeb1ff76d5d50a4
-SHA1 (patch-ab) = a63e2fa11c16410f280de19c1ef47e6c7884c2b8
+SHA1 (libffi-3.0.11.tar.gz) = bff6a6c886f90ad5e30dee0b46676e8e0297d81d
+RMD160 (libffi-3.0.11.tar.gz) = 2495e499b63bed7e334ea15979f2eb24ed12ef9a
+Size (libffi-3.0.11.tar.gz) = 794220 bytes
+SHA1 (patch-aa) = 2a8dbee6b0c52494f4e291f131fd385129ce9811
SHA1 (patch-ac) = f3c6324f4334d23e684b4eca25173a13be5d37eb
SHA1 (patch-ad) = 8901a00abe25422e3e35f321a5fb89311185fc0b
-SHA1 (patch-ae) = afa76db773a64cc0d2b12d6ed5e57a8a1abf24f6
-SHA1 (patch-af) = 953646a2eb653fe2ebfabe369f397d39c4c398b2
+SHA1 (patch-ae) = 039cd7de52af05a965616b603f9a0865c3b19c88
+SHA1 (patch-af) = 2c7ca79ef980a2561333bf79a18df1ecb0bbb9f7
SHA1 (patch-ag) = 6333317170f6e92f89db966315276dcd8e3484f2
SHA1 (patch-ah) = e9580069ede90cd616da7bc230b28acbf5d204a6
SHA1 (patch-ai) = f85a6cb64d4a9d7c3e56b47b7092fce10a744b5b
-SHA1 (patch-aj) = cd8369bef0149ed044ef16c0eae7b537b4090f1f
+SHA1 (patch-aj) = d130b2b20b94ca26c70dcc46614e36c6d0ac9153
SHA1 (patch-fficonfig.h.in) = fd85fa767bc057c843ff71cc61bedfcff84def43
-SHA1 (patch-src_arm_sysv.S) = b4a4a1641e116df8dd9bd3896e6bfaa759489cb3
-SHA1 (patch-src_x86_unix64.S) = 7d5229c59ff29d77cf2cc3aa3238affb09208c44
diff --git a/devel/libffi/patches/patch-aa b/devel/libffi/patches/patch-aa
index 6cdcd1dbfa6..d070c927174 100644
--- a/devel/libffi/patches/patch-aa
+++ b/devel/libffi/patches/patch-aa
@@ -1,37 +1,37 @@
-$NetBSD: patch-aa,v 1.12 2012/05/30 09:13:16 jperkin Exp $
+$NetBSD: patch-aa,v 1.13 2012/09/14 23:45:27 asau Exp $
Extend which ports we accept to deal with.
---- configure.orig 2009-12-31 12:41:51.000000000 +0000
+--- configure.orig 2012-04-12 03:13:17.000000000 +0000
+++ configure
-@@ -12167,7 +12167,7 @@ case "$host" in
+@@ -13158,7 +13158,7 @@ case "$host" in
TARGET=FRV; TARGETDIR=frv
;;
-- hppa*-*-linux* | parisc*-*-linux*)
-+ hppa*-*-linux* | hppa*-*-netbsd* | parisc*-*-linux*)
+- hppa*-*-linux* | parisc*-*-linux* | hppa*-*-openbsd*)
++ hppa*-*-linux* | hppa*-*-netbsd* | parisc*-*-linux* | hppa*-*-openbsd*)
TARGET=PA_LINUX; TARGETDIR=pa
;;
hppa*64-*-hpux*)
-@@ -12210,7 +12210,7 @@ case "$host" in
- mips-sgi-irix5.* | mips-sgi-irix6.*)
+@@ -13208,7 +13208,7 @@ case "$host" in
+ mips-sgi-irix5.* | mips-sgi-irix6.* | mips*-*-rtems*)
TARGET=MIPS; TARGETDIR=mips
;;
-- mips*-*-linux*)
-+ mips*-*-linux* | mips*-*-netbsd*)
+- mips*-*-linux* | mips*-*-openbsd*)
++ mips*-*-linux* | mips*-*-netbsd* | mips*-*-openbsd*)
# Support 128-bit long double for NewABI.
HAVE_LONG_DOUBLE='defined(__mips64)'
TARGET=MIPS; TARGETDIR=mips
-@@ -12228,7 +12228,7 @@ case "$host" in
+@@ -13233,7 +13233,7 @@ case "$host" in
powerpc-*-aix* | rs6000-*-aix*)
TARGET=POWERPC_AIX; TARGETDIR=powerpc
;;
-- powerpc-*-freebsd*)
-+ powerpc-*-freebsd* | powerpc-*-netbsd*)
+- powerpc-*-freebsd* | powerpc-*-openbsd*)
++ powerpc-*-freebsd* | powerpc-*-netbsd* | powerpc-*-openbsd*)
TARGET=POWERPC_FREEBSD; TARGETDIR=powerpc
;;
- powerpc*-*-rtems*)
-@@ -12239,7 +12239,7 @@ case "$host" in
+ powerpc64-*-freebsd*)
+@@ -13247,7 +13247,7 @@ case "$host" in
TARGET=S390; TARGETDIR=s390
;;
@@ -40,35 +40,23 @@ Extend which ports we accept to deal with.
TARGET=SH; TARGETDIR=sh
;;
sh64-*-* | sh5*-*-*)
-@@ -14510,6 +14510,31 @@
- ;;
- esac
-
-+if test x$TARGET = xX86_64; then
-+ { $as_echo "$as_me:$LINENO: checking assembler supports unwind section type" >&5
-+$as_echo_n "checking assembler supports unwind section type... " >&6; }
-+if test "${libffi_cv_as_x86_64_unwind_section_type+set}" = set; then
-+ $as_echo_n "(cached) " >&6
-+else
-+
-+ libffi_cv_as_x86_64_unwind_section_type=yes
-+ echo '.section .eh_frame,"a",@unwind' > conftest.s
-+ if $CC $CFLAGS -c conftest.s 2>&1 | grep -i warning > /dev/null; then
-+ libffi_cv_as_x86_64_unwind_section_type=no
-+ fi
-+
-+fi
-+{ $as_echo "$as_me:$LINENO: result: $libffi_cv_as_x86_64_unwind_section_type" >&5
-+$as_echo "$libffi_cv_as_x86_64_unwind_section_type" >&6; }
-+ if test "x$libffi_cv_as_x86_64_unwind_section_type" = xyes; then
-+
-+cat >>confdefs.h <<\_ACEOF
-+#define HAVE_AS_X86_64_UNWIND_SECTION_TYPE 1
-+_ACEOF
-+
-+ fi
-+fi
-+
- { $as_echo "$as_me:$LINENO: checking whether .eh_frame section should be read-only" >&5
- $as_echo_n "checking whether .eh_frame section should be read-only... " >&6; }
- if test "${libffi_cv_ro_eh_frame+set}" = set; then
+@@ -16446,13 +16446,13 @@ s/ [a-zA-Z0-9-]*-all [a-zA-Z0-9-]*-all-a
+ /-all-all/d
+ a\\
+ @ HOST="\$(HOST)\" \\\\\\
+- ; test ".\$\$HOST" = "." && HOST=$x sh $ax_enable_builddir_auxdir/config.guess $x \\\\\\
+- ; BUILD=$x grep "^#### \$\$HOST " Makefile | sed -e 's/.*|//' $x \\\\\\
+- ; use=$x basename "\$\@" -all $x; n=$x echo \$\$BUILD | wc -w $x \\\\\\
+- ; echo "MAKE \$\$HOST : \$\$n * \$\@"; if test "\$\$n" -eq "0" ; then : \\\\\\
+- ; BUILD=$x grep "^####.*|" Makefile |tail -1| sed -e 's/.*|//' $x ; fi \\\\\\
++ ; test ".\$\$HOST" = "." && HOST="$x sh $ax_enable_builddir_auxdir/config.guess $x" \\\\\\
++ ; BUILD="$x grep "^#### \$\$HOST " Makefile | sed -e 's/.*|//' $x" \\\\\\
++ ; use="$x basename "\$\@" -all $x"; n="$x echo \$\$BUILD | wc -w $x" \\\\\\
++ ; echo "MAKE \$\$HOST : \$\$n * \$\@"; if test \$\$n = "0" ; then : \\\\\\
++ ; BUILD="$x grep "^####.*|" Makefile |tail -1| sed -e 's/.*|//' $x" ; fi \\\\\\
+ ; test ".\$\$BUILD" = "." && BUILD="." \\\\\\
+- ; test "\$\$use" = "\$\@" && BUILD=$x echo "\$\$BUILD" | tail -1 $x \\\\\\
++ ; test "\$\$use" = "\$\@" && BUILD="$x echo "\$\$BUILD" | tail -1 $x" \\\\\\
+ ; for i in \$\$BUILD ; do test ".\$\$i" = "." && continue \\\\\\
+ ; (cd "\$\$i" && test ! -f configure && \$(MAKE) \$\$use) || exit; done
+ /dist-all *:/a\\
diff --git a/devel/libffi/patches/patch-ab b/devel/libffi/patches/patch-ab
deleted file mode 100644
index f656d7a0479..00000000000
--- a/devel/libffi/patches/patch-ab
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-ab,v 1.4 2010/01/16 16:28:58 asau Exp $
-
---- src/x86/ffitarget.h.orig 2009-12-29 18:22:26.000000000 +0300
-+++ src/x86/ffitarget.h 2010-01-12 12:42:54.000000000 +0300
-@@ -74,10 +74,10 @@
- #else
-
- /* ---- Intel x86 and AMD x86-64 - */
--#if !defined(X86_WIN32) && (defined(__i386__) || defined(__x86_64__))
-+#if !defined(X86_WIN32) && (defined(__i386__) || defined(__i386) || defined(__x86_64__))
- FFI_SYSV,
- FFI_UNIX64, /* Unix variants all use the same ABI for x86-64 */
--#ifdef __i386__
-+#if defined(__i386__) || defined(__i386)
- FFI_DEFAULT_ABI = FFI_SYSV,
- #else
- FFI_DEFAULT_ABI = FFI_UNIX64,
diff --git a/devel/libffi/patches/patch-ae b/devel/libffi/patches/patch-ae
index 0c680de2920..5ba7e4e21fd 100644
--- a/devel/libffi/patches/patch-ae
+++ b/devel/libffi/patches/patch-ae
@@ -1,45 +1,27 @@
-$NetBSD: patch-ae,v 1.3 2010/03/30 09:21:30 jmcneill Exp $
+$NetBSD: patch-ae,v 1.4 2012/09/14 23:45:27 asau Exp $
Make a minimal adjustment to support the various NetBSD mips ports.
---- src/mips/ffitarget.h.orig 2009-12-29 10:22:26.000000000 -0500
-+++ src/mips/ffitarget.h 2010-03-30 05:08:48.000000000 -0400
-@@ -27,20 +27,27 @@
- #ifndef LIBFFI_TARGET_H
- #define LIBFFI_TARGET_H
+--- src/mips/ffitarget.h.orig 2012-04-12 02:46:06.000000000 +0000
++++ src/mips/ffitarget.h
+@@ -32,7 +32,7 @@
+ #error "Please do not include ffitarget.h directly into your source. Use ffi.h instead."
+ #endif
-#ifdef linux
+#if defined(linux)
# include <asm/sgidefs.h>
--#else
+ #elif defined(__rtems__)
+ /*
+@@ -41,8 +41,10 @@
+ #define _MIPS_SIM_ABI32 1
+ #define _MIPS_SIM_NABI32 2
+ #define _MIPS_SIM_ABI64 3
+-#elif !defined(__OpenBSD__)
+#elif defined(irix)
# include <sgidefs.h>
+#else
+# include <sys/cdefs.h>
-+#endif
-+#ifndef _ABIN32
-+# define _ABIN32 _MIPS_SIM_NABI32
-+#endif
-+#ifndef _ABI64
-+# define _ABI64 _MIPS_SIM_ABI64
-+#endif
-+#ifndef _ABIO32
-+# define _ABIO32 _MIPS_SIM_ABI32
-+#endif
-+
-+#ifndef _MIPS_SIM
-+/* Let's cheat a bit... */
-+# define _MIPS_SIM _ABIO32
#endif
--# ifndef _ABIN32
--# define _ABIN32 _MIPS_SIM_NABI32
--# endif
--# ifndef _ABI64
--# define _ABI64 _MIPS_SIM_ABI64
--# endif
--# ifndef _ABIO32
--# define _ABIO32 _MIPS_SIM_ABI32
--# endif
- #if !defined(_MIPS_SIM)
- -- something is very wrong --
+ # ifndef _ABIN32
diff --git a/devel/libffi/patches/patch-af b/devel/libffi/patches/patch-af
index 9be73742529..3b6ed649b18 100644
--- a/devel/libffi/patches/patch-af
+++ b/devel/libffi/patches/patch-af
@@ -1,10 +1,10 @@
-$NetBSD: patch-af,v 1.2 2010/03/30 09:21:30 jmcneill Exp $
+$NetBSD: patch-af,v 1.3 2012/09/14 23:45:27 asau Exp $
Fixes to support the various NetBSD mips ports.
---- src/mips/ffi.c.orig 2009-12-29 10:22:26.000000000 -0500
-+++ src/mips/ffi.c 2010-03-30 04:57:29.000000000 -0400
-@@ -32,12 +32,19 @@
+--- src/mips/ffi.c.orig 2011-08-23 18:28:08.000000000 +0400
++++ src/mips/ffi.c 2012-02-19 20:04:17.000000000 +0400
+@@ -33,12 +33,17 @@
#ifdef __GNUC__
# if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3))
@@ -16,17 +16,15 @@ Fixes to support the various NetBSD mips ports.
#endif
#ifndef USE__BUILTIN___CLEAR_CACHE
--#include <sys/cachectl.h>
-+# if !defined(__NetBSD__)
-+# include <sys/cachectl.h>
-+# else
+-# if defined(__OpenBSD__)
++# if defined(__NetBSD__)
+# include <mips/cachectl.h>
+# define cacheflush _cacheflush
-+# endif
- #endif
-
- #ifdef FFI_DEBUG
-@@ -460,6 +467,7 @@ ffi_status ffi_prep_cif_machdep(ffi_cif
++# elif defined(__OpenBSD__)
+ # include <mips64/sysarch.h>
+ # else
+ # include <sys/cachectl.h>
+@@ -465,6 +470,7 @@
((cif->arg_types)[index]->type << (arg_reg * FFI_FLAG_BITS));
arg_reg++;
break;
@@ -34,7 +32,7 @@ Fixes to support the various NetBSD mips ports.
case FFI_TYPE_LONGDOUBLE:
/* Align it. */
arg_reg = ALIGN(arg_reg, 2);
-@@ -478,7 +486,7 @@ ffi_status ffi_prep_cif_machdep(ffi_cif
+@@ -483,7 +489,7 @@
arg_reg++;
}
break;
@@ -43,7 +41,7 @@ Fixes to support the various NetBSD mips ports.
case FFI_TYPE_STRUCT:
loc = arg_reg * FFI_SIZEOF_ARG;
cif->flags += calc_n32_struct_flags(soft_float,
-@@ -540,6 +548,7 @@ ffi_status ffi_prep_cif_machdep(ffi_cif
+@@ -545,6 +551,7 @@
cif->flags += cif->rtype->type << (FFI_FLAG_BITS * 8);
break;
@@ -51,7 +49,7 @@ Fixes to support the various NetBSD mips ports.
case FFI_TYPE_LONGDOUBLE:
/* Long double is returned as if it were a struct containing
two doubles. */
-@@ -556,6 +565,7 @@ ffi_status ffi_prep_cif_machdep(ffi_cif
+@@ -561,6 +568,7 @@
<< (4 + (FFI_FLAG_BITS * 8));
}
break;
diff --git a/devel/libffi/patches/patch-aj b/devel/libffi/patches/patch-aj
index 00c1caa5188..b9a2a25101c 100644
--- a/devel/libffi/patches/patch-aj
+++ b/devel/libffi/patches/patch-aj
@@ -1,35 +1,29 @@
-$NetBSD: patch-aj,v 1.3 2010/07/22 04:17:44 jklos Exp $
+$NetBSD: patch-aj,v 1.4 2012/09/14 23:45:27 asau Exp $
---- src/m68k/ffi.c.orig 2009-12-29 15:22:26.000000000 +0000
+--- src/m68k/ffi.c.orig 2012-04-12 02:46:06.000000000 +0000
+++ src/m68k/ffi.c
-@@ -9,8 +9,13 @@
+@@ -9,8 +9,11 @@
#include <stdlib.h>
#include <unistd.h>
--#include <sys/syscall.h>
--#include <asm/cachectl.h>
-+#if !defined(__NetBSD__)
-+ #include <sys/syscall.h>
-+ #include <asm/cachectl.h>
-+#else
-+ #include <sys/types.h>
-+ #include <m68k/sync_icache.h>
-+#endif
-
- void ffi_call_SYSV (extended_cif *,
- unsigned, unsigned,
-@@ -266,8 +271,12 @@ ffi_prep_closure_loc (ffi_closure* closu
+-#ifdef __rtems__
++#if defined(__rtems__)
+ void rtems_cache_flush_multiple_data_lines( const void *, size_t );
++#elif defined(__NetBSD__)
++#include <sys/types.h>
++#include <m68k/sync_icache.h>
+ #else
+ #include <sys/syscall.h>
+ #ifdef __MINT__
+@@ -335,8 +338,10 @@ ffi_prep_closure_loc (ffi_closure* closu
else
*(void **)(closure->tramp + 8) = ffi_closure_SYSV;
-- syscall(SYS_cacheflush, codeloc, FLUSH_SCOPE_LINE,
-- FLUSH_CACHE_BOTH, FFI_TRAMPOLINE_SIZE);
-+ #if !defined(__NetBSD__)
-+ syscall(SYS_cacheflush, codeloc, FLUSH_SCOPE_LINE,
-+ FLUSH_CACHE_BOTH, FFI_TRAMPOLINE_SIZE);
-+ #else
-+ m68k_sync_icache(codeloc, FFI_TRAMPOLINE_SIZE);
-+ #endif
-
- closure->cif = cif;
- closure->user_data = user_data;
+-#ifdef __rtems__
++#if defined(__rtems__)
+ rtems_cache_flush_multiple_data_lines( codeloc, FFI_TRAMPOLINE_SIZE );
++#elif defined(__NetBSD__)
++ m68k_sync_icache(codeloc, FFI_TRAMPOLINE_SIZE);
+ #elif defined(__MINT__)
+ Ssystem(S_FLUSHCACHE, codeloc, FFI_TRAMPOLINE_SIZE);
+ #else
diff --git a/devel/libffi/patches/patch-src_arm_sysv.S b/devel/libffi/patches/patch-src_arm_sysv.S
deleted file mode 100644
index ff668e23d59..00000000000
--- a/devel/libffi/patches/patch-src_arm_sysv.S
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-src_arm_sysv.S,v 1.1 2011/12/31 09:58:22 tsutsui Exp $
-
-Pull fix from upstream for asm error on NetBSD/arm with newer binutils:
-https://github.com/atgreen/libffi/commit/0e5843995f46900ef212531281e08b224464f413#diff-39
-> * src/arm/sysv.S (ffi_closure_SYSV): Add UNWIND to .pad directive.
-
---- src/arm/sysv.S.orig 2009-12-29 15:22:26.000000000 +0000
-+++ src/arm/sysv.S
-@@ -243,7 +243,7 @@ ARM_FUNC_START ffi_closure_SYSV
- stmfd sp!, {ip, lr}
- UNWIND .save {r0, lr}
- add r2, sp, #8
-- .pad #16
-+ UNWIND .pad #16
- sub sp, sp, #16
- str sp, [sp, #8]
- add r1, sp, #8
diff --git a/devel/libffi/patches/patch-src_x86_unix64.S b/devel/libffi/patches/patch-src_x86_unix64.S
deleted file mode 100644
index 9bc6bd7359e..00000000000
--- a/devel/libffi/patches/patch-src_x86_unix64.S
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: patch-src_x86_unix64.S,v 1.1 2012/05/30 09:13:16 jperkin Exp $
-
-Apply fix from http://gcc.gnu.org/ml/java-patches/2010-q1/msg00058.html
-
---- src/x86/unix64.S.orig Wed May 30 08:50:05 2012
-+++ src/x86/unix64.S Wed May 30 08:50:41 2012
-@@ -324,7 +324,11 @@
- .LUW9:
- .size ffi_closure_unix64,.-ffi_closure_unix64
-
-+#ifdef HAVE_AS_X86_64_UNWIND_SECTION_TYPE
-+ .section .eh_frame,"a",@unwind
-+#else
- .section .eh_frame,"a",@progbits
-+#endif
- .Lframe1:
- .long .LECIE1-.LSCIE1 /* CIE Length */
- .LSCIE1: