|
From: | Nick Clifton |
Subject: | Re: objcopy --add-section doubt |
Date: | Wed, 01 Feb 2006 11:31:39 +0000 |
User-agent: | Mozilla Thunderbird 1.0.7-1.4.1 (X11/20050929) |
Hi Daniel,
Yes - this is the heart of the matter. What is happening is that you are attempting to add a section that already exists. The old (RH9) binutils silently allowed this, which was incorrect.
Wait... why? There's no restriction in ELF about having multiple sections with the same name; some non-GNU tools do this a lot.
Err, good point. I suppose that technically it is allowed.I guess that means that we need a new section creator function, one that does not refuse to create a section when another one of the same name already exists. Hmm, this might get messy... I'll think about it.
Cheers Nick
[Prev in Thread] | Current Thread | [Next in Thread] |