diff --git a/contrib/guix/patches/binutils-mingw-w64-disable-flags.patch b/contrib/guix/patches/binutils-mingw-w64-disable-flags.patch index 8f88eb9dfd..147ee9605e 100644 --- a/contrib/guix/patches/binutils-mingw-w64-disable-flags.patch +++ b/contrib/guix/patches/binutils-mingw-w64-disable-flags.patch @@ -32,7 +32,7 @@ This patch adds "no-" variants to disable the various security flags: {"enable-long-section-names", no_argument, NULL, OPTION_ENABLE_LONG_SECTION_NAMES}, {"disable-long-section-names", no_argument, NULL, OPTION_DISABLE_LONG_SECTION_NAMES}, {"dynamicbase",no_argument, NULL, OPTION_DYNAMIC_BASE}, -+ {"no-dynamicbase", no_argument, NULL, OPTION_NO_DYNAMIC_BASE}, ++ {"disable-dynamicbase", no_argument, NULL, OPTION_NO_DYNAMIC_BASE}, {"forceinteg", no_argument, NULL, OPTION_FORCE_INTEGRITY}, {"nxcompat", no_argument, NULL, OPTION_NX_COMPAT}, + {"no-nxcompat", no_argument, NULL, OPTION_NO_NX_COMPAT}, @@ -51,7 +51,7 @@ This patch adds "no-" variants to disable the various security flags: in object files\n")); fprintf (file, _(" --dynamicbase Image base address may be relocated using\n\ address space layout randomization (ASLR)\n")); -+ fprintf (file, _(" --no-dynamicbase Image base address may not be relocated\n")); ++ fprintf (file, _(" --disable-dynamicbase Image base address may not be relocated\n")); fprintf (file, _(" --enable-reloc-section Create the base relocation table\n")); + fprintf (file, _(" --disable-reloc-section Disable the base relocation table\n")); fprintf (file, _(" --forceinteg Code integrity checks are enforced\n")); @@ -113,7 +113,7 @@ This patch adds "no-" variants to disable the various security flags: {"high-entropy-va", no_argument, NULL, OPTION_HIGH_ENTROPY_VA}, + {"no-high-entropy-va", no_argument, NULL, OPTION_NO_HIGH_ENTROPY_VA}, {"dynamicbase",no_argument, NULL, OPTION_DYNAMIC_BASE}, -+ {"no-dynamicbase", no_argument, NULL, OPTION_NO_DYNAMIC_BASE}, ++ {"disable-dynamicbase", no_argument, NULL, OPTION_NO_DYNAMIC_BASE}, {"forceinteg", no_argument, NULL, OPTION_FORCE_INTEGRITY}, {"nxcompat", no_argument, NULL, OPTION_NX_COMPAT}, + {"no-nxcompat", no_argument, NULL, OPTION_NO_NX_COMPAT}, @@ -135,7 +135,7 @@ This patch adds "no-" variants to disable the various security flags: + fprintf (file, _(" --no-high-entropy-va Image is not compatible with 64-bit ASLR\n")); fprintf (file, _(" --dynamicbase Image base address may be relocated using\n\ address space layout randomization (ASLR)\n")); -+ fprintf (file, _(" --no-dynamicbase Image base address may not be relocated\n")); ++ fprintf (file, _(" --disable-dynamicbase Image base address may not be relocated\n")); fprintf (file, _(" --enable-reloc-section Create the base relocation table\n")); + fprintf (file, _(" --disable-reloc-section Disable the base relocation table\n")); fprintf (file, _(" --forceinteg Code integrity checks are enforced\n"));