提交 8692c84d 编写于 作者: D dholmes

8003591: Abstract_VM_Version::internal_vm_info_string needs to stringify FLOAT_ARCH for ease of use

Reviewed-by: coleenp, kvn
上级 214fc363
...@@ -243,19 +243,21 @@ const char* Abstract_VM_Version::internal_vm_info_string() { ...@@ -243,19 +243,21 @@ const char* Abstract_VM_Version::internal_vm_info_string() {
#ifndef FLOAT_ARCH #ifndef FLOAT_ARCH
#if defined(__SOFTFP__) #if defined(__SOFTFP__)
#define FLOAT_ARCH "-sflt" #define FLOAT_ARCH_STR "-sflt"
#elif defined(E500V2) #elif defined(E500V2)
#define FLOAT_ARCH "-e500v2" #define FLOAT_ARCH_STR "-e500v2"
#elif defined(ARM) #elif defined(ARM)
#define FLOAT_ARCH "-vfp" #define FLOAT_ARCH_STR "-vfp"
#elif defined(PPC) #elif defined(PPC)
#define FLOAT_ARCH "-hflt" #define FLOAT_ARCH_STR "-hflt"
#else #else
#define FLOAT_ARCH "" #define FLOAT_ARCH_STR ""
#endif #endif
#else
#define FLOAT_ARCH_STR XSTR(FLOAT_ARCH)
#endif #endif
return VMNAME " (" VM_RELEASE ") for " OS "-" CPU FLOAT_ARCH return VMNAME " (" VM_RELEASE ") for " OS "-" CPU FLOAT_ARCH_STR
" JRE (" JRE_RELEASE_VERSION "), built on " __DATE__ " " __TIME__ " JRE (" JRE_RELEASE_VERSION "), built on " __DATE__ " " __TIME__
" by " XSTR(HOTSPOT_BUILD_USER) " with " HOTSPOT_BUILD_COMPILER; " by " XSTR(HOTSPOT_BUILD_USER) " with " HOTSPOT_BUILD_COMPILER;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册