This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFA] Make objcopy handle core files.
On Tue, Dec 18, 2001 at 01:36:51PM -0800, Michael Snyder wrote:
>
> * objcopy.c (copy_file): Accept corefiles (format bfd_core).
> (copy_object): Don't set the start address or flags of a core file.
> (copy_section): Don't relocate a core file. Don't copy contents
> if the input section has the contents flag set, but the output
> section does not (which happens with the fake 'note' pseudo-
> sections that BFD creates for corefiles).
OK.
Alan