BUG FIX for 2.1.9

Hans Lermen (lermen@elserv.ffm.fgan.de)
Wed, 13 Nov 1996 00:31:26 +0100 (MET)


Hi Linus,

As Michael L. Galbraith already pointed out, there is a little bug left
when compiling a bzImage under 2.1.x. I didn't notice that, due to having
a broken objdump and using the 'do_not_use_encaps' kludge. However, now
having a working objdump, I found out that Michael is right.

Here is the patch:

--- linux-2.1.9/arch/i386/boot/Makefile~ Wed Oct 16 21:32:50 1996
+++ linux-2.1.9/arch/i386/boot/Makefile Tue Nov 12 22:55:50 1996
@@ -25,7 +25,7 @@

bzImage: $(CONFIGURE) bbootsect setup compressed/bvmlinux tools/bbuild
if hash $(ENCAPS) 2> /dev/null; then \
- $(OBJDUMP) $(OBJDUMP_FLAGS) -o $(IMAGE_OFFSET) compressed/bvmlinux > compressed/bvmlinux.out; \
+ $(OBJDUMP) $(OBJDUMP_FLAGS) -o $(BZIMAGE_OFFSET) compressed/bvmlinux > compressed/bvmlinux.out; \
else \
$(OBJCOPY) compressed/bvmlinux compressed/bvmlinux.out; \
fi

Hans
<lermen@fgan.de>