From: Richard Stallman Date: Sun, 21 Nov 1993 11:23:36 +0000 (+0000) Subject: (LIB_SPEC): Use -lm in addition to -lc--not instead of -lc. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4239762d1fe9f1cffa0a620bf47279e4098f0ce0;p=gcc.git (LIB_SPEC): Use -lm in addition to -lc--not instead of -lc. From-SVN: r6130 --- diff --git a/gcc/config/m68k/isi.h b/gcc/config/m68k/isi.h index f5053530f5e..6e98bfa97db 100644 --- a/gcc/config/m68k/isi.h +++ b/gcc/config/m68k/isi.h @@ -31,11 +31,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define CPP_SPEC "%{!msoft-float:-D__HAVE_68881__}" -/* If the 68881 is used, link must load libmc.a instead of libc.a */ +/* If the 68881 is used, link must load libmc.a before libc.a. */ -#define LIB_SPEC "%{msoft-float:%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}} \ -%{!msoft-float:%{!p:%{!pg:-lmc}}%{p:-lmc_p}%{pg:-lmc_p}} \ -%{g:-lg}" +#define LIB_SPEC "%{!msoft-float:%{!p:%{!pg:-lmc}}%{p:-lmc_p}%{pg:-lmc_p}} \ +%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p} %{g:-lg}" #else /* Define __HAVE_68881__ in preprocessor if -m68881 is specified.