summaryrefslogtreecommitdiff
path: root/binutils-2.24.51.midipix.patch
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-11-25 09:13:23 -0500
committermidipix <writeonce@midipix.org>2015-11-26 09:24:20 -0500
commit32dd957cb52c2977ca0507469f6cf922945fa6ea (patch)
tree1fa7270c2ad059b14a2eb26830403ecec0677dbb /binutils-2.24.51.midipix.patch
parentc4f40499e426ede2370cdcab5e3f03a3a1bb4af2 (diff)
downloadchainport-32dd957cb52c2977ca0507469f6cf922945fa6ea.tar.bz2
chainport-32dd957cb52c2977ca0507469f6cf922945fa6ea.tar.xz
binutils-2.24.51: updated patch.
+ pe targets: disable default timestamp / support reproducible builds by default. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
Diffstat (limited to 'binutils-2.24.51.midipix.patch')
-rw-r--r--binutils-2.24.51.midipix.patch22
1 files changed, 20 insertions, 2 deletions
diff --git a/binutils-2.24.51.midipix.patch b/binutils-2.24.51.midipix.patch
index d21d55a..d4119a8 100644
--- a/binutils-2.24.51.midipix.patch
+++ b/binutils-2.24.51.midipix.patch
@@ -40,7 +40,7 @@ diff -ru --new-file a/bfd/midipix.h b/bfd/midipix.h
+esac
diff -ru --new-file a/ld/emultempl/pe.em b/ld/emultempl/pe.em
--- a/ld/emultempl/pe.em 2014-07-03 01:37:48.000000000 -0400
-+++ b/ld/emultempl/pe.em 2015-03-11 18:17:10.092557143 -0400
++++ b/ld/emultempl/pe.em 2015-11-25 09:02:09.729144140 -0500
@@ -35,6 +35,18 @@
only determine if the subsystem is console or windows in order to select
the correct entry point by default. */
@@ -60,6 +60,15 @@ diff -ru --new-file a/ld/emultempl/pe.em b/ld/emultempl/pe.em
#define TARGET_IS_${EMULATION_NAME}
/* Do this before including bfd.h, so we prototype the right functions. */
+@@ -132,7 +144,7 @@
+ static char * thumb_entry_symbol = NULL;
+ static lang_assignment_statement_type *image_base_statement = 0;
+ static unsigned short pe_dll_characteristics = 0;
+-static bfd_boolean insert_timestamp = TRUE;
++static bfd_boolean insert_timestamp = 0;
+ static const char *emit_build_id;
+
+ #ifdef DLL_SUPPORT
@@ -471,8 +483,8 @@
specifically set with --image-base\n"));
fprintf (file, _(" --disable-auto-image-base Do not auto-choose image base. (default)\n"));
@@ -121,7 +130,7 @@ diff -ru --new-file a/ld/emultempl/pe.em b/ld/emultempl/pe.em
/* Note: If adding more formats to this table, make sure to check to
diff -ru --new-file a/ld/emultempl/pep.em b/ld/emultempl/pep.em
--- a/ld/emultempl/pep.em 2014-07-03 01:37:48.000000000 -0400
-+++ b/ld/emultempl/pep.em 2015-03-11 18:17:10.096557143 -0400
++++ b/ld/emultempl/pep.em 2015-11-25 09:02:21.153143987 -0500
@@ -42,6 +42,18 @@
/* For WINDOWS_XP64 and higher */
/* Based on pe.em, but modified for 64 bit support. */
@@ -141,6 +150,15 @@ diff -ru --new-file a/ld/emultempl/pep.em b/ld/emultempl/pep.em
#define TARGET_IS_${EMULATION_NAME}
#define COFF_IMAGE_WITH_PE
+@@ -147,7 +159,7 @@
+ static int support_old_code = 0;
+ static lang_assignment_statement_type *image_base_statement = 0;
+ static unsigned short pe_dll_characteristics = 0;
+-static bfd_boolean insert_timestamp = TRUE;
++static bfd_boolean insert_timestamp = 0;
+ static const char *emit_build_id;
+
+ #ifdef DLL_SUPPORT
@@ -434,8 +446,8 @@
unless user specifies one\n"));
fprintf (file, _(" --disable-auto-image-base Do not auto-choose image base. (default)\n"));