diff options
Diffstat (limited to 'ld/emulparams')
-rw-r--r-- | ld/emulparams/elf32metag.sh | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/ld/emulparams/elf32metag.sh b/ld/emulparams/elf32metag.sh new file mode 100644 index 0000000..861daba --- /dev/null +++ b/ld/emulparams/elf32metag.sh @@ -0,0 +1,30 @@ +MACHINE= +SCRIPT_NAME=elf +TEMPLATE_NAME=elf32 +GENERATE_SHLIB_SCRIPT=yes +GENERATE_PIE_SCRIPT=yes +OUTPUT_FORMAT="elf32-metag" +TEXT_START_ADDR=0x10005000 +ARCH=metag +MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" +ENTRY=__start +NOP=0xa0fffffe +EXTRA_EM_FILE=metagelf +USER_LABEL_PREFIX=_ +OTHER_SECTIONS=" + .core_text 0x80000000 : + { + *(.core_text) + } + .core_data 0x82000000 : + { + *(.core_data) + *(.core_rodata) + } + .internal_memory 0xe0200000 : + { + *(.internal_text) + *(.internal_data) + *(.internal_rodata) + } +" |