summaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorJoern Rennecke <joern.rennecke@arc.com>2012-11-30 18:28:37 +0000
committerJoern Rennecke <joern.rennecke@arc.com>2012-11-30 18:28:37 +0000
commitfb9649cfc92abdc82888ddf85e98448c55e3b208 (patch)
treeb2a6aa7a67434c086921c9ce4544954523d24dc4 /ld/emulparams
parent72e680cfd5be7d33e5c4d48081e7f2a7292cea5a (diff)
downloadbinutils-redhat-fb9649cfc92abdc82888ddf85e98448c55e3b208.tar.gz
* scripttempl/epiphany_4x4.sc, emulparams/elf32epiphany_4x4.sh: Add.
* emultempl/epiphanyelf_4x4.em: Likewise. * configure.tgt: Add elf32epiphany_4x4 support. * Makefile.am: Likewise. * Makefile.in: Regenerate.
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/elf32epiphany_4x4.sh53
1 files changed, 53 insertions, 0 deletions
diff --git a/ld/emulparams/elf32epiphany_4x4.sh b/ld/emulparams/elf32epiphany_4x4.sh
new file mode 100644
index 0000000000..be03d40c01
--- /dev/null
+++ b/ld/emulparams/elf32epiphany_4x4.sh
@@ -0,0 +1,53 @@
+MACHINE=
+SCRIPT_NAME=epiphany_4x4
+OUTPUT_FORMAT="elf32-epiphany"
+TEXT_START_ADDR=0x40
+TEMPLATE_NAME=elf32
+EXTRA_EM_FILE=epiphanyelf_4x4
+OTHER_TEXT_SECTIONS=
+OTHER_BSS_SYMBOLS=
+OTHER_BSS_END_SYMBOLS=
+OTHER_END_SYMBOLS=
+
+DATA_START_SYMBOLS=
+
+ARCH=epiphany
+
+MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
+ENTRY=_start
+EMBEDDED=yes
+
+
+NOP=0x01a2
+
+#STACK_ADDR=0x72fffff0
+#HEAP_ADDR=0x92100000
+# EPIPHANY does not support .s* sections.
+NO_SMALL_DATA=yes
+
+NO_REL_RELOCS=yes
+# See also `include/elf/epiphany.h'
+
+IVT_ADDR=0x00000000
+IVT_LEN=0x040
+
+# ??? This fails: 'Not enough room for program headers, try linking with -N'
+#TEXT_START_ADDR=0x00000040
+
+#TEXT_START_ADDR=0x72000000
+
+
+ELFSIZE=32
+MAXPAGESIZE=1
+WRITABLE_RODATA=
+#OTHER_RELOCATING_SECTIONS=
+#OTHER_READONLY_SECTIONS=
+#OTHER_READWRITE_SECTIONS=
+
+#TEXT_START_SYMBOLS=__INIT_START_
+
+
+
+
+
+