binutils: remove dtneeded.patch

This commit is contained in:
Piotr Bogdan 2018-12-09 02:54:53 +00:00 committed by Frederik Rietdijk
parent 5a8660bd29
commit c302474077
2 changed files with 0 additions and 17 deletions

View file

@ -30,11 +30,6 @@ stdenv.mkDerivation rec {
});
patches = [
# Since binutils 2.22, DT_NEEDED flags aren't copied for dynamic outputs.
# That requires upstream changes for things to work. So we can patch it to
# get the old behaviour by now.
./dtneeded.patch
# Make binutils output deterministic by default.
./deterministic.patch

View file

@ -1,12 +0,0 @@
diff --git a/ld/ldmain.c b/ld/ldmain.c
index 15f8ebf..f71241e 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -298,6 +298,7 @@ main (int argc, char **argv)
lang_init ();
ldemul_before_parse ();
lang_has_input_file = FALSE;
+ input_flags.add_DT_NEEDED_for_dynamic = TRUE;
parse_args (argc, argv);
if (config.hash_table_size != 0)