diff options
author | Joern Rennecke <joern.rennecke@embecosm.com> | 2012-11-30 18:28:38 +0000 |
---|---|---|
committer | Joern Rennecke <joern.rennecke@embecosm.com> | 2012-11-30 18:28:38 +0000 |
commit | f204ddb8a84caa7133a20bf63a5cec8d422d52ca (patch) | |
tree | df662a289a9ecc378792a5e573a8350b65b538f7 /ld/emulparams | |
parent | 02a79b89fdeadccb67048291e6c2a1e5ce6ad623 (diff) | |
download | gdb-f204ddb8a84caa7133a20bf63a5cec8d422d52ca.zip gdb-f204ddb8a84caa7133a20bf63a5cec8d422d52ca.tar.gz gdb-f204ddb8a84caa7133a20bf63a5cec8d422d52ca.tar.bz2 |
* 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.sh | 53 |
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 0000000..be03d40 --- /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_ + + + + + + |