2005-12-01 19:13:24 +01:00
|
|
|
$NetBSD: patch-bc,v 1.2 2005/12/01 18:13:24 wiz Exp $
|
2001-03-18 15:14:24 +01:00
|
|
|
|
2005-12-01 19:13:24 +01:00
|
|
|
--- src/m/alpha.h.orig 1995-02-17 08:47:36.000000000 +0100
|
|
|
|
+++ src/m/alpha.h
|
|
|
|
@@ -108,7 +108,9 @@ NOTE-START
|
2001-03-18 15:14:24 +01:00
|
|
|
in the file alloca.s should be used. */
|
|
|
|
|
|
|
|
#define HAVE_ALLOCA
|
|
|
|
+#ifndef __NetBSD__
|
|
|
|
#define SYSTEM_MALLOC
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
/* Define NO_REMAP if memory segmentation makes it not work well
|
|
|
|
to change the boundary between the text section and data section
|
2005-12-01 19:13:24 +01:00
|
|
|
@@ -134,7 +136,9 @@ NOTE-START
|
2001-03-18 15:14:24 +01:00
|
|
|
|
|
|
|
#define START_FILES pre-crt0.o
|
|
|
|
|
|
|
|
+#ifndef __NetBSD__
|
|
|
|
#define UNEXEC unexmips.o
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
#define PNTR_COMPARISON_TYPE unsigned long
|
|
|
|
|
2005-12-01 19:13:24 +01:00
|
|
|
@@ -149,7 +153,9 @@ extern unsigned long _edata;
|
2001-03-18 15:14:24 +01:00
|
|
|
#define DATA_END &_edata
|
|
|
|
|
|
|
|
#define ORDINARY_LINK
|
|
|
|
+#ifndef __NetBSD__
|
|
|
|
#define LD_SWITCH_SYSTEM
|
|
|
|
+#endif
|
|
|
|
#define LIBS_DEBUG
|
|
|
|
|
|
|
|
/* PURESIZE should be defined in puresize.h. */
|