This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC PATCH] Don't use ELF weak for entities with vague linkagewhen COMDAT groups are available


Julian Brown wrote:
Julian Brown wrote:

OK, I'll apply with this ChangeLog:

gcc:
    * config/elfos.h (MAKE_DECL_ONE_ONLY): Redefined to stop DECL_WEAK
    from being used for symbols with vague linkage when
    HAVE_GAS_COMDAT_GROUP is true.


This part of the patch has been reverted again for now, pending further investigation on ppc64 Linux, where it was causing libstdc++ build failure.

Let's just put it in config/arm/bpabi.h, then. I don't think it's worthwhile you trying to track down all of these issues; if other people want this functionality on their systems, then we can let them work out why it doesn't work.


--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]