[Proposed binutils PATCH] Re: Diagnosing an intricate C++ problem
H . J . Lu
hjl@lucon.org
Sun Sep 3 12:43:00 GMT 2000
On Sun, Sep 03, 2000 at 02:32:46PM -0500, Loren James Rittle wrote:
>
> Thank you for your comments. Would you mind the feature going into ld
> as long as it were an option that must be explicitly enabled by C++
> programmers that desire it?
I am thinking compiler flags which will generate section names like
.gnu.linkonce.same.content...., .gnu.linkonce.same.size.... Then the
linker can turn on SEC_LINK_DUPLICATES_SAME_CONTENTS and
SEC_LINK_DUPLICATES_SAME_SIZE, accordingly. Of course, they will be
off by default and the program has to use the same flags to compile all
his/her C++ codes.
H.J.
More information about the Binutils
mailing list