summaryrefslogtreecommitdiff
path: root/ld/emulparams/h8300sxelf.sh
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-12-22 17:43:34 +0000
committerNick Clifton <nickc@redhat.com>2005-12-22 17:43:34 +0000
commitecc49060c66f6bbc36faa744dc49016832119176 (patch)
treeaf0fd768e2f0b9c66acf70007a30994b424290e3 /ld/emulparams/h8300sxelf.sh
parent54758c3e398d1e6dccdb60162cd24b0d0abce9a2 (diff)
downloadbinutils-gdb-ecc49060c66f6bbc36faa744dc49016832119176.tar.gz
Add TINY_READONLY_SECTION, TINY_DATA_SECTION, TINY_BSS_SECTION.
Diffstat (limited to 'ld/emulparams/h8300sxelf.sh')
-rw-r--r--ld/emulparams/h8300sxelf.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/emulparams/h8300sxelf.sh b/ld/emulparams/h8300sxelf.sh
index 18f82f64f43..bac2cc3cd0e 100644
--- a/ld/emulparams/h8300sxelf.sh
+++ b/ld/emulparams/h8300sxelf.sh
@@ -1,3 +1,16 @@
. ${srcdir}/emulparams/h8300elf.sh
ARCH="h8300:h8300sx"
STACK_ADDR=0x2fefc
+TINY_READONLY_SECTION=".tinyrodata :
+ {
+ *(.tinyrodata)
+ } =0"
+TINY_DATA_SECTION=".tinydata 0xff8000 :
+ {
+ *(.tinydata)
+ _tinydata = .;
+ }"
+TINY_BSS_SECTION=".tinybss : AT (_tinydata)
+ {
+ *(.tinybss)
+ }"