Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package mingw32-binutils for
openSUSE:Factory checked in at 2024-06-03 17:44:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mingw32-binutils (Old)
and /work/SRC/openSUSE:Factory/.mingw32-binutils.new.24587 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mingw32-binutils"
Mon Jun 3 17:44:23 2024 rev:9 rq:1178230 version:2.39
Changes:
--------
--- /work/SRC/openSUSE:Factory/mingw32-binutils/mingw32-binutils.changes
2023-10-08 12:22:11.142500061 +0200
+++
/work/SRC/openSUSE:Factory/.mingw32-binutils.new.24587/mingw32-binutils.changes
2024-06-03 17:44:44.321842598 +0200
@@ -1,0 +2,7 @@
+Fri May 31 15:05:37 UTC 2024 - Ralf Habacker <[email protected]>
+
+- Add patch to enable HEASLR with PE builds which is a leftover from
+ https://sourceware.org/bugzilla/show_bug.cgi?id=19011 (boo#948280)
+ * binutils-2.39-option-high-entry-va.patch
+
+-------------------------------------------------------------------
mingw32-cross-binutils.changes: same change
New:
----
binutils-2.39-option-high-entry-va.patch
BETA DEBUG BEGIN:
New:/work/SRC/openSUSE:Factory/.mingw32-binutils.new.24587/mingw32-binutils.changes-
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 (boo#948280)
/work/SRC/openSUSE:Factory/.mingw32-binutils.new.24587/mingw32-binutils.changes:
* binutils-2.39-option-high-entry-va.patch
/work/SRC/openSUSE:Factory/.mingw32-binutils.new.24587/mingw32-binutils.changes-
--
/work/SRC/openSUSE:Factory/.mingw32-binutils.new.24587/mingw32-cross-binutils.changes-
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 (boo#948280)
/work/SRC/openSUSE:Factory/.mingw32-binutils.new.24587/mingw32-cross-binutils.changes:
* binutils-2.39-option-high-entry-va.patch
/work/SRC/openSUSE:Factory/.mingw32-binutils.new.24587/mingw32-cross-binutils.changes-
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mingw32-binutils.spec ++++++
--- /var/tmp/diff_new_pack.lG2NsF/_old 2024-06-03 17:44:45.253876762 +0200
+++ /var/tmp/diff_new_pack.lG2NsF/_new 2024-06-03 17:44:45.253876762 +0200
@@ -1,7 +1,7 @@
#
# spec file for package mingw32-binutils
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -31,6 +31,7 @@
Patch1: 0001-Fix-bug-not-showing-correct-path-with-objdump-WL-wit.patch
Patch2: 0001-dllwrap-windres-and-dlltools-use-mktemp-which-should.patch
Patch3: reproducible.patch
+Patch4: binutils-2.39-option-high-entry-va.patch
#!BuildIgnore: post-build-checks
BuildRequires: bison
BuildRequires: flex
++++++ mingw32-cross-binutils.spec ++++++
--- /var/tmp/diff_new_pack.lG2NsF/_old 2024-06-03 17:44:45.285877933 +0200
+++ /var/tmp/diff_new_pack.lG2NsF/_new 2024-06-03 17:44:45.289878079 +0200
@@ -1,7 +1,7 @@
#
# spec file for package mingw32-cross-binutils
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -30,6 +30,7 @@
Patch1: 0001-Fix-bug-not-showing-correct-path-with-objdump-WL-wit.patch
Patch2: 0001-dllwrap-windres-and-dlltools-use-mktemp-which-should.patch
Patch3: reproducible.patch
+Patch4: binutils-2.39-option-high-entry-va.patch
#!BuildIgnore: post-build-checks
#!BuildIgnore: mingw32-cross-binutils-utils
#!BuildIgnore: mingw32-cross-pkgconf-utils
++++++ binutils-2.39-option-high-entry-va.patch ++++++
diff -ru binutils-2.39.orig/ld/emultempl/pe.em binutils-2.39/ld/emultempl/pe.em
--- binutils-2.39.orig/ld/emultempl/pe.em 2022-07-08 11:46:48.000000000
+0200
+++ binutils-2.39/ld/emultempl/pe.em 2024-05-31 17:03:45.730816373 +0200
@@ -116,6 +116,7 @@
#define DEFAULT_DLL_CHARACTERISTICS (${cygwin_behavior} ? 0 : \
IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE \
+ |
IMAGE_DLL_CHARACTERISTICS_HIGH_ENTROPY_VA \
| IMAGE_DLL_CHARACTERISTICS_NX_COMPAT)
#if defined(TARGET_IS_i386pe) || ! defined(DLL_SUPPORT)
@@ -272,7 +273,8 @@
#define OPTION_DISABLE_LONG_SECTION_NAMES \
(OPTION_ENABLE_LONG_SECTION_NAMES + 1)
/* DLLCharacteristics flags. */
-#define OPTION_DYNAMIC_BASE (OPTION_DISABLE_LONG_SECTION_NAMES + 1)
+#define OPTION_HIGH_ENTROPY_VA (OPTION_DISABLE_LONG_SECTION_NAMES + 1)
+#define OPTION_DYNAMIC_BASE (OPTION_HIGH_ENTROPY_VA + 1)
#define OPTION_FORCE_INTEGRITY (OPTION_DYNAMIC_BASE + 1)
#define OPTION_NX_COMPAT (OPTION_FORCE_INTEGRITY + 1)
#define OPTION_NO_ISOLATION (OPTION_NX_COMPAT + 1)
@@ -287,7 +289,8 @@
#define OPTION_ENABLE_RELOC_SECTION (OPTION_BUILD_ID + 1)
#define OPTION_DISABLE_RELOC_SECTION (OPTION_ENABLE_RELOC_SECTION + 1)
/* DLL Characteristics flags. */
-#define OPTION_DISABLE_DYNAMIC_BASE (OPTION_DISABLE_RELOC_SECTION + 1)
+#define OPTION_DISABLE_HIGH_ENTROPY_VA (OPTION_DISABLE_RELOC_SECTION + 1)
+#define OPTION_DISABLE_DYNAMIC_BASE (OPTION_DISABLE_HIGH_ENTROPY_VA + 1)
#define OPTION_DISABLE_FORCE_INTEGRITY (OPTION_DISABLE_DYNAMIC_BASE + 1)
#define OPTION_DISABLE_NX_COMPAT (OPTION_DISABLE_FORCE_INTEGRITY + 1)
#define OPTION_DISABLE_NO_ISOLATION (OPTION_DISABLE_NX_COMPAT + 1)
@@ -366,6 +369,8 @@
{"disable-large-address-aware", no_argument, NULL,
OPTION_DISABLE_LARGE_ADDRESS_AWARE},
{"enable-long-section-names", no_argument, NULL,
OPTION_ENABLE_LONG_SECTION_NAMES},
{"disable-long-section-names", no_argument, NULL,
OPTION_DISABLE_LONG_SECTION_NAMES},
+ {"high-entropy-va", no_argument, NULL, OPTION_HIGH_ENTROPY_VA},
+ {"disable-high-entropy-va", no_argument, NULL,
OPTION_DISABLE_HIGH_ENTROPY_VA},
{"dynamicbase",no_argument, NULL, OPTION_DYNAMIC_BASE},
{"disable-dynamicbase",no_argument, NULL, OPTION_DISABLE_DYNAMIC_BASE},
{"forceinteg", no_argument, NULL, OPTION_FORCE_INTEGRITY},
@@ -893,6 +898,9 @@
pe_use_coff_long_section_names = 0;
break;
/* Get DLLCharacteristics bits */
+ case OPTION_HIGH_ENTROPY_VA:
+ pe_dll_characteristics |= IMAGE_DLL_CHARACTERISTICS_HIGH_ENTROPY_VA;
+ /* fall through */
case OPTION_DYNAMIC_BASE:
pe_dll_characteristics |= IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE;
/* fall through */
@@ -904,6 +912,9 @@
/* fall through */
case OPTION_DISABLE_DYNAMIC_BASE:
pe_dll_characteristics &= ~ IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE;
+ /* fall through */
+ case OPTION_DISABLE_HIGH_ENTROPY_VA:
+ pe_dll_characteristics &= ~ IMAGE_DLL_CHARACTERISTICS_HIGH_ENTROPY_VA;
break;
case OPTION_FORCE_INTEGRITY:
pe_dll_characteristics |= IMAGE_DLL_CHARACTERISTICS_FORCE_INTEGRITY;