This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Only use -z relro if it actually does something


On Mon, Sep 20, 2004 at 08:54:33AM -0700, H. J. Lu wrote:
> On Mon, Sep 20, 2004 at 03:24:53PM +0200, Jakub Jelinek wrote:
> > Hi!
> > 
> > On ia64 ATM -z relro does nothing (but increase the size of program
> > headers).
> > H.J. disabled it because it interferred with linker relaxation
> > (not sure if that still applies or what the testcase was).
> > 
> 
> Can you point it to my change? I may recall something.

2003-05-15  H.J. Lu <hongjiu.lu@intel.com>

	* emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now.

--- elf64_ia64.sh       20 Feb 2002 10:48:25 -0000      1.9
+++ elf64_ia64.sh       15 May 2003 14:56:33 -0000      1.10
@@ -7,7 +7,9 @@ OUTPUT_FORMAT="elf64-ia64-little"
 ARCH=ia64
 MACHINE=
 MAXPAGESIZE=0x10000
-if test -n "$CREATE_SHLIB"; then
+# FIXME: It interferes with linker relaxation. Disable it until it is
+# fixed.
+if test "0" = "1" -a -n "$CREATE_SHLIB"; then
   # Optimize shared libraries for 16K page size
   COMMONPAGESIZE=0x4000
 fi

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]