diff options
author | Frans Kaashoek <[email protected]> | 2020-08-10 13:55:26 -0400 |
---|---|---|
committer | Frans Kaashoek <[email protected]> | 2020-08-10 13:59:40 -0400 |
commit | f14aa421c456875fbb5fff0ef2f5c4154f11e38d (patch) | |
tree | e8bbf03707532c3b10304ea0cc0d69fd167dcedc | |
parent | c24844714bf68feb8965c16be6ad9c82e27cc530 (diff) | |
download | xv6-labs-f14aa421c456875fbb5fff0ef2f5c4154f11e38d.tar.gz xv6-labs-f14aa421c456875fbb5fff0ef2f5c4154f11e38d.tar.bz2 xv6-labs-f14aa421c456875fbb5fff0ef2f5c4154f11e38d.zip |
Generate initcode without compressed extensions
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -79,7 +79,7 @@ $K/kernel: $(OBJS) $K/kernel.ld $U/initcode $(OBJDUMP) -t $K/kernel | sed '1,/SYMBOL TABLE/d; s/ .* / /; /^$$/d' > $K/kernel.sym $U/initcode: $U/initcode.S - $(CC) $(CFLAGS) -nostdinc -I. -Ikernel -c $U/initcode.S -o $U/initcode.o + $(CC) $(CFLAGS) -march=rv64g -nostdinc -I. -Ikernel -c $U/initcode.S -o $U/initcode.o $(LD) $(LDFLAGS) -N -e start -Ttext 0 -o $U/initcode.out $U/initcode.o $(OBJCOPY) -S -O binary $U/initcode.out $U/initcode $(OBJDUMP) -S $U/initcode.o > $U/initcode.asm |