aboutsummaryrefslogtreecommitdiffstats
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/i386/Makefile5
-rw-r--r--src/arch/i386/prefix/unnrv2b16.S7
2 files changed, 7 insertions, 5 deletions
diff --git a/src/arch/i386/Makefile b/src/arch/i386/Makefile
index 9cf2bd698..1ca77347f 100644
--- a/src/arch/i386/Makefile
+++ b/src/arch/i386/Makefile
@@ -89,11 +89,6 @@ NON_AUTO_SRCS += arch/i386/core/aout_loader.c
NON_AUTO_SRCS += arch/i386/core/freebsd_loader.c
NON_AUTO_SRCS += arch/i386/core/wince_loader.c
-# unnrv2b.S is used to generate a 16-bit as well as a 32-bit object.
-#
-OBJS_unnrv2b = unnrv2b unnrv2b16
-CFLAGS_unnrv2b16 = -DCODE16
-
# Include common x86 Makefile
#
MAKEDEPS += arch/x86/Makefile
diff --git a/src/arch/i386/prefix/unnrv2b16.S b/src/arch/i386/prefix/unnrv2b16.S
new file mode 100644
index 000000000..da0e6ae82
--- /dev/null
+++ b/src/arch/i386/prefix/unnrv2b16.S
@@ -0,0 +1,7 @@
+/*
+ * 16-bit version of the decompressor
+ *
+ */
+
+#define CODE16
+#include "unnrv2b.S"