summaryrefslogtreecommitdiff
path: root/emulators/ia64sim/files
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/ia64sim/files')
-rw-r--r--emulators/ia64sim/files/patch-ia64sim.c21
-rw-r--r--emulators/ia64sim/files/patch-include_ia64.h30
-rw-r--r--emulators/ia64sim/files/patch-makefile.unx16
3 files changed, 0 insertions, 67 deletions
diff --git a/emulators/ia64sim/files/patch-ia64sim.c b/emulators/ia64sim/files/patch-ia64sim.c
deleted file mode 100644
index f656556b4b17..000000000000
--- a/emulators/ia64sim/files/patch-ia64sim.c
+++ /dev/null
@@ -1,21 +0,0 @@
---- ia64sim.c.orig 2000-02-28 01:20:26 UTC
-+++ ia64sim.c
-@@ -779,7 +779,7 @@ int main(int argc, char **argv) {
-
- uint32 i;
-
-- printf("\nIA64 ISA simulator, version 0.4\n");
-+ printf("\nIA64 ISA simulator, version 0.5\n");
- printf("Memory limits: 0x%08x-0x%08x\n", 0, MEMSIZE-1);
- printf("Try 'h' for help\n\n");
-
-@@ -811,6 +811,9 @@ int main(int argc, char **argv) {
- printf("IA64sim>> ");
- fgets(cmd,sizeof(cmd),stdin);
-
-+ if (feof(stdin))
-+ return 0;
-+
- nextchar = cmd;
- while(*nextchar) *nextchar++ = tolower(*nextchar);
-
diff --git a/emulators/ia64sim/files/patch-include_ia64.h b/emulators/ia64sim/files/patch-include_ia64.h
deleted file mode 100644
index 4c3b43814fe4..000000000000
--- a/emulators/ia64sim/files/patch-include_ia64.h
+++ /dev/null
@@ -1,30 +0,0 @@
---- include/ia64.h.orig 2000-03-09 00:57:11 UTC
-+++ include/ia64.h
-@@ -29,6 +29,7 @@ benefit from your work.
- #include <ctype.h>
- #include <string.h>
- #include <elf.h>
-+#include <sys/elf64.h>
-
- #define TRUE 1
- #define FALSE 0
-@@ -38,7 +39,7 @@ benefit from your work.
- 0<=lo,hi<=63 and lo<=hi */
-
- #define BITS(x,lo,hi) ( \
-- (uint32)(x##.q >> lo) & \
-+ (uint32)(x.q >> lo) & \
- ( (1<<(hi-lo+1)) - 1 ) \
- )
-
-@@ -72,8 +73,8 @@ typedef union {
- uint8 b[8];
- } qword;
-
--#define HI(x) (x##.d[1])
--#define LO(x) (x##.d[0])
-+#define HI(x) (x.d[1])
-+#define LO(x) (x.d[0])
-
- typedef struct {
- qword dat;
diff --git a/emulators/ia64sim/files/patch-makefile.unx b/emulators/ia64sim/files/patch-makefile.unx
deleted file mode 100644
index 8ad9d9e2d989..000000000000
--- a/emulators/ia64sim/files/patch-makefile.unx
+++ /dev/null
@@ -1,16 +0,0 @@
---- makefile.unx.orig 2000-02-13 06:25:47 UTC
-+++ makefile.unx
-@@ -18,11 +18,11 @@ EXECDIR = execute
- OBJDIR = obj
- INCDIR = include
- CC = gcc
--CFLAGS = -O3 -m486 -fomit-frame-pointer -s -I$(INCDIR)
-+CFLAGS += -s -I$(INCDIR)
-
- ASMSRCS= assemble.c bundle.c asmfunc.c jumptbl.c decode.c symbols.c
-
--EXECSRCS = execute.c utils.c f_unit.c b_unit.c x_unit.c \
-+EXECSRCS = elf.c execute.c utils.c f_unit.c b_unit.c x_unit.c \
- m_unit.c i_alu.c i_cmp.c i_shft.c globals.c
-
- ASMOBJS = $(ASMSRCS:.c=.o)