[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in objcopy?
From: |
Ian Lance Taylor |
Subject: |
Re: Bug in objcopy? |
Date: |
Mon, 25 May 2009 00:14:12 -0700 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
"Arshid, Chetan (IE10)" <address@hidden> writes:
> Thanks Ian for the explanation. Can you tell me what kind of data is
> put in .rela.XXX section?
Relocation information. It is displayed by readelf -r or objdump -r.
Ian
> -----Original Message-----
> From: Ian Lance Taylor [mailto:address@hidden
> Sent: Saturday, May 23, 2009 12:10 PM
> To: Arshid, Chetan (IE10)
> Cc: address@hidden
> Subject: Re: Bug in objcopy?
>
> "Arshid, Chetan (IE10)" <address@hidden> writes:
>
>> I tried to rename the section (of .o file) .data to .persistent.data
>> using objcopy utility. It did that, but also renamed the section
>> .rela.data to .rela.persistent. I think this is a bug. If not, how
> do
>> I keep the .rela.data section name unchanged?
>
> It doesn't sound like a bug. Normally the .rela.XXX section applies
> to the .XXX section. If you rename a section, it seems natural to
> rename the corresponding .rela section.
>
> As far as I know there is no way to keep this from happening.
>
> Ian