Re: Bug in objcopy?
"Arshid, Chetan (IE10)" 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: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)" 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
RE: Bug in objcopy?
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)" 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
Re: Bug in objcopy?
"Arshid, Chetan (IE10)" 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
Bug in objcopy?
Hi, 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? Thanks, Chetan ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils