From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Alan Modra <amodra@bigpond.net.au>
Cc: Roland McGrath <roland@redhat.com>, binutils@sources.redhat.com
Subject: Re: [patch] bfd: Core files with p_filesz < p_memsz (build-id)
Date: Thu, 09 Aug 2007 16:04:00 -0000 [thread overview]
Message-ID: <20070809160418.GA17364@host0.dyn.jankratochvil.net> (raw)
In-Reply-To: <20070803025000.GB11213@bubble.grove.modra.org>
On Fri, 03 Aug 2007 04:50:00 +0200, Alan Modra wrote:
[snip]
> 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.
[ This patch got applied in the meantime modulo whitespaces. ]
Works fine, thanks.
Jan
Functionality of the patch on a p_filesz < p_memsz (build-id) core file:
Program Headers:
Type Offset VirtAddr PhysAddr
FileSiz MemSiz Flags Align
LOAD 0x0000000000001000 0x0000000000400000 0x0000000000000000
0x0000000000001000 0x00000000000b1000 R E 1000
LOAD 0x0000000000002000 0x00000000006b1000 0x0000000000000000
0x000000000000a000 0x000000000000a000 RW 1000
Sections:
Idx Name Size VMA LMA File off Algn
4 load1a 00001000 0000000000400000 0000000000000000 00001000 2**12
CONTENTS, ALLOC, LOAD, READONLY, CODE
5 load1b 00000000 0000000000401000 0000000000001000 00002000 2**12
ALLOC, READONLY, CODE
6 load2 0000a000 00000000006b1000 0000000000000000 00002000 2**12
CONTENTS, ALLOC, LOAD
next prev parent reply other threads:[~2007-08-09 16:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-28 20:16 Jan Kratochvil
2007-07-29 12:30 ` Jan Kratochvil
2007-07-29 15:29 ` Roland McGrath
2007-07-29 18:32 ` Jan Kratochvil
2007-08-01 13:05 ` Alan Modra
2007-08-02 20:03 ` Daniel Jacobowitz
2007-08-03 0:13 ` Alan Modra
2007-08-03 0:21 ` Daniel Jacobowitz
2007-08-03 2:50 ` Alan Modra
2007-08-06 19:32 ` Daniel Jacobowitz
2007-08-09 16:04 ` Jan Kratochvil [this message]
2007-07-30 14:07 ` [resent] " Jan Kratochvil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070809160418.GA17364@host0.dyn.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=amodra@bigpond.net.au \
--cc=binutils@sources.redhat.com \
--cc=roland@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).