mirror of
https://github.com/reactos/reactos.git
synced 2026-09-09 02:44:55 +08:00
[FREELDR] Fix check, as FreeLoader x64 compiled with GCC only have 2 sections (.text and .bss)
This commit is contained in:
@@ -21,8 +21,13 @@
|
||||
|
||||
extern char __ImageBase;
|
||||
#ifdef __GNUC__
|
||||
/* .text/.data/.rdata, .edata and .bss */
|
||||
#define FREELDR_SECTION_COUNT 3
|
||||
#ifdef _M_AMD64
|
||||
/* .text/.data/.rdata, and .bss */
|
||||
#define FREELDR_SECTION_COUNT 2
|
||||
#else
|
||||
/* .text/.data/.rdata, .edata and .bss */
|
||||
#define FREELDR_SECTION_COUNT 3
|
||||
#endif
|
||||
#else
|
||||
#ifdef _M_AMD64
|
||||
/* .text, .rdata/.edata, .pdata and .data/.bss */
|
||||
|
||||
Reference in New Issue
Block a user