Fix SH GOT allocation in the presence of linker garbage collection.
[deliverable/binutils-gdb.git] / ld / emulparams / h8300.sh
index 60130059113761d691b9dda4b76d1ac425cefa1b..7042535b40071e810fb7a0a15bbb38a833f7ff7e 100644 (file)
@@ -1,6 +1,18 @@
-EMULATION_NAME=h8300
 SCRIPT_NAME=h8300
 OUTPUT_FORMAT="coff-h8300"
 TEXT_START_ADDR=0x8000
-PAGE_SIZE=128
+TARGET_PAGE_SIZE=128
 ARCH=h8300
+TINY_READONLY_SECTION=".tinyrodata :
+  {
+       *(.tinyrodata)
+  } =0"
+TINY_DATA_SECTION=".tinydata   0xff8000 :
+  {
+       *(.tinydata)
+       ${RELOCATING+ _tinydata = .; }
+  }"
+TINY_BSS_SECTION=".tinybss     : AT (_tinydata)
+  {
+       *(.tinybss)
+  }"
This page took 0.024311 seconds and 4 git commands to generate.