biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / misc / binutils / deterministic.patch
blob736e0aca6ce1f6647528d0e54f27f372b9908424
1 diff -ur orig/binutils-2.23.1/ld/ldlang.c binutils-2.23.1/ld/ldlang.c
2 --- orig/ld/ldlang.c
3 +++ new/ld/ldlang.c
4 @@ -3095,6 +3095,8 @@
5 ldfile_output_machine))
6 einfo (_("%P%F:%s: can not set architecture: %E\n"), name);
8 + link_info.output_bfd->flags |= BFD_DETERMINISTIC_OUTPUT;
10 link_info.hash = bfd_link_hash_table_create (link_info.output_bfd);
11 if (link_info.hash == NULL)
12 einfo (_("%P%F: can not create hash table: %E\n"));