summaryrefslogtreecommitdiff
path: root/gnu/egcs/gcc/config
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-06-13 12:45:28 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-06-13 12:45:28 +0000
commitd03b2c2bcaf1061cc351fbb3607ca0ebcbfabc6a (patch)
treec5571da01128eb382319025584479e7cac42ddf9 /gnu/egcs/gcc/config
parentc820ed342cb9529e7d1fc1dbf40cb6907f990a47 (diff)
alpha now defaults to shared libs.
espie@ ok.
Diffstat (limited to 'gnu/egcs/gcc/config')
-rw-r--r--gnu/egcs/gcc/config/alpha/openbsd.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/egcs/gcc/config/alpha/openbsd.h b/gnu/egcs/gcc/config/alpha/openbsd.h
index 40c06241c9a..fb208baa45e 100644
--- a/gnu/egcs/gcc/config/alpha/openbsd.h
+++ b/gnu/egcs/gcc/config/alpha/openbsd.h
@@ -24,7 +24,6 @@ Boston, MA 02111-1307, USA. */
#include <alpha/alpha.h>
#include <alpha/elf.h>
-#define OBSD_NO_DYNAMIC_LIBRARIES
#define OBSD_HAS_DECLARE_FUNCTION_NAME
#define OBSD_HAS_DECLARE_FUNCTION_SIZE
#define OBSD_HAS_DECLARE_OBJECT
@@ -36,7 +35,12 @@ Boston, MA 02111-1307, USA. */
/* alpha needs __start. */
#undef LINK_SPEC
#define LINK_SPEC \
- "%{!nostdlib:%{!r*:%{!e*:-e __start}}} -dc -dp %{assert*}"
+ "%{!shared:%{!nostdlib:%{!r*:%{!e*:-e __start}}}} \
+ %{shared:-shared} %{R*} \
+ %{static:-Bstatic} \
+ %{!static:-Bdynamic} \
+ %{assert*} \
+ %{!dynamic-linker:-dynamic-linker /usr/libexec/ld.so}"
/* As an elf system, we need crtbegin/crtend stuff. */
#undef STARTFILE_SPEC