cris_abi_symbol.c
来自「linux下编程用 编译软件」· C语言 代码 · 共 58 行
C
58 行
/* Define symbol to recognize CRIS ABI version 2, for a.out use. Contributed by Axis Communications. Written by Hans-Peter Nilsson <hp@axis.se>, c:a 1992. Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.This file is part of GCC.GCC is free software; you can redistribute it and/or modify itunder the terms of the GNU General Public License as published by theFree Software Foundation; either version 2, or (at your option) anylater version.In addition to the permissions in the GNU General Public License, theFree Software Foundation gives you unlimited permission to link thecompiled version of this file with other programs, and to distributethose programs without any restriction coming from the use of thisfile. (The General Public License restrictions do apply in otherrespects; for example, they cover modification of the file, anddistribution when not linked into another program.)This file is distributed in the hope that it will be useful, butWITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNUGeneral Public License for more details.You should have received a copy of the GNU General Public Licensealong with this program; see the file COPYING. If not, write tothe Free Software Foundation, 51 Franklin Street, Fifth Floor,Boston, MA 02110-1301, USA. As a special exception, if you link this library with files, some of which are compiled with GCC, this library does not by itself cause the resulting object or executable to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the executable file or object might be covered by the GNU General Public License. */#include "tconfig.h"#include "tm.h"#ifdef __AOUT__/* ELF support was not released before the ABI was changed, so we restrict this awkwardness to a.out. This symbol is for gdb to recognize, so it can debug both old and new programs successfully. */__asm__ (".global " CRIS_ABI_VERSION_SYMBOL_STRING);__asm__ (".set " CRIS_ABI_VERSION_SYMBOL_STRING ",0");#else /* not __AOUT__ *//* The file must not be empty (declaration/definition-wise) according to ISO, IIRC. */extern int _Dummy;#endif /* not __AOUT__ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?