[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/20283] Make -z relro the default if possible
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug ld/20283] Make -z relro the default if possible |
Date: |
Wed, 22 Jun 2016 12:38:42 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=20283
--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by H.J. Lu <address@hidden>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=647e4d46495f2bfb0950fd1066c8a660173cca40
commit 647e4d46495f2bfb0950fd1066c8a660173cca40
Author: H.J. Lu <address@hidden>
Date: Wed Jun 22 05:37:24 2016 -0700
ld: Add a linker configure option --enable-relro
Add a configure option --enable-relro to decide whether -z relro should
be enabled in ELF linker by default. Default to yes for all Linux
targets, except FRV, HPPA, IA64 and MIPS, since many relro tests fail
on these targets.
PR ld/20283
* NEWS: Mention --enable-relro.
* configure.ac: Add --enable-relro.
(DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
* configure.tgt (ac_default_ld_z_relro): Default it to 1 for
some Linux targets.
* config.in: Regenerated.
* configure: Likewise.
* emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
link_info.relro to DEFAULT_LD_Z_RELRO.
* testsuite/config/default.exp (ld_elf_shared_opt): New.
* testsuite/lib/ld-lib.exp (run_dump_test): Pass
$ld_elf_shared_opt to ld for ELF targets with shared object
support.
(run_ld_link_tests): Likewise.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/20283] New: Make -z relro the default if possible, hjl.tools at gmail dot com, 2016/06/21
- [Bug ld/20283] Make -z relro the default if possible, hjl.tools at gmail dot com, 2016/06/21
- [Bug ld/20283] Make -z relro the default if possible, hjl.tools at gmail dot com, 2016/06/21
- [Bug ld/20283] Make -z relro the default if possible, hjl.tools at gmail dot com, 2016/06/21
- [Bug ld/20283] Make -z relro the default if possible,
cvs-commit at gcc dot gnu.org <=
- [Bug ld/20283] Make -z relro the default if possible, cvs-commit at gcc dot gnu.org, 2016/06/22
- [Bug ld/20283] Make -z relro the default if possible, hjl.tools at gmail dot com, 2016/06/22