Mercurial > hg > CbC > CbC_gcc
diff gcc/config/i386/sol2.h @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line diff
--- a/gcc/config/i386/sol2.h Thu Oct 25 07:37:49 2018 +0900 +++ b/gcc/config/i386/sol2.h Thu Feb 13 11:34:05 2020 +0900 @@ -1,5 +1,5 @@ /* Target definitions for GCC for Intel 80386 running Solaris 2 - Copyright (C) 1993-2018 Free Software Foundation, Inc. + Copyright (C) 1993-2020 Free Software Foundation, Inc. Contributed by Fred Fish (fnf@cygnus.com). This file is part of GCC. @@ -26,7 +26,7 @@ #undef STACK_REALIGN_DEFAULT #define STACK_REALIGN_DEFAULT (TARGET_64BIT ? 0 : 1) -/* Old versions of the Solaris assembler can not handle the difference of +/* Old versions of the Solaris assembler cannot handle the difference of labels in different sections, so force DW_EH_PE_datarel if so. */ #ifndef HAVE_AS_IX86_DIFF_SECT_DELTA #undef ASM_PREFERRED_EH_DATA_FORMAT @@ -54,6 +54,10 @@ #undef CPP_SPEC #define CPP_SPEC "%(cpp_subtarget)" +#undef CC1_SPEC +#define CC1_SPEC "%(cc1_cpu) " ASAN_CC1_SPEC \ + " %{mx32:%e-mx32 is not supported on Solaris}" + /* GNU as understands --32 and --64, but the native Solaris assembler requires -xarch=generic or -xarch=generic64 instead. */ #ifdef USE_GAS @@ -114,11 +118,6 @@ #undef LOCAL_LABEL_PREFIX #define LOCAL_LABEL_PREFIX "." -/* The Solaris 10 FCS as doesn't accept "#" comments, while later versions - do. */ -#undef ASM_COMMENT_START -#define ASM_COMMENT_START "/" - /* The 32-bit Solaris assembler does not support .quad. Do not use it. */ #ifndef HAVE_AS_IX86_QUAD #undef ASM_QUAD @@ -241,8 +240,9 @@ #define LARGECOMM_SECTION_ASM_OP "\t.lbcomm\t" #endif -#define USE_IX86_FRAME_POINTER 1 -#define USE_X86_64_FRAME_POINTER 1 +/* -fsanitize=address is currently only supported for 32-bit. */ +#define ASAN_REJECT_SPEC \ + DEF_ARCH64_SPEC("%e-fsanitize=address is not supported in this configuration") #undef NO_PROFILE_COUNTERS