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]

[PATCH] make -dynamiclib on darwin imply -shared-libgcc just like -shared on linux


This patch makes -dynamiclib on darwin imply -shared-libgcc
just like -shared on linux. This is needed because otherwise
we can and will get multiple defined symbols when linking
together shared libraries.

OK? Bootstrapped and tested on powerpc-darwin with no regressions.

Thanks,
Andrew Pinski

ChangeLog:

* config/darwin.h (REAL_LIBGCC_SPEC): Define.


Attachment: temp.diff.txt
Description: Text document


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