[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/29923] Renaming symbols with objcopy does not affect the d
From: |
nickc at redhat dot com |
Subject: |
[Bug binutils/29923] Renaming symbols with objcopy does not affect the drectve Section |
Date: |
Wed, 21 Dec 2022 10:21:43 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29923
Nick Clifton <nickc at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2022-12-21
Status|UNCONFIRMED |NEW
CC| |nickc at redhat dot com
--- Comment #3 from Nick Clifton <nickc at redhat dot com> ---
Hi Denys,
Yeah - I think that this might be a case of a scenario which is just not
supported by the binutils. Renaming symbols is a slightly dodgy thing to
do at the best of times, and if extra information about them is held outside
of the symbol table then I do not see objcopy as being able to do much
about that.
Basically what I am saying is that the BFD library has enough knowledge about
.drectve sections to be able to process them when performing a final link,
but it does not have the ability to update their contents when performing
other kinds of tasks.
I am assuming that you would argue that the BFD library *ought* to have
this ability, along with the ability to display the directives inside the
.drectve section when running objdump or the like. Not a simple task.
I am happy to leave this PR open in the hopes that someone will take and
interest in it and have a go at adding the necessary code. But I doubt
that that will be me. At least not in the short term. Sorry.
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.