Bad commits always come in threes (copied lined instead of moving it)
authorJohn Marino <draco@marino.st>
Tue, 22 Sep 2015 00:20:18 +0000 (02:20 +0200)
committerJohn Marino <draco@marino.st>
Tue, 22 Sep 2015 00:20:18 +0000 (02:20 +0200)
sys/kern/link_elf_obj.c

index d15f823..088daa9 100644 (file)
@@ -697,7 +697,6 @@ link_elf_obj_load_file(const char *filename, linker_file_t * result)
                        alignmask = shdr[i].sh_addralign - 1;
                        if (alignmask == -1)
                                 alignmask = 0;
-                       alignmask = shdr[i].sh_addralign - 1;
                        mapbase += alignmask;
                        mapbase &= ~alignmask;
                        if (ef->shstrtab && shdr[i].sh_name != 0)