mirror of
https://github.com/limine-bootloader/limine
synced 2025-02-18 10:04:23 +03:00
lib/elf: Use __builtin_popcountll instead of __builtin_popcountg
This commit is contained in:
parent
77143b153c
commit
7a596fa9fe
@ -386,7 +386,7 @@ static bool elf64_apply_relocations(uint8_t *elf, struct elf64_hdr *hdr, void *b
|
||||
if ((entry & 1) == 0) {
|
||||
relocs_i++;
|
||||
} else {
|
||||
relocs_i += __builtin_popcountg(entry) - 1;
|
||||
relocs_i += __builtin_popcountll(entry) - 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user