diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2014-08-24 13:49:03 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2014-08-24 13:49:22 -0500 |
commit | 8dae85b46a204b418528ed4154cf315c81657e87 (patch) | |
tree | affca23b30590e0334326f8f8dd91179f1ff468f | |
parent | 68f3e4575f51dbc1b599f33871380e50ca2d4602 (diff) | |
download | cygwin-binutils-8dae85b46a204b418528ed4154cf315c81657e87.tar.gz cygwin-binutils-8dae85b46a204b418528ed4154cf315c81657e87.tar.xz cygwin-binutils-8dae85b46a204b418528ed4154cf315c81657e87.zip |
Patch ld to not export __dso_handle.
-rw-r--r-- | cygwin-binutils.spec | 7 | ||||
-rw-r--r-- | ld-pe-dll-__dso_handle.patch | 12 |
2 files changed, 18 insertions, 1 deletions
diff --git a/cygwin-binutils.spec b/cygwin-binutils.spec index ab25d95..ffb3a62 100644 --- a/cygwin-binutils.spec +++ b/cygwin-binutils.spec @@ -3,7 +3,7 @@ Name: cygwin-binutils Version: 2.24.51 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Cross-compiled version of binutils for Cygwin environments License: GPLv2+ and LGPLv2+ and GPLv3+ and LGPLv3+ @@ -17,6 +17,7 @@ Source0: binutils-gdb-%{version}.tar.bz2 %endif Patch0: w32api-sysroot.patch Patch1: binutils-textdomain.patch +Patch2: ld-pe-dll-__dso_handle.patch BuildRequires: gettext-devel @@ -72,6 +73,7 @@ understand Cygwin executables and DLLs. %endif %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build @@ -279,6 +281,9 @@ cat cygwin-opcodes.lang >> cygwin-binutils.lang %changelog +* Mon Aug 11 2014 Yaakov Selkowitz <yselkowitz@cygwin.com> - 2.24.51-3 +- Patch ld to not export __dso_handle. + * Tue Jun 10 2014 Yaakov Selkowitz <cygwin-ports-general@lists.sourceforge.net> - 2.24.51-2 - Updated snapshot to fix resource section alignment. diff --git a/ld-pe-dll-__dso_handle.patch b/ld-pe-dll-__dso_handle.patch new file mode 100644 index 0000000..eb716bd --- /dev/null +++ b/ld-pe-dll-__dso_handle.patch @@ -0,0 +1,12 @@ +diff --git a/ld/pe-dll.c b/ld/pe-dll.c +index d38f30d..c877e54 100644 +--- a/ld/pe-dll.c ++++ b/ld/pe-dll.c +@@ -227,6 +227,7 @@ static const autofilter_entry_type autofilter_symbollist_i386[] = + { STRING_COMMA_LEN ("cygwin_premain1") }, + { STRING_COMMA_LEN ("cygwin_premain2") }, + { STRING_COMMA_LEN ("cygwin_premain3") }, ++ { STRING_COMMA_LEN ("__dso_handle") }, + /* Runtime pseudo-reloc. */ + { STRING_COMMA_LEN ("_pei386_runtime_relocator") }, + { STRING_COMMA_LEN ("do_pseudo_reloc") }, |