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-31 19:17:57 +09:00
parent f4911cfc06
commit 1e5738cc59

7
mold.h
View File

@ -183,6 +183,13 @@ public:
ObjectFile *file = nullptr;
InputSection *input_section = nullptr;
enum {
NEEDS_GOT = 1 << 0,
NEEDS_GOTTP = 1 << 1,
NEEDS_GOTPLT = 1 << 2,
NEEDS_PLT = 1 << 3,
};
u64 addr = 0;
std::atomic_uint32_t got_offset = ATOMIC_VAR_INIT(0);
std::atomic_uint32_t gottp_offset = ATOMIC_VAR_INIT(0);