From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32423 invoked by alias); 6 Aug 2007 19:32:10 -0000 Received: (qmail 32316 invoked by uid 22791); 6 Aug 2007 19:32:09 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 06 Aug 2007 19:32:04 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 752B7982C5; Mon, 6 Aug 2007 19:32:04 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 57D91982AD; Mon, 6 Aug 2007 19:32:04 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1II8J8-0007o4-42; Mon, 06 Aug 2007 15:32:02 -0400 Date: Mon, 06 Aug 2007 19:32:00 -0000 From: Daniel Jacobowitz To: binutils@sourceware.org Cc: Jan Kratochvil , Roland McGrath Subject: Re: [patch] bfd: Core files with p_filesz < p_memsz (build-id) Message-ID: <20070806193202.GB12423@caradoc.them.org> Mail-Followup-To: binutils@sourceware.org, Jan Kratochvil , Roland McGrath References: <20070728191354.GA14892@host0.dyn.jankratochvil.net> <20070728201604.AEBDB4D058D@magilla.localdomain> <20070729165314.GA8906@host0.dyn.jankratochvil.net> <20070801130547.GN23966@bubble.grove.modra.org> <20070802200249.GA7696@caradoc.them.org> <20070803001259.GA11213@bubble.grove.modra.org> <20070803002103.GA19863@caradoc.them.org> <20070803025000.GB11213@bubble.grove.modra.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070803025000.GB11213@bubble.grove.modra.org> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2007-08/txt/msg00083.txt.bz2 On Fri, Aug 03, 2007 at 12:20:00PM +0930, Alan Modra wrote: > I'd be happy with the following. Please check that this doesn't break > gdb.. > > * elf.c (_bfd_elf_make_section_from_phdr): Properly handle > bss segments. Thanks. This version doesn't change GDB test results, and it seems to do the right thing on a core file I hacked together with a hex editor. -- Daniel Jacobowitz CodeSourcery