Module Name: src
Committed By: mrg
Date: Fri Oct 7 09:16:27 UTC 2011
Modified Files:
src/external/gpl3/gcc/dist/gcc/config: netbsd.h
Log Message:
remove NETBSD_LIBGCC_SPEC that is no longer necessary with ligcc
already doing pic code properly.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/dist/gcc/config/netbsd.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gcc/dist/gcc/config/netbsd.h
diff -u src/external/gpl3/gcc/dist/gcc/config/netbsd.h:1.7 src/external/gpl3/gcc/dist/gcc/config/netbsd.h:1.8
--- src/external/gpl3/gcc/dist/gcc/config/netbsd.h:1.7 Sun Aug 7 00:07:15 2011
+++ src/external/gpl3/gcc/dist/gcc/config/netbsd.h Fri Oct 7 09:16:27 2011
@@ -149,24 +149,6 @@ along with GCC; see the file COPYING3.
#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}"