From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 765 invoked by alias); 22 Aug 2008 17:56:41 -0000 Received: (qmail 756 invoked by uid 22791); 22 Aug 2008 17:56:40 -0000 X-Spam-Check-By: sourceware.org Received: from hiauly1.hia.nrc.ca (HELO hiauly1.hia.nrc.ca) (132.246.100.193) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 22 Aug 2008 17:55:52 +0000 Received: by hiauly1.hia.nrc.ca (Postfix, from userid 1000) id BD49B4DCB; Fri, 22 Aug 2008 13:55:49 -0400 (EDT) Subject: Re: update dwarf2 asm unwind info [hppa64-*-* failures] To: rth@twiddle.net (Richard Henderson) Date: Fri, 22 Aug 2008 18:30:00 -0000 From: "John David Anglin" Cc: sje@cup.hp.com, gcc-patches@gcc.gnu.org, dave.anglin@nrc-cnrc.gc.ca In-Reply-To: <48AEF499.8020509@twiddle.net> from "Richard Henderson" at Aug 22, 2008 10:17:13 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20080822175549.BD49B4DCB@hiauly1.hia.nrc.ca> Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2008-08/txt/msg01700.txt.bz2 > I wasn't considering making the EH data read-only, I was only > considering reducing the number of dynamic relocations needed. Ok. > At present, the absolute addresses mean that you need dynamic > fixups for shared libraries, and for executables when the segments > used aren't what the static linker selected. If segment-relative > relocations were used, you'd only have one dynamic relocation -- > the one that records the base of the segment in > __register_frame_info_bases. I'll look at this. There isn't a direct to generate SEGREL relocations although it looks easy to tweak gas to do it (DIR64 relocations could be converted to SEGREL64 in .eh_frame). It's not clear to me how the segment base would be recorded. Dave -- J. David Anglin dave.anglin@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602)