aboutsummaryrefslogtreecommitdiff
path: root/contrib/gcc
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2010-03-05 21:25:20 +0000
committerWarner Losh <imp@FreeBSD.org>2010-03-05 21:25:20 +0000
commitb2be35012a886656640bd1977a3f73ff60ccc9f0 (patch)
tree2ab77e3727251a213a341de945bb5e0dee96ef35 /contrib/gcc
parent56ac80ce813eaa695082edf88ae25d7ef63f21ab (diff)
downloadsrc-b2be35012a886656640bd1977a3f73ff60ccc9f0.tar.gz
src-b2be35012a886656640bd1977a3f73ff60ccc9f0.zip
Tweak the linker spec a smidge.
Correct a typo.
Notes
Notes: svn path=/head/; revision=204772
Diffstat (limited to 'contrib/gcc')
-rw-r--r--contrib/gcc/config/mips/freebsd.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/contrib/gcc/config/mips/freebsd.h b/contrib/gcc/config/mips/freebsd.h
index 207ea164b348..35159ab4661b 100644
--- a/contrib/gcc/config/mips/freebsd.h
+++ b/contrib/gcc/config/mips/freebsd.h
@@ -65,6 +65,7 @@ Boston, MA 02110-1301, USA. */
#undef LINK_SPEC
#define LINK_SPEC "\
+ %{EB} %{EL} %(endian_spec) \
%{G*} %{mips1} %{mips2} %{mips3} %{mips4} \
%{mips32} %{mips32r2} %{mips64} %{mips64r2} \
%{bestGnum} %{call_shared} %{no_archive} %{exact_version} \
@@ -72,8 +73,6 @@ Boston, MA 02110-1301, USA. */
%{mabi=n32:-melf32%{EB:b}%{EL:l}tsmipn32_fbsd} \
%{mabi=64:-melf64%{EB:b}%{EL:l}tsmip_fbsd} \
%{mabi=o64:-melf64%{EB:b}%{EL:l}tsmip_fbsd} \
- %(fbsd_link_spec) \
- %(endian_spec) \
%(fbsd_link_spec)"
@@ -82,7 +81,7 @@ Boston, MA 02110-1301, USA. */
#undef STARTFILE_SPEC
#define STARTFILE_SPEC FBSD_STARTFILE_SPEC
-/* Provide an ENDFILE_SPEC appropriate for FreeBSD/i386. */
+/* Provide an ENDFILE_SPEC appropriate for FreeBSD/mips. */
#undef ENDFILE_SPEC
#define ENDFILE_SPEC FBSD_ENDFILE_SPEC