This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] PR21294, Binary size regression on PPC embedded
- From: Alan Modra <amodra at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 3 Oct 2017 04:42:42 -0000
- Subject: [binutils-gdb] PR21294, Binary size regression on PPC embedded
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9194f82dc372d5045ae06c617a49a5a9b17c1d24
commit 9194f82dc372d5045ae06c617a49a5a9b17c1d24
Author: Alan Modra <amodra@gmail.com>
Date: Tue Oct 3 15:10:28 2017 +1030
PR21294, Binary size regression on PPC embedded
PR 21294
* NEWS: Note that defaulting to -z relro results in increased
memory and disk size.
Diff:
---
ld/ChangeLog | 6 ++++++
ld/NEWS | 3 ++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 068715e..18a95f1 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,11 @@
2017-10-03 Alan Modra <amodra@gmail.com>
+ PR 21294
+ * NEWS: Note that defaulting to -z relro results in increased
+ memory and disk size.
+
+2017-10-03 Alan Modra <amodra@gmail.com>
+
* ld.texinfo (-z relro): Expand description.
(DATA_SEGMENT_ALIGN): Note that -z relro is not effective when
running with system page size larger than commonpagesize.
diff --git a/ld/NEWS b/ld/NEWS
index bb5a62b..2445896 100644
--- a/ld/NEWS
+++ b/ld/NEWS
@@ -73,7 +73,8 @@ Changes in 2.27:
* 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.
+ targets except FRV, HPPA, IA64 and MIPS. Note that -z relro can increase
+ disk and memory size.
* Support for -z noreloc-overflow in the x86-64 ELF linker to disable
relocation overflow check.