This is the mail archive of the
mailing list for the GCC project.
Re: [Proposed binutils PATCH] Re: Diagnosing an intricate C++ problem
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.