aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/config
diff options
context:
space:
mode:
authorKai Tietz <ktietz@redhat.com>2012-12-21 11:12:48 +0100
committerKai Tietz <ktietz@gcc.gnu.org>2012-12-21 11:12:48 +0100
commit3cc6dd4dce2f275e8d539d0a32493ee563352ac9 (patch)
tree3b042de82fe9dabadeec27e4fc35d6f7a8f94be1 /libstdc++-v3/config
parentffeffdcb913ff6273c6bb95dd4872cd9a4e492c7 (diff)
downloadgcc-3cc6dd4dce2f275e8d539d0a32493ee563352ac9.zip
gcc-3cc6dd4dce2f275e8d539d0a32493ee563352ac9.tar.gz
gcc-3cc6dd4dce2f275e8d539d0a32493ee563352ac9.tar.bz2
os_defines.h (_GLIBCXX_LLP64): Define if llp64 abi is used.
* config/os/mingw32/os_defines.h (_GLIBCXX_LLP64): Define if llp64 abi is used. * config/os/mingw32-w64/os_defines.h: Likewise. * libsupc++/cxxabi.h (__base_class_type_info): Adjust type of __offset_flags for llp64. * libsupc++/eh_alloc.cc (EMERGENCY_OBJ_SIZE): Define proper for llp64 abi. (EMERGENCY_OBJ_COUNT): Likewise. (bitmask_type): Likewise. * libsupc++/hash_bytes.cc (_Hash_bytes): Handle llp64. From-SVN: r194658
Diffstat (limited to 'libstdc++-v3/config')
-rw-r--r--libstdc++-v3/config/os/mingw32-w64/os_defines.h4
-rw-r--r--libstdc++-v3/config/os/mingw32/os_defines.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/libstdc++-v3/config/os/mingw32-w64/os_defines.h b/libstdc++-v3/config/os/mingw32-w64/os_defines.h
index 1d3d7d5..da4953a 100644
--- a/libstdc++-v3/config/os/mingw32-w64/os_defines.h
+++ b/libstdc++-v3/config/os/mingw32-w64/os_defines.h
@@ -74,4 +74,8 @@
#define _GLIBCXX_CDTOR_CALLABI __thiscall
#endif
+#ifdef __x86_64__
+#define _GLIBCXX_LLP64 1
+#endif
+
#endif
diff --git a/libstdc++-v3/config/os/mingw32/os_defines.h b/libstdc++-v3/config/os/mingw32/os_defines.h
index f82e25c..cbe5974 100644
--- a/libstdc++-v3/config/os/mingw32/os_defines.h
+++ b/libstdc++-v3/config/os/mingw32/os_defines.h
@@ -72,4 +72,8 @@
#define _GLIBCXX_CDTOR_CALLABI __thiscall
#endif
+#ifdef __x86_64__
+#define _GLIBCXX_LLP64 1
+#endif
+
#endif