Thanks Ian for the explanation.  Can you tell me what kind of data is
put in .rela.XXX section?


Chetan
-----Original Message-----
From: Ian Lance Taylor [mailto:i...@airs.com] 
Sent: Saturday, May 23, 2009 12:10 PM
To: Arshid, Chetan (IE10)
Cc: bug-binutils@gnu.org
Subject: Re: Bug in objcopy?

"Arshid, Chetan (IE10)" <chetan.ars...@honeywell.com> 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


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to