[patch] bfd: Core files with p_filesz < p_memsz (build-id)

Alan Modra amodra@bigpond.net.au
Wed Aug 1 13:05:00 GMT 2007


On Sun, Jul 29, 2007 at 06:53:15PM +0200, Jan Kratochvil wrote:
> On Sat, 28 Jul 2007 22:16:04 +0200, Roland McGrath wrote:
> > Are you sure that changing _bfd_elf_make_section_from_phdr is the right way
> > to fix gdb?
> > 
> > It is in a certain sense accurate to split the one segment into two
> > sections, a leading SEC_LOAD one and a trailing one without SEC_LOAD.
> 
> The core files with `p_filesz == 0' were working before.

I think BFD is still doing the right thing.  Please fix this in gdb.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list