This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch] bfd: Core files with p_filesz < p_memsz (build-id)
- From: Roland McGrath <roland at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Sat, 28 Jul 2007 13:16:04 -0700 (PDT)
- Subject: Re: [patch] bfd: Core files with p_filesz < p_memsz (build-id)
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.
What does your change do to e.g. objcopy on a core file?
Thanks,
Roland