lib/elf: Optimise is_relocatable() a bit

This commit is contained in:
mintsuki 2024-06-03 02:28:21 +02:00
parent 4c4d79b7fe
commit 89bc8aad5e

View File

@ -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;