svn commit: r205673 - user/jmallett/octeon/contrib/gcc/config/mips
Juli Mallett
jmallett at FreeBSD.org
Fri Mar 26 06:03:22 UTC 2010
Author: jmallett
Date: Fri Mar 26 06:03:21 2010
New Revision: 205673
URL: http://svn.freebsd.org/changeset/base/205673
Log:
Put libgcc and libc into a group so that references between them are resolved
properly. For some reason this only seems to afflict n64 builds.
Modified:
user/jmallett/octeon/contrib/gcc/config/mips/freebsd.h
Modified: user/jmallett/octeon/contrib/gcc/config/mips/freebsd.h
==============================================================================
--- user/jmallett/octeon/contrib/gcc/config/mips/freebsd.h Fri Mar 26 05:35:25 2010 (r205672)
+++ user/jmallett/octeon/contrib/gcc/config/mips/freebsd.h Fri Mar 26 06:03:21 2010 (r205673)
@@ -75,7 +75,10 @@ Boston, MA 02110-1301, USA. */
%{mabi=o64:-melf64%{EB:b}%{EL:l}tsmip_fbsd} \
%(fbsd_link_spec)"
-
+#undef LINK_GCC_C_SEQUENCE_SPEC
+#define LINK_GCC_C_SEQUENCE_SPEC \
+ "%{static:--start-group} %G %L %{static:--end-group}%{!static:%G}"
+
/* Reset our STARTFILE_SPEC which was properly set in config/freebsd.h
but trashed by config/mips/elf.h. */
#undef STARTFILE_SPEC
More information about the svn-src-user
mailing list