summaryrefslogtreecommitdiff
path: root/lang/gprolog/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gprolog/patches/patch-ad')
-rw-r--r--lang/gprolog/patches/patch-ad76
1 files changed, 0 insertions, 76 deletions
diff --git a/lang/gprolog/patches/patch-ad b/lang/gprolog/patches/patch-ad
deleted file mode 100644
index d97772f9a50..00000000000
--- a/lang/gprolog/patches/patch-ad
+++ /dev/null
@@ -1,76 +0,0 @@
-$NetBSD: patch-ad,v 1.3 2003/06/23 19:48:22 jtb Exp $
-
---- Ma2Asm/powerpc_any.c.orig
-+++ Ma2Asm/powerpc_any.c
-@@ -42,7 +42,7 @@
- #define MAX_DOUBLES_IN_PRED 2048
-
-
--#ifdef M_powerpc_linux
-+#if defined(M_powerpc_linux) || defined(M_powerpc_bsd)
-
- #define UN
- #define R(reg) #reg
-@@ -186,7 +186,7 @@
-
- Label_Printf("");
- Inst_Printf(".align", "2");
--#ifdef M_powerpc_linux
-+#if defined(M_powerpc_linux) || defined(M_powerpc_bsd)
- Inst_Printf(".type", "%s,@function", label);
- #endif
-
-@@ -431,7 +431,7 @@
-
-
-
--#ifdef M_powerpc_linux
-+#if defined(M_powerpc_linux) || defined(M_powerpc_bsd)
-
- #define STACK_OFFSET(offset) offset * 4 - 24
- #define DBL_RET_WORDS 0
-@@ -462,7 +462,7 @@
- }
-
-
--#ifdef M_powerpc_linux
-+#if defined(M_powerpc_linux) || defined(M_powerpc_bsd)
-
- #define AFTER_ARG_DBL \
- }
-@@ -649,7 +649,7 @@
- BEFORE_ARG;
-
- Inst_Printf("addis", "%s,0," HI_UN(foreign_double+%d), r,
--#ifdef M_powerpc_linux
-+#if defined(M_powerpc_linux) || defined(M_powerpc_bsd)
- index * 4
- #else
- index * 8
-@@ -882,7 +882,7 @@
- void
- Dico_String_Start(int nb_consts)
- {
--#ifdef M_powerpc_linux
-+#if defined(M_powerpc_linux) || defined(M_powerpc_bsd)
- Label_Printf(".section\t.rodata");
- #else
- Label_Printf(".cstring");
-@@ -900,7 +900,7 @@
- Dico_String(int str_no, char *asciiz)
- {
- Label_Printf("%s%d:", STRING_PREFIX, str_no);
--#ifdef M_powerpc_linux
-+#if defined(M_powerpc_linux) || defined(M_powerpc_bsd)
- Inst_Printf(".string", "%s", asciiz);
- #else
- Inst_Printf(".asciz", "%s", asciiz);
-@@ -948,7 +948,7 @@
- case NONE:
- value = 1; /* then in case ARRAY_SIZE */
- case ARRAY_SIZE:
--#ifdef M_powerpc_linux
-+#if defined(M_powerpc_linux) || defined(M_powerpc_bsd)
- if (!global)
- Inst_Printf(".local", UN "%s", name);
- Inst_Printf(".comm", UN "%s,%ld,4", name, value * 4);