⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sol2.h

📁 gcc-you can use this code to learn something about gcc, and inquire further into linux,
💻 H
字号:
/* Target definitions for GNU compiler for Intel 80386 running Solaris 2   Copyright (C) 1993, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002   Free Software Foundation, Inc.   Contributed by Fred Fish (fnf@cygnus.com).This file is part of GNU CC.GNU CC is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2, or (at your option)any later version.GNU CC is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with GNU CC; see the file COPYING.  If not, write tothe Free Software Foundation, 59 Temple Place - Suite 330,Boston, MA 02111-1307, USA.  */#define CMOV_SUN_AS_SYNTAX 1/* The Solaris 2.0 x86 linker botches alignment of code sections.   It tries to align to a 16 byte boundary by padding with 0x00000090   ints, rather than 0x90 bytes (nop).  This generates trash in the   ".init" section since the contribution from crtbegin.o is only 7   bytes.  The linker pads it to 16 bytes with a single 0x90 byte, and   two 0x00000090 ints, which generates a segmentation violation when   executed.  This macro forces the assembler to do the padding, since   it knows what it is doing.  */#define FORCE_CODE_SECTION_ALIGN  asm(ALIGN_ASM_OP "16");/* Select a format to encode pointers in exception handling data.  CODE   is 0 for data, 1 for code labels, 2 for function pointers.  GLOBAL is   true if the symbol may be affected by dynamic relocations.  */#undef ASM_PREFERRED_EH_DATA_FORMAT#define ASM_PREFERRED_EH_DATA_FORMAT(CODE,GLOBAL)			\  (flag_pic ? (GLOBAL ? DW_EH_PE_indirect : 0) | DW_EH_PE_datarel	\   : DW_EH_PE_absptr)/* Solaris 2/Intel as chokes on #line directives.  */#undef CPP_SPEC#define CPP_SPEC "%{.S:-P} %(cpp_subtarget)"/* FIXME: Removed -K PIC from generic Solaris 2 ASM_SPEC: the native assembler   gives many warnings: R_386_32 relocation is used for symbol ".text".  */#undef ASM_SPEC#define ASM_SPEC "\%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Wa,*:%*} -s \%(asm_cpu) \"#define ASM_CPU_SPEC "" #undef SUBTARGET_EXTRA_SPECS#define SUBTARGET_EXTRA_SPECS \  { "cpp_subtarget",	CPP_SUBTARGET_SPEC },	\  { "asm_cpu",		ASM_CPU_SPEC },		\  { "startfile_arch",	STARTFILE_ARCH_SPEC },	\  { "link_arch",	LINK_ARCH_SPEC }#undef LOCAL_LABEL_PREFIX#define LOCAL_LABEL_PREFIX "."/* The Solaris assembler does not support .quad.  Do not use it.  */#undef ASM_QUAD

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -