summaryrefslogtreecommitdiff
path: root/ld/emulparams/h8300elf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emulparams/h8300elf.sh')
-rw-r--r--ld/emulparams/h8300elf.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/emulparams/h8300elf.sh b/ld/emulparams/h8300elf.sh
new file mode 100644
index 0000000000..e3024c696c
--- /dev/null
+++ b/ld/emulparams/h8300elf.sh
@@ -0,0 +1,12 @@
+SCRIPT_NAME=elf
+OUTPUT_FORMAT="elf32-h8300"
+TEXT_START_ADDR=0x100
+MAXPAGESIZE=2
+TARGET_PAGE_SIZE=128
+ARCH=h8300
+TEMPLATE_NAME=elf32
+EMBEDDED=yes
+
+OTHER_RELOCATING_SECTIONS='
+.stack 0xfefc : { _stack = .; *(.stack) }
+'