1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-27 10:23:41 +03:00

temporary

This commit is contained in:
Rui Ueyama 2020-10-29 20:19:41 +09:00
parent 9a280a1834
commit fb824e144a

2
mold.h
View File

@ -359,7 +359,7 @@ class GotSection : public OutputChunk {
public:
GotSection() {
name = ".got";
shdr.sh_flags = llvm::ELF::SHF_ALLOC;
shdr.sh_flags = llvm::ELF::SHF_ALLOC | llvm::ELF::SHF_WRITE;
shdr.sh_type = llvm::ELF::SHT_PROGBITS;
shdr.sh_addralign = 8;
}