Explicit locations: introduce explicit locations
[deliverable/binutils-gdb.git] / ld / emulparams / h8300elf.sh
index e3024c696c0305cf882d944d8a81dd9f84e94581..38b8a3692f2e1548ea2f3806a34567a00723bd56 100644 (file)
@@ -1,12 +1,26 @@
+# If you change this file, please also look at files which source this one:
+# h8300helf.sh h8300self.sh
+
 SCRIPT_NAME=elf
 OUTPUT_FORMAT="elf32-h8300"
+NO_REL_RELOCS=yes
 TEXT_START_ADDR=0x100
 MAXPAGESIZE=2
 TARGET_PAGE_SIZE=128
 ARCH=h8300
 TEMPLATE_NAME=elf32
 EMBEDDED=yes
-
-OTHER_RELOCATING_SECTIONS='
-.stack 0xfefc : { _stack = .; *(.stack) }
-'
+STACK_ADDR=0xfefc
+TINY_READONLY_SECTION=".tinyrodata :
+  {
+       *(.tinyrodata)
+  } =0"
+TINY_DATA_SECTION=".tinydata   ${RELOCATING+0xff8000} :
+  {
+       *(.tinydata)
+        ${RELOCATING+ _tinydata = .; }
+  }"
+TINY_BSS_SECTION=".tinybss     : ${RELOCATING+AT (_tinydata)}
+  {
+       *(.tinybss)
+  }"
This page took 0.024525 seconds and 4 git commands to generate.