mirror of
https://github.com/reactos/reactos.git
synced 2025-01-04 05:20:54 +00:00
[CRT]
Make .CRT sections always read only. svn path=/trunk/; revision=53346
This commit is contained in:
parent
088f7f2c4f
commit
439126ffd6
2 changed files with 1 additions and 5 deletions
|
@ -7,7 +7,7 @@
|
|||
#if defined(_MSC_VER)
|
||||
|
||||
#if defined(_M_IA64) || defined(_M_AMD64)
|
||||
#define _ATTRIBUTES
|
||||
#define _ATTRIBUTES read
|
||||
#else
|
||||
#define _ATTRIBUTES read
|
||||
#endif
|
||||
|
|
|
@ -2,12 +2,8 @@
|
|||
#include <sect_attribs.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#ifdef _M_AMD64
|
||||
#pragma comment(linker, "/merge:.CRT=.data")
|
||||
#else
|
||||
#pragma comment(linker, "/merge:.CRT=.rdata")
|
||||
#endif
|
||||
#endif
|
||||
|
||||
typedef void (__cdecl *_PVFV)(void);
|
||||
|
||||
|
|
Loading…
Reference in a new issue