From eb8205214835ec6f3c82387c7da6bd35eb4c2f5d Mon Sep 17 00:00:00 2001 From: espie Date: Sun, 24 Jan 1999 13:12:40 +0000 Subject: [PATCH] Adjust alpha for current linker. (this is an artifact of the way I proceed for cleaning up stuff: I am removing everything I don't understand, then I put it back when I find the reason for which it's needed :) ) --- lang/egcs-snapshot/files/config/gcc/config/alpha/openbsd.h | 6 +++++- lang/egcs/snapshot/files/config/gcc/config/alpha/openbsd.h | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/lang/egcs-snapshot/files/config/gcc/config/alpha/openbsd.h b/lang/egcs-snapshot/files/config/gcc/config/alpha/openbsd.h index a9df7478b18..c3b221eca72 100644 --- a/lang/egcs-snapshot/files/config/gcc/config/alpha/openbsd.h +++ b/lang/egcs-snapshot/files/config/gcc/config/alpha/openbsd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: openbsd.h,v 1.6 1999/01/22 22:40:17 espie Exp $ */ +/* $OpenBSD: openbsd.h,v 1.7 1999/01/24 13:12:40 espie Exp $ */ /* vi:ts=8: */ @@ -13,6 +13,10 @@ #define OBSD_HAS_DECLARE_OBJECT_NAME #include #undef ASM_WEAKEN_LABEL +/* alpha needs __start */ +#undef LINK_SPEC +#define LINK_SPEC \ + "%{!nostdlib:%{!r*:%{!e*:-e __start}}} -dc -dp %{assert*}" /* run-time target specifications */ #define CPP_PREDEFINES "-D__unix__ -D__ANSI_COMPAT -Asystem(unix) \ diff --git a/lang/egcs/snapshot/files/config/gcc/config/alpha/openbsd.h b/lang/egcs/snapshot/files/config/gcc/config/alpha/openbsd.h index a9df7478b18..c3b221eca72 100644 --- a/lang/egcs/snapshot/files/config/gcc/config/alpha/openbsd.h +++ b/lang/egcs/snapshot/files/config/gcc/config/alpha/openbsd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: openbsd.h,v 1.6 1999/01/22 22:40:17 espie Exp $ */ +/* $OpenBSD: openbsd.h,v 1.7 1999/01/24 13:12:40 espie Exp $ */ /* vi:ts=8: */ @@ -13,6 +13,10 @@ #define OBSD_HAS_DECLARE_OBJECT_NAME #include #undef ASM_WEAKEN_LABEL +/* alpha needs __start */ +#undef LINK_SPEC +#define LINK_SPEC \ + "%{!nostdlib:%{!r*:%{!e*:-e __start}}} -dc -dp %{assert*}" /* run-time target specifications */ #define CPP_PREDEFINES "-D__unix__ -D__ANSI_COMPAT -Asystem(unix) \