fix bootblock build with gcc 4.4

This commit is contained in:
Nickolai Zeldovich 2009-09-02 02:03:46 -04:00
parent 48755214c9
commit 45a9782636
2 changed files with 15 additions and 1 deletions

14
.gitignore vendored Normal file
View File

@ -0,0 +1,14 @@
_*
*.o
*.d
*.asm
*.sym
*.img
vectors.S
bootblock
bootother
bootother.out
initcode
initcode.out
kernel
mkfs

View File

@ -53,7 +53,7 @@ bootblock: bootasm.S bootmain.c
$(CC) $(CFLAGS) -nostdinc -I. -c bootasm.S
$(LD) $(LDFLAGS) -N -e start -Ttext 0x7C00 -o bootblock.o bootasm.o bootmain.o
$(OBJDUMP) -S bootblock.o > bootblock.asm
$(OBJCOPY) -S -O binary bootblock.o bootblock
$(OBJCOPY) -S -O binary -j .text bootblock.o bootblock
./sign.pl bootblock
bootother: bootother.S