summaryrefslogtreecommitdiffstats
path: root/fips/fipssyms.h
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2011-10-20 12:09:13 +0000
committerAndy Polyakov <appro@openssl.org>2011-10-20 12:09:13 +0000
commit5f132a0356460267c10333626be24f4d8a7df3f0 (patch)
tree019eaacea6f5b85b74250f53cbdc78a41979d689 /fips/fipssyms.h
parentd528caa7254eef18f862c4d6c2f624a9f6703c17 (diff)
fips/fips_[canister|premain].c: make it work with VC6 and add sentinels
even to code segments.
Diffstat (limited to 'fips/fipssyms.h')
-rw-r--r--fips/fipssyms.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fips/fipssyms.h b/fips/fipssyms.h
index 08c69da77a..5b1e188785 100644
--- a/fips/fipssyms.h
+++ b/fips/fipssyms.h
@@ -669,7 +669,8 @@
#define bn_gather5 fips_bn_gather5
#if defined(_MSC_VER)
-# pragma section("fipsro$b",read)
+# pragma const_seg("fipsro$b")
+# pragma const_seg()
# define __fips_constseg __declspec(allocate("fipsro$b"))
#else
# define __fips_constseg