[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults |
Date: |
Thu, 27 Aug 2020 11:59:13 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19011
--- Comment #14 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by Nick Clifton <nickc@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=514b4e191d5f46de8e142fe216e677a35fa9c4bb
commit 514b4e191d5f46de8e142fe216e677a35fa9c4bb
Author: Jeremy Drake <sourceware-bugzilla@jdrake.com>
Date: Thu Aug 27 12:58:27 2020 +0100
Change the default characteristics of DLLs built by the linker to more
secure settings.
PR 19011
* emultempl/pe.em (DEFAULT_DLL_CHARACTERISTICS): Define.
(pe_dll_characteristics): Initialise to
DEFAULT_DLL_CHARACTERISTICS.
(add_options): Add options to disable DLL characteristics.
(list_options): List the new options.
(handle_options): Handle the new options.
* emultempl/pep.em: Similar changes to above.
(NT_EXE_IMAGE_BASE): Default to an address above 4G.
(NT_DLL_IMAGE_BASE, NT_DLL_AUTO_IMAGE_BASE,
(NT_DLL_AUTO_IMAGE_MASK): Likewise.
* ld.texi: Document the new options.
* pe-dll.c (pe_dll_enable_reloc_section): Change to default to
true.
(generate_reloc): Do nothing if there is no reloc section.
(pe_exe_fill_sections): Only assign the reloc section contents if
the section exists.
* testsuite/ld-pe/pe.exp: Add the --disable-reloc-section flag to
the .secrel32 tests.
* testsuite/ld-scripts/provide-8.d: Expect for fail on PE targets.
* NEWS: Mention the change in DLL generation.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/19011] Issues with ld on mingw-w64 and bad defaults, sourceware-bugzilla at jdrake dot com, 2020/08/26
- [Bug ld/19011] Issues with ld on mingw-w64 and bad defaults, sourceware-bugzilla at jdrake dot com, 2020/08/26
- [Bug ld/19011] Issues with ld on mingw-w64 and bad defaults, sourceware-bugzilla at jdrake dot com, 2020/08/26
- [Bug ld/19011] Issues with ld on mingw-w64 and bad defaults, sourceware-bugzilla at jdrake dot com, 2020/08/27
- [Bug ld/19011] Issues with ld on mingw-w64 and bad defaults,
cvs-commit at gcc dot gnu.org <=
- [Bug ld/19011] Issues with ld on mingw-w64 and bad defaults, nickc at redhat dot com, 2020/08/27
- [Bug ld/19011] Issues with ld on mingw-w64 and bad defaults, amodra at gmail dot com, 2020/08/27
- [Bug ld/19011] Issues with ld on mingw-w64 and bad defaults, amodra at gmail dot com, 2020/08/27
- [Bug ld/19011] Issues with ld on mingw-w64 and bad defaults, nickc at redhat dot com, 2020/08/27
- [Bug ld/19011] Issues with ld on mingw-w64 and bad defaults, sourceware-bugzilla at jdrake dot com, 2020/08/27
- [Bug ld/19011] Issues with ld on mingw-w64 and bad defaults, amodra at gmail dot com, 2020/08/27
- [Bug ld/19011] Issues with ld on mingw-w64 and bad defaults, amodra at gmail dot com, 2020/08/27
- [Bug ld/19011] Issues with ld on mingw-w64 and bad defaults, cvs-commit at gcc dot gnu.org, 2020/08/27
- [Bug ld/19011] Issues with ld on mingw-w64 and bad defaults, cvs-commit at gcc dot gnu.org, 2020/08/28
- [Bug ld/19011] Issues with ld on mingw-w64 and bad defaults, sourceware-bugzilla at jdrake dot com, 2020/08/28