From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28441 invoked by alias); 20 May 2003 11:14:35 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 28401 invoked from network); 20 May 2003 11:14:34 -0000 Received: from unknown (HELO mta03ps.bigpond.com) (144.135.25.157) by sources.redhat.com with SMTP; 20 May 2003 11:14:34 -0000 Received: from bubble.local ([144.135.25.81]) by mta03ps.email.bigpond.com (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with SMTP id <0HF60017BN45WU@mta03ps.email.bigpond.com> for gdb-patches@sources.redhat.com; Tue, 20 May 2003 21:12:05 +1000 (EST) Received: from CPE-144-136-188-60.sa.bigpond.net.au ([144.136.188.60]) by psmam05bpa.bigpond.com(MailRouter V3.2g 107/30082325); Tue, 20 May 2003 21:12:05 +0000 Received: (qmail 9403 invoked by uid 179); Tue, 20 May 2003 11:12:03 +0000 Date: Tue, 20 May 2003 11:14:00 -0000 From: Alan Modra Subject: Re: [BFD PATCH] grok NT_AUXV note in ELF core files In-reply-to: <200305192146.h4JLku707345@magilla.sf.frob.com> To: Roland McGrath Cc: binutils@sources.redhat.com, gdb-patches@sources.redhat.com Mail-followup-to: Roland McGrath , binutils@sources.redhat.com, gdb-patches@sources.redhat.com Message-id: <20030520111203.GE3914@bubble.sa.bigpond.net.au> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4i References: <200305192146.h4JLku707345@magilla.sf.frob.com> X-SW-Source: 2003-05/txt/msg00362.txt.bz2 On Mon, May 19, 2003 at 02:46:56PM -0700, Roland McGrath wrote: > This patch makes BFD reading of ELF core files fake a section called > ".auxv" for an NT_AUXV note, similar to the fake ".reg" section make for > the note containing register data. It also adds data structures to > include/elf/ for interpreting the contents of such sections, analogous to > the translated forms of other ELF data structures. Nothing uses these > formats as yet, but gdb may begin to. The format layouts are generic ELF. > > Approved to commit? Looks OK. > + sect->alignment_power = 1 + BFD_ARCH_SIZE / 32; Except that BFD_ARCH_SIZE is fairly useless. See the comment in bfd-in2.h. BFD_DEFAULT_TARGET_SIZE might be better. -- Alan Modra IBM OzLabs - Linux Technology Centre