1/* Definitions for ARM running Linux-based GNU systems using a.out. 2 Copyright (C) 1993, 1994, 1997, 1998 Free Software Foundation, Inc. 3 Contributed by Russell King <rmk92@ecs.soton.ac.uk>. 4 5This file is part of GNU CC. 6 7GNU CC is free software; you can redistribute it and/or modify 8it under the terms of the GNU General Public License as published by 9the Free Software Foundation; either version 2, or (at your option) 10any later version. 11 12GNU CC is distributed in the hope that it will be useful, 13but WITHOUT ANY WARRANTY; without even the implied warranty of 14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15GNU General Public License for more details. 16 17You should have received a copy of the GNU General Public License 18along with this program; see the file COPYING. If not, write to 19the Free Software Foundation, 59 Temple Place - Suite 330, 20Boston, MA 02111-1307, USA. */ 21 22#include <linux-aout.h> 23 24/* these are different... */ 25#undef STARTFILE_SPEC 26#define STARTFILE_SPEC \ 27"%{pg:gcrt0.o%s} %{!pg:%{p:gcrt0.o%s} %{!p:crt0.o%s}} %{static:-static}" 28 29#undef ASM_APP_ON 30#undef ASM_APP_OFF 31#undef COMMENT_BEGIN 32 33/* We default to ARM3. */ 34#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm3 35 36#undef CPP_PREDEFINES 37#define CPP_PREDEFINES \ 38"-Dunix -Darm -Dlinux -Asystem(unix) -Asystem(posix) -Acpu(arm) -Amachine(arm)" 39 40#undef LIB_SPEC 41#define LIB_SPEC \ 42 "%{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} %{!ggdb:-lc} %{ggdb:-lg}" 43 44#define HANDLE_SYSV_PRAGMA 45 46/* Run-time Target Specification. */ 47#define TARGET_VERSION fputs (" (ARM GNU/Linux with a.out)", stderr); 48 49/* 50 * Maths operation domain error number, EDOM 51 * We don't really want this for libc6. However, taking it out would be 52 * too much of a pain for now and it doesn't hurt much. 53 */ 54#define TARGET_EDOM 33 55 56#include "arm/aout.h" 57 58#include "arm/linux-gas.h" 59