mirror of
https://github.com/limine-bootloader/limine
synced 2024-11-29 11:53:23 +03:00
lib/elf: Optimise is_relocatable() a bit
This commit is contained in:
parent
4c4d79b7fe
commit
89bc8aad5e
@ -183,10 +183,10 @@ static bool elf64_is_relocatable(uint8_t *elf, struct elf64_hdr *hdr) {
|
||||
return true;
|
||||
}
|
||||
break;
|
||||
case DT_RELA:
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user