mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[FREELDR] Fix check, as FreeLoader x64 compiled with GCC only have 2 sections (.text and .bss)
This commit is contained in:
parent
78d9c38c37
commit
5367ae5760
1 changed files with 7 additions and 2 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue