diff options
Diffstat (limited to 'deps/v8/src/snapshot/macros.h')
-rw-r--r-- | deps/v8/src/snapshot/macros.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/deps/v8/src/snapshot/macros.h b/deps/v8/src/snapshot/macros.h index 5ea6917c168..8551281614f 100644 --- a/deps/v8/src/snapshot/macros.h +++ b/deps/v8/src/snapshot/macros.h @@ -31,7 +31,11 @@ #else // !MACOSX && !WIN && !AIX #define V8_ASM_MANGLE_LABEL "" #define V8_ASM_RODATA_SECTION ".section .rodata\n" +#if defined(OS_CHROMEOS) // ChromeOS +#define V8_ASM_TEXT_SECTION ".section .text.hot.embedded\n" +#else #define V8_ASM_TEXT_SECTION ".section .text\n" +#endif #if defined(V8_TARGET_ARCH_MIPS) || defined(V8_TARGET_ARCH_MIPS64) #define V8_ASM_DECLARE(NAME) ".global " V8_ASM_MANGLE_LABEL NAME "\n" #else |