From c65ebc55cab8f22f366038c7536b30c37d71837f Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Thu, 9 Mar 2000 00:26:04 +0000 Subject: Add ia64 port. From-SVN: r32438 --- gcc/config/ia64/linux.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 gcc/config/ia64/linux.h (limited to 'gcc/config/ia64/linux.h') 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 +#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 */ -- cgit v1.1