aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/ia64/linux.h
diff options
context:
space:
mode:
authorJim Wilson <wilson@cygnus.com>2000-03-09 00:26:04 +0000
committerJim Wilson <wilson@gcc.gnu.org>2000-03-08 16:26:04 -0800
commitc65ebc55cab8f22f366038c7536b30c37d71837f (patch)
tree4497d3e80c79da1bcf1a62991162605a8eb6a303 /gcc/config/ia64/linux.h
parent5194cf089037ca4d68896c4452582b526f603b96 (diff)
downloadgcc-c65ebc55cab8f22f366038c7536b30c37d71837f.zip
gcc-c65ebc55cab8f22f366038c7536b30c37d71837f.tar.gz
gcc-c65ebc55cab8f22f366038c7536b30c37d71837f.tar.bz2
Add ia64 port.
From-SVN: r32438
Diffstat (limited to 'gcc/config/ia64/linux.h')
-rw-r--r--gcc/config/ia64/linux.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/gcc/config/ia64/linux.h b/gcc/config/ia64/linux.h
new file mode 100644
index 0000000..08b002b
--- /dev/null
+++ b/gcc/config/ia64/linux.h
@@ -0,0 +1,29 @@
+/* Definitions for ia64-linux target. */
+#include "ia64/ia64.h"
+#include <linux.h>
+#include "sysv4.h"
+
+/* ??? Maybe this should be in sysv4.h? */
+#define CPP_PREDEFINES "\
+-D__ia64 -D__ia64__ -D__linux -D__linux__ -D_LONGLONG -Dlinux -Dunix \
+-D__LP64__ -D__ELF__ -Asystem(linux) -Acpu(ia64) -Amachine(ia64)"
+
+/* ??? ia64 gas doesn't accept standard svr4 assembler options? */
+#undef ASM_SPEC
+
+/* Define this for shared library support because it isn't in the main
+ linux.h file. */
+
+#undef LINK_SPEC
+#define LINK_SPEC "\
+ %{shared:-shared} \
+ %{!shared: \
+ %{!static: \
+ %{rdynamic:-export-dynamic} \
+ %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}} \
+ %{static:-static}}"
+
+
+#define DONT_USE_BUILTIN_SETJMP
+#define JMP_BUF_SIZE (8 * 76)
+/* End of linux.h */