From 6aefd620782e6cd2f9628e7ee63c501da0dce074 Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Fri, 4 Aug 1995 17:11:32 +0000 Subject: Make only a `-r' flag (as opposed to `-r*') special within the LINK_SPEC. This solves a problem with the f77 frontend where aproviding the -r8 option (use REAL*8) caused `cc' to ``forget'' to pass the entry point to the linker. Closes PR #gnu/644: f77 -r8 Reviewed by: watanabe@komadori.earth.s.kobe-u.ac.jp (Takeshi WATANABE) --- gnu/usr.bin/cc/include/tm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/usr.bin/cc/include/tm.h b/gnu/usr.bin/cc/include/tm.h index 5dc03fb679b6..440d509cefae 100644 --- a/gnu/usr.bin/cc/include/tm.h +++ b/gnu/usr.bin/cc/include/tm.h @@ -42,7 +42,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}" #define LINK_SPEC \ - "%{!nostdlib:%{!r*:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} %{assert*} \ + "%{!nostdlib:%{!r:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} %{assert*} \ %{p:-Bstatic} %{pg:-Bstatic} %{Z}" /* This goes away when the math emulator is fixed. */ -- cgit v1.3