summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/score')
-rw-r--r--c/src/exec/score/cpu/i386/asm.h1
-rw-r--r--c/src/exec/score/tools/hppa1.1/Makefile.in6
2 files changed, 5 insertions, 2 deletions
diff --git a/c/src/exec/score/cpu/i386/asm.h b/c/src/exec/score/cpu/i386/asm.h
index 53a4ea7e5a..9fe867c04c 100644
--- a/c/src/exec/score/cpu/i386/asm.h
+++ b/c/src/exec/score/cpu/i386/asm.h
@@ -92,6 +92,7 @@
#define edi REG (edi)
#define esp REG (esp)
#define ebp REG (ebp)
+#define cr0 REG (cr0)
#define ax REG (ax)
#define bx REG (bx)
diff --git a/c/src/exec/score/tools/hppa1.1/Makefile.in b/c/src/exec/score/tools/hppa1.1/Makefile.in
index 4a8be52b11..0ef6de8843 100644
--- a/c/src/exec/score/tools/hppa1.1/Makefile.in
+++ b/c/src/exec/score/tools/hppa1.1/Makefile.in
@@ -50,12 +50,14 @@ CLEAN_ADDITIONS +=
CLOBBER_ADDITIONS +=
all: ${ARCH} $(SRCS) preinstall $(PGMS)
- $(INSTALL) $(INSTBINFLAGS) ${PGMS} ${PROJECT_RELEASE}/bin
# Hack
# we are #including files that haven't been installed yet.
# Make sure they are available.
-preinstall: FORCEIT
+preinstall: ${ARCH} headers $(SRCS) $(PGMS)
+ $(INSTALL) $(INSTBINFLAGS) ${PGMS} ${PROJECT_RELEASE}/bin
+
+headers: FORCE
cd $(CPU_DIR); $(MAKE) install-headers
# Install the program(s), appending _g or _p as appropriate.