Files
MSYS2-packages/binutils/3000-more-base-entropy.patch
Christoph Reiter f65ef94af3 binutils: increase the address range for auto-image-base
We get conflicts in Python modules now. Their paths contain the cygwin
version and that happened to trigger a base image collision when being hashed
since the last update.

This change uses a bit more of the path based hash to increase the possible base addresses
and make collisions less likely.

Hopefully without any negative side effects.
2021-05-10 23:31:35 +02:00

12 lines
443 B
Diff

--- binutils-2.36.1/ld/emultempl/pep.em.orig 2021-05-10 08:58:40.005554200 +0200
+++ binutils-2.36.1/ld/emultempl/pep.em 2021-05-10 09:01:58.002803000 +0200
@@ -117,7 +117,7 @@
: 0x1C0000000LL))
#undef NT_DLL_AUTO_IMAGE_MASK
#define NT_DLL_AUTO_IMAGE_MASK \
- ((bfd_vma) (${move_default_addr_high} ? 0x1ffff0000LL \
+ ((bfd_vma) (${move_default_addr_high} ? 0x7fffff0000LL \
: 0x1ffff0000LL))
#else
#undef NT_EXE_IMAGE_BASE