PERFORCE change 158349 for review

Oleksandr Tymoshenko gonzo at FreeBSD.org
Thu Feb 26 13:21:43 PST 2009


http://perforce.freebsd.org/chv.cgi?CH=158349

Change 158349 by gonzo at gonzo_figaro on 2009/02/26 21:20:59

	- Properly define LINK_SPEC and pass EXTRA_SPEC

Affected files ...

.. //depot/projects/avr32/src/contrib/gcc/config/avr32/freebsd.h#3 edit

Differences ...

==== //depot/projects/avr32/src/contrib/gcc/config/avr32/freebsd.h#3 (text+ko) ====

@@ -21,8 +21,8 @@
 
 /* $FreeBSD: src/contrib/gcc/config/mips/freebsd.h,v 1.2 2008/09/01 23:09:45 obrien Exp $ */
 
-#undef  SUBTARGET_EXTRA_SPECS	/* mips.h bogusly defines it.  */
-#define SUBTARGET_EXTRA_SPECS \
+#undef  EXTRA_SPECS
+#define	EXTRA_SPECS \
   { "fbsd_dynamic_linker",	FBSD_DYNAMIC_LINKER}, \
   { "fbsd_link_spec",		FBSD_LINK_SPEC }
 
@@ -54,6 +54,11 @@
       %{static:-Bstatic}} \
     %{symbolic:-Bsymbolic} "
 
+#undef	LINK_SPEC
+#define LINK_SPEC "\
+    %{mrelax|O*:%{mno-relax|O0|O1: ;:--relax}} \
+    %(fbsd_link_spec) "
+
 /* 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 p4-projects mailing list