mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 12:23:28 +00:00
[CRT]
Make .CRT sections always read only. svn path=/trunk/; revision=53346
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user