Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/gcc/config remove NETBSD_LIBGCC_SPEC ...



details:   https://anonhg.NetBSD.org/src/rev/896fa1057eb9
branches:  trunk
changeset: 770174:896fa1057eb9
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Oct 07 09:16:27 2011 +0000

description:
remove NETBSD_LIBGCC_SPEC that is no longer necessary with ligcc
already doing pic code properly.

diffstat:

 external/gpl3/gcc/dist/gcc/config/netbsd.h |  18 ------------------
 1 files changed, 0 insertions(+), 18 deletions(-)

diffs (28 lines):

diff -r c4449427560b -r 896fa1057eb9 external/gpl3/gcc/dist/gcc/config/netbsd.h
--- a/external/gpl3/gcc/dist/gcc/config/netbsd.h        Fri Oct 07 09:15:21 2011 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/netbsd.h        Fri Oct 07 09:16:27 2011 +0000
@@ -149,24 +149,6 @@
 #undef LIB_SPEC
 #define LIB_SPEC NETBSD_LIB_SPEC
 
-/* Provide a LIBGCC_SPEC for NetBSD that will find libgcc_pic.  Override
-   the this entirely by defining REAL_LIBGCC_SPEC.  */
-
-#define NETBSD_LIBGCC_SPEC                                             \
-  "%{static:-lgcc -lgcc_eh}                                            \
-   %{static-libgcc:                                                    \
-     %{!shared:-lgcc -lgcc_eh}                                         \
-     %{shared:-lgcc_pic -lgcc_eh_pic}}                                 \
-   %{!static:                                                          \
-     %{!static-libgcc:                                                 \
-       %{!shared:                                                      \
-         %{!shared-libgcc:-lgcc -lgcc_eh}                              \
-         %{shared-libgcc:-lgcc_s -lgcc}}                               \
-       %{shared:                                                       \
-         %{shared-libgcc:-lgcc_s} -lgcc_pic}}}"
-
-#define REAL_LIBGCC_SPEC NETBSD_LIBGCC_SPEC
-
 /* Pass -cxx-isystem to cc1/cc1plus.  */
 #define NETBSD_CC1_AND_CC1PLUS_SPEC            \
   "%{cxx-isystem}"



Home | Main Index | Thread Index | Old Index