This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Make objcopy handle core files.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]