diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2014-06-13 12:38:00 -0700 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2014-06-13 12:38:00 -0700 |
commit | 54f1b3cf509cd889905287cb8ce6c5ae33911a21 (patch) | |
tree | e39b1a7fa04db86a8215b7f9d4656d74e394aec0 /binutils-2.25/ld/emulparams/elf32epiphany_4x4.sh | |
parent | 2a6558a8ecfb81d75215b4ec7dc61113e12cfd5f (diff) | |
download | toolchain_binutils-54f1b3cf509cd889905287cb8ce6c5ae33911a21.tar.gz toolchain_binutils-54f1b3cf509cd889905287cb8ce6c5ae33911a21.tar.bz2 toolchain_binutils-54f1b3cf509cd889905287cb8ce6c5ae33911a21.zip |
Add upstream binutils-2.25 snapshot 4/4 2014
For MIPS -mmsa support
Change-Id: I08c4f002fa7b33dec85ed75956e6ab551bb03c96
Diffstat (limited to 'binutils-2.25/ld/emulparams/elf32epiphany_4x4.sh')
-rw-r--r-- | binutils-2.25/ld/emulparams/elf32epiphany_4x4.sh | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/binutils-2.25/ld/emulparams/elf32epiphany_4x4.sh b/binutils-2.25/ld/emulparams/elf32epiphany_4x4.sh new file mode 100644 index 00000000..be03d40c --- /dev/null +++ b/binutils-2.25/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_ + + + + + + |