[RFA] Make objcopy handle core files.

Michael Snyder msnyder@cygnus.com
Wed Dec 19 19:20:00 GMT 2001


Alan Modra wrote:
> 
> Hi Michael,
>   I notice that objcopy on corefiles creates section headers where none
> existed before.  Perhaps that can be viewed as a feature rather than
> a bug, but it's a little disconcerting to find that
> 
>   objcopy core1 core2
> 
> results in files that aren't even the same size.  I'm not too worried,
> but a small note in binutils.texi would be good.

Er, not wishing to seem lazy, but you probably understand the issue
much better than I do.  I'm stumbling around blindly in here.  Perhaps
it would be better if you wrote the small note?

> 
> --
> Alan Modra
> 
> core1:
>   Size of program headers:           32 (bytes)
>   Number of program headers:         14
>   Size of section headers:           0 (bytes)
>   Number of section headers:         0
>   Section header string table index: 0
> 
> core2:
>   Size of program headers:           32 (bytes)
>   Number of program headers:         14
>   Size of section headers:           40 (bytes)
>   Number of section headers:         20
>   Section header string table index: 19



More information about the Binutils mailing list