aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/arm/uclinux-elf.h
diff options
context:
space:
mode:
authorPhilip Blundell <pb@nexus.co.uk>1999-07-28 08:52:05 +0000
committerNick Clifton <nickc@gcc.gnu.org>1999-07-28 08:52:05 +0000
commit483f6332cd75c1fb1e0a873a963b9a3e95ac49fb (patch)
treea5ae5d2beeb1758dce7b13ba5eed55c2e8933d83 /gcc/config/arm/uclinux-elf.h
parentb7df86dc88edc01568f5d3f8a0559f7d4bc0278f (diff)
downloadgcc-483f6332cd75c1fb1e0a873a963b9a3e95ac49fb.zip
gcc-483f6332cd75c1fb1e0a873a963b9a3e95ac49fb.tar.gz
gcc-483f6332cd75c1fb1e0a873a963b9a3e95ac49fb.tar.bz2
Patch from Phillip Blundell <pb@nexus.co.uk> to add arm/thumb uclinux support.
From-SVN: r28312
Diffstat (limited to 'gcc/config/arm/uclinux-elf.h')
-rw-r--r--gcc/config/arm/uclinux-elf.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/gcc/config/arm/uclinux-elf.h b/gcc/config/arm/uclinux-elf.h
new file mode 100644
index 0000000..ffa94ed
--- /dev/null
+++ b/gcc/config/arm/uclinux-elf.h
@@ -0,0 +1,32 @@
+/* Definitions for ARM running ucLinux using ELF
+ Copyright (C) 1999 Free Software Foundation, Inc.
+ Contributed by Philip Blundell <pb@nexus.co.uk>
+
+This file is part of GNU CC.
+
+GNU CC is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the 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 of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; see the file COPYING. If not, write to
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA. */
+
+#include "arm/linux-elf.h"
+
+/* We don't want a PLT. */
+#undef NEED_PLT_RELOC
+#define NEED_PLT_RELOC 0
+
+#undef TARGET_VERSION
+#define TARGET_VERSION fputs (" (ARM/ELF ucLinux)", stderr);
+
+#undef TARGET_DEFAULT
+#define TARGET_DEFAULT (ARM_FLAG_APCS_32 | ARM_FLAG_SHORT_BYTE | ARM_FLAG_SINGLE_PIC_BASE)