summaryrefslogtreecommitdiff
path: root/gcc/config/ia64/elf.h
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-09 00:26:04 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-09 00:26:04 +0000
commitac445222719fb55c55fa5838c01217869e92b024 (patch)
tree4497d3e80c79da1bcf1a62991162605a8eb6a303 /gcc/config/ia64/elf.h
parent07c967f908bcefff491dd9200630d4428446c332 (diff)
downloadgcc-ac445222719fb55c55fa5838c01217869e92b024.tar.gz
Add ia64 port.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32438 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/ia64/elf.h')
-rw-r--r--gcc/config/ia64/elf.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc/config/ia64/elf.h b/gcc/config/ia64/elf.h
new file mode 100644
index 00000000000..b6c4198bfc8
--- /dev/null
+++ b/gcc/config/ia64/elf.h
@@ -0,0 +1,18 @@
+/* Definitions for embedded ia64-elf target. */
+
+#include "ia64/ia64.h"
+#include "elfos.h"
+#include "sysv4.h"
+
+/* svr4.h links with crti.o/crtn.o, but elfos.h does not. We override elfos.h
+ so that we can use the standard ELF Unix method. */
+#undef ENDFILE_SPEC
+#define ENDFILE_SPEC "crtend.o%s crtn.o%s"
+
+#undef STARTFILE_SPEC
+#define STARTFILE_SPEC "%{!shared: \
+ %{!symbolic: \
+ %{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}}}\
+ crti.o%s crtbegin.o%s"
+
+/* End of elf.h */