blob: 24ff8056b937f5a11726e45db42f42bce626a2d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
diff -Naur pasm-1.6c.orig/Makefile pasm-1.6c/Makefile
--- pasm-1.6c.orig/Makefile 2001-05-14 18:06:01.000000000 +0200
+++ pasm-1.6c/Makefile 2004-02-28 16:19:21.000000000 +0100
@@ -14,9 +14,9 @@
# Unix
CC = gcc
-COPTS = -O2 -fomit-frame-pointer -DIrix53 -DOFMT_DEFAULT=OFMT_ELF
+COPTS = $(CFLAGS) -DLinuxPPC -DOFMT_DEFAULT=OFMT_ELF
CLIBS = -lm
-DIR = Irix5.3
+DIR = LinuxPPC
PPCobj = $(DIR)/main.o $(DIR)/support.o $(DIR)/pass.o $(DIR)/eval.o \
diff -Naur pasm-1.6c.orig/ppcasm.h pasm-1.6c/ppcasm.h
--- pasm-1.6c.orig/ppcasm.h 2003-11-01 13:49:29.000000000 +0100
+++ pasm-1.6c/ppcasm.h 2004-02-28 16:16:38.000000000 +0100
@@ -162,6 +162,10 @@
#define MACHINE "Linux/Alpha"
#define LITTLEENDIAN
#define TYPES64BIT
+#elif defined (LinuxPPC)
+#define MACHINE "Linux/PPC"
+#define BIGENDIAN
+#define STDTYPES
#elif defined (Wintel) /* jab */
#define MACHINE "Wintel"
#define LITTLEENDIAN
|