From 54e203858d9abbd383f7ad829bd4d439e2b55180 Mon Sep 17 00:00:00 2001 From: "Loren J. Rittle" Date: Fri, 29 Mar 2002 05:21:29 +0000 Subject: [PATCH] freebsd.h (LINK_SPEC): Don't pass default emulation to the linker. * config/i386/freebsd.h (LINK_SPEC): Don't pass default emulation to the linker. * config/alpha/freebsd.h (LINK_SPEC): Likewise. * config/sparc/freebsd.h (LINK_SPEC): Likewise. From-SVN: r51540 --- gcc/ChangeLog | 10 ++++++++++ gcc/config/alpha/freebsd.h | 4 ++-- gcc/config/i386/freebsd.h | 4 ++-- gcc/config/sparc/freebsd.h | 4 ++-- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a804219ef12..f4b73ff0ed1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +2002-03-28 Alexandre Oliva + + * config/i386/freebsd.h (LINK_SPEC): Don't pass default + emulation to the linker. + +2002-03-28 Loren J. Rittle + + * config/alpha/freebsd.h (LINK_SPEC): Likewise. + * config/sparc/freebsd.h (LINK_SPEC): Likewise. + Thu Mar 28 16:35:31 2002 Jeffrey A Law (law@redhat.com) * combine.c (simplify_and_const_int): Make sure to apply mask diff --git a/gcc/config/alpha/freebsd.h b/gcc/config/alpha/freebsd.h index 351fb8420ea..9174b612b24 100644 --- a/gcc/config/alpha/freebsd.h +++ b/gcc/config/alpha/freebsd.h @@ -1,5 +1,5 @@ /* Definitions for DEC Alpha/AXP running FreeBSD using the ELF format - Copyright (C) 2000 Free Software Foundation, Inc. + Copyright (C) 2000, 2002 Free Software Foundation, Inc. Contributed by David E. O'Brien and BSDi. This file is part of GNU CC. @@ -32,7 +32,7 @@ Boston, MA 02111-1307, USA. */ %{mieee-with-inexact:-D_IEEE_FP -D_IEEE_FP_INEXACT}" #undef LINK_SPEC -#define LINK_SPEC "-m elf64alpha %{G*} %{relax:-relax} \ +#define LINK_SPEC "%{G*} %{relax:-relax} \ %{p:%e`-p' not supported; use `-pg' and gprof(1)} \ %{Wl,*:%*} \ %{assert*} %{R*} %{rpath*} %{defsym*} \ diff --git a/gcc/config/i386/freebsd.h b/gcc/config/i386/freebsd.h index 142e6f2e86b..1fd41ca85a8 100644 --- a/gcc/config/i386/freebsd.h +++ b/gcc/config/i386/freebsd.h @@ -1,5 +1,5 @@ /* Definitions for Intel 386 running FreeBSD with ELF format - Copyright (C) 1996, 2000 Free Software Foundation, Inc. + Copyright (C) 1996, 2000, 2002 Free Software Foundation, Inc. Contributed by Eric Youngdale. Modified for stabs-in-ELF by H.J. Lu. Adapted from GNU/Linux version by John Polstra. @@ -105,7 +105,7 @@ Boston, MA 02111-1307, USA. */ done. */ #undef LINK_SPEC -#define LINK_SPEC "-m elf_i386 \ +#define LINK_SPEC "\ %{Wl,*:%*} \ %{v:-V} \ %{assert*} %{R*} %{rpath*} %{defsym*} \ diff --git a/gcc/config/sparc/freebsd.h b/gcc/config/sparc/freebsd.h index e2dfa595852..7654b7a586c 100644 --- a/gcc/config/sparc/freebsd.h +++ b/gcc/config/sparc/freebsd.h @@ -1,5 +1,5 @@ /* Definitions for Sun Sparc64 running FreeBSD using the ELF format - Copyright (C) 2001 Free Software Foundation, Inc. + Copyright (C) 2001, 2002 Free Software Foundation, Inc. Contributed by David E. O'Brien and BSDi. This file is part of GNU CC. @@ -26,7 +26,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #undef CPP_PREDEFINES #define CPP_PREDEFINES FBSD_CPP_PREDEFINES -#define LINK_SPEC "-m elf64_sparc %(link_arch) \ +#define LINK_SPEC "%(link_arch) \ %{!mno-relax:%{!r:-relax}} \ %{p:%e`-p' not supported; use `-pg' and gprof(1)} \ %{Wl,*:%*} \ -- 2.30.2