1
1
mirror of https://github.com/rui314/mold.git synced 2024-10-05 09:07:10 +03:00

temporary

This commit is contained in:
Rui Ueyama 2020-11-29 21:05:39 +09:00
parent e55fbbd159
commit 44ec85c64b

2
mold.h
View File

@ -911,7 +911,7 @@ inline u64 InputChunk::get_addr() const {
inline u32 elf_hash(StringRef name) {
u32 h = 0;
for (char c : name) {
for (u8 c : name) {
h = (h << 4) + c;
u32 g = h & 0xf0000000;
if (g != 0)