mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 01:43:02 +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;
|
extern char __ImageBase;
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
/* .text/.data/.rdata, .edata and .bss */
|
#ifdef _M_AMD64
|
||||||
#define FREELDR_SECTION_COUNT 3
|
/* .text/.data/.rdata, and .bss */
|
||||||
|
#define FREELDR_SECTION_COUNT 2
|
||||||
|
#else
|
||||||
|
/* .text/.data/.rdata, .edata and .bss */
|
||||||
|
#define FREELDR_SECTION_COUNT 3
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#ifdef _M_AMD64
|
#ifdef _M_AMD64
|
||||||
/* .text, .rdata/.edata, .pdata and .data/.bss */
|
/* .text, .rdata/.edata, .pdata and .data/.bss */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue