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

📄 vsta.h

📁 gcc编译工具没有什么特别
💻 H
字号:
/* Configuration for an i386 running VSTa micro-kernel.   Copyright (C) 1994 Free Software Foundation, Inc.   Contributed by Rob Savoye (rob@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 YES_UNDERSCORES#include "i386/gas.h"#ifdef CPP_PREDEFINES#undef CPP_PREDEFINES#endif#define CPP_PREDEFINES "-Dunix -Di386 -DVSTA \  -Asystem(unix) -Asystem(vsta) -Acpu(i386) -Amachine(i386)"#undef EXTRA_SECTIONS#define EXTRA_SECTIONS in_ctor, in_dtor#undef EXTRA_SECTION_FUNCTIONS#define EXTRA_SECTION_FUNCTIONS					\  CTOR_SECTION_FUNCTION						\  DTOR_SECTION_FUNCTION#define CTOR_SECTION_FUNCTION					\void								\ctor_section ()							\{								\  if (in_section != in_ctor)					\    {								\      fprintf (asm_out_file, "\t.section .ctor\n");		\      in_section = in_ctor;					\    }								\}#define DTOR_SECTION_FUNCTION					\void								\dtor_section ()							\{								\  if (in_section != in_dtor)					\    {								\      fprintf (asm_out_file, "\t.section .dtor\n");		\      in_section = in_dtor;					\    }								\}#define ASM_OUTPUT_CONSTRUCTOR(FILE,NAME)	\  do {						\    ctor_section ();				\    fprintf (FILE, "%s\t", ASM_LONG);		\    assemble_name (FILE, NAME);			\    fprintf (FILE, "\n");			\  } while (0)#define ASM_OUTPUT_DESTRUCTOR(FILE,NAME)       	\  do {						\    dtor_section ();                   		\    fprintf (FILE, "%s\t", ASM_LONG);		\    assemble_name (FILE, NAME);              	\    fprintf (FILE, "\n");			\  } while (0)

⌨️ 快捷键说明

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