[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/20995] Read-only data in ELF libraries may be remapped writable
From: |
jiwang at gcc dot gnu.org |
Subject: |
[Bug ld/20995] Read-only data in ELF libraries may be remapped writable at runtime |
Date: |
Wed, 25 Jan 2017 14:45:20 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=20995
Jiong Wang <jiwang at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jiwang at gcc dot gnu.org
--- Comment #12 from Jiong Wang <jiwang at gcc dot gnu.org> ---
(In reply to Alan Modra from comment #11)
> I deliberately left the arm FAILs showing. They are telling you that -z
> relro does not wotk on those target variants. That should probably be fixed.
Reading the comment at
https://sourceware.org/ml/binutils/2017-01/msg00094.html, I feel we should
define COMMONPAGESIZE for arm-none-eabi, searching src/bfd and src/ld, the only
usage of it is to initialize config.commonpagesize which is later used to
expand "CONSTANT (COMMONPAGESIZE)" when COMMONPAGESIZE is used in linker script
which only play a role when calculating relro_end.
If the runtime doesn't support GNU_RELRO, then I looks to me the user is
responsible to make sure don't pass -z relro to the linker.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/20995] Read-only data in ELF libraries may be remapped writable at runtime, hjl.tools at gmail dot com, 2017/01/12
- [Bug ld/20995] Read-only data in ELF libraries may be remapped writable at runtime, cvs-commit at gcc dot gnu.org, 2017/01/18
- [Bug ld/20995] Read-only data in ELF libraries may be remapped writable at runtime, cvs-commit at gcc dot gnu.org, 2017/01/18
- [Bug ld/20995] Read-only data in ELF libraries may be remapped writable at runtime, clyon at gcc dot gnu.org, 2017/01/23
- [Bug ld/20995] Read-only data in ELF libraries may be remapped writable at runtime, amodra at gmail dot com, 2017/01/23
- [Bug ld/20995] Read-only data in ELF libraries may be remapped writable at runtime,
jiwang at gcc dot gnu.org <=
- [Bug ld/20995] Read-only data in ELF libraries may be remapped writable at runtime, jiwang at gcc dot gnu.org, 2017/01/25
- [Bug ld/20995] Read-only data in ELF libraries may be remapped writable at runtime, amodra at gmail dot com, 2017/01/26
- [Bug ld/20995] Read-only data in ELF libraries may be remapped writable at runtime, jiwang at gcc dot gnu.org, 2017/01/26
- [Bug ld/20995] Read-only data in ELF libraries may be remapped writable at runtime, cvs-commit at gcc dot gnu.org, 2017/01/26