Merge pull request #16 from philbudne/master

start with .=4096.  This isn't what as.s does (and will break the kernel)
This commit is contained in:
Warren
2016-03-02 11:54:04 +10:00
+2 -2
View File
@@ -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";