From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28909 invoked by alias); 20 Sep 2004 15:57:23 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 28886 invoked from network); 20 Sep 2004 15:57:23 -0000 Received: from unknown (HELO sunsite.ms.mff.cuni.cz) (195.113.15.26) by sourceware.org with SMTP; 20 Sep 2004 15:57:23 -0000 Received: from sunsite.ms.mff.cuni.cz (sunsite.mff.cuni.cz [127.0.0.1]) by sunsite.ms.mff.cuni.cz (8.12.8/8.12.8) with ESMTP id i8KFv13j031805; Mon, 20 Sep 2004 17:57:01 +0200 Received: (from jakub@localhost) by sunsite.ms.mff.cuni.cz (8.12.8/8.12.8/Submit) id i8KFv1Ao031803; Mon, 20 Sep 2004 17:57:01 +0200 Date: Mon, 20 Sep 2004 15:57:00 -0000 From: Jakub Jelinek To: "H. J. Lu" Cc: Ulrich Drepper , Glibc hackers Subject: Re: [PATCH] Only use -z relro if it actually does something Message-ID: <20040920155701.GN30497@sunsite.ms.mff.cuni.cz> Reply-To: Jakub Jelinek References: <20040920132453.GM30497@sunsite.ms.mff.cuni.cz> <20040920155433.GA30187@lucon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040920155433.GA30187@lucon.org> User-Agent: Mutt/1.4.1i X-SW-Source: 2004-09/txt/msg00072.txt.bz2 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 * 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