From 97b11c6e40eaebda346385fc5efc924c288941c7 Mon Sep 17 00:00:00 2001 From: Phil Budne Date: Tue, 1 Mar 2016 20:36:13 -0500 Subject: [PATCH] start with .=4096. This isn't what as.s does (and will break the kernel) --- tools/as7 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/as7 b/tools/as7 index 2ba3f01..912326b 100755 --- a/tools/as7 +++ b/tools/as7 @@ -55,7 +55,7 @@ usage() if ( @ARGV < 1 ); # start with the location counter at zero # predefine syscall and opcodes as variables %Var = ( - '.' => 0, + '.' => 4096, '..' => 4096, # output base addr? # as.s does not have an initial symbol table @@ -189,7 +189,7 @@ foreach my $file (@ARGV) { } # Now do it all again, pass two -$Var{'.'} = 0; +$Var{'.'} = 4096; $stage = 2; open(my $OUT, ">$output") || die "$output";