mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-01 08:31:45 +00:00
- Fixed the order of the MS sections.
This commit is contained in:
parent
e2167c661c
commit
e1c4e4939a
1 changed files with 5 additions and 5 deletions
|
@ -52,8 +52,8 @@
|
||||||
// a single section during the final link. (.rdata is the standard section
|
// a single section during the final link. (.rdata is the standard section
|
||||||
// for initialized read-only data.)
|
// for initialized read-only data.)
|
||||||
|
|
||||||
#pragma comment(linker, "/merge:.areg=.rdata /merge:.creg=.rdata /merge:.greg=.rdata")
|
#pragma comment(linker, "/merge:.areg=.rdata /merge:.creg=.rdata /merge:.freg=.rdata")
|
||||||
#pragma comment(linker, "/merge:.yreg=.rdata /merge:.freg=.rdata")
|
#pragma comment(linker, "/merge:.greg=.rdata /merge:.yreg=.rdata")
|
||||||
|
|
||||||
#pragma section(".areg$a",read)
|
#pragma section(".areg$a",read)
|
||||||
__declspec(allocate(".areg$a")) void *const ARegHead = 0;
|
__declspec(allocate(".areg$a")) void *const ARegHead = 0;
|
||||||
|
@ -61,12 +61,12 @@ __declspec(allocate(".areg$a")) void *const ARegHead = 0;
|
||||||
#pragma section(".creg$a",read)
|
#pragma section(".creg$a",read)
|
||||||
__declspec(allocate(".creg$a")) void *const CRegHead = 0;
|
__declspec(allocate(".creg$a")) void *const CRegHead = 0;
|
||||||
|
|
||||||
#pragma section(".greg$a",read)
|
|
||||||
__declspec(allocate(".greg$a")) void *const GRegHead = 0;
|
|
||||||
|
|
||||||
#pragma section(".freg$a",read)
|
#pragma section(".freg$a",read)
|
||||||
__declspec(allocate(".freg$a")) void *const FRegHead = 0;
|
__declspec(allocate(".freg$a")) void *const FRegHead = 0;
|
||||||
|
|
||||||
|
#pragma section(".greg$a",read)
|
||||||
|
__declspec(allocate(".greg$a")) void *const GRegHead = 0;
|
||||||
|
|
||||||
#pragma section(".yreg$a",read)
|
#pragma section(".yreg$a",read)
|
||||||
__declspec(allocate(".yreg$a")) void *const YRegHead = 0;
|
__declspec(allocate(".yreg$a")) void *const YRegHead = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue