1
1
mirror of https://github.com/rui314/mold.git synced 2024-09-22 18:40:59 +03:00
This commit is contained in:
Rui Ueyama 2021-01-26 09:11:12 +09:00
parent 756fc72fe9
commit fbd4d43c8c

10
mold.h
View File

@ -23,11 +23,11 @@
#include <tbb/spin_mutex.h>
#include <vector>
#define SECTOR_SIZE 512
#define PAGE_SIZE 4096
#define GOT_SIZE 8
#define PLT_SIZE 16
#define SHA256_SIZE 32
static constexpr i64 SECTOR_SIZE = 512;
static constexpr i64 PAGE_SIZE = 4096;
static constexpr i64 GOT_SIZE = 8;
static constexpr i64 PLT_SIZE = 16;
static constexpr i64 SHA256_SIZE = 32;
typedef uint8_t u8;
typedef uint16_t u16;