summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cc
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1995-08-04 17:11:32 +0000
committerjoerg <joerg@FreeBSD.org>1995-08-04 17:11:32 +0000
commit4d820dd71519065f22c94431bcb7e0c851e445b3 (patch)
tree6ccb602728dd3673321a48034b943f4b95642708 /gnu/usr.bin/cc
parent3e48994129ea367a54285098fce04c409a947f5a (diff)
downloadFreeBSD-src-4d820dd71519065f22c94431bcb7e0c851e445b3.zip
FreeBSD-src-4d820dd71519065f22c94431bcb7e0c851e445b3.tar.gz
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)
Diffstat (limited to 'gnu/usr.bin/cc')
-rw-r--r--gnu/usr.bin/cc/include/tm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/cc/include/tm.h b/gnu/usr.bin/cc/include/tm.h
index 5dc03fb..440d509 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. */
OpenPOWER on IntegriCloud