diff options
author | Nick Clifton <nickc@redhat.com> | 2005-12-22 17:43:34 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-12-22 17:43:34 +0000 |
commit | ecc49060c66f6bbc36faa744dc49016832119176 (patch) | |
tree | af0fd768e2f0b9c66acf70007a30994b424290e3 /ld/emulparams | |
parent | 54758c3e398d1e6dccdb60162cd24b0d0abce9a2 (diff) | |
download | gdb-ecc49060c66f6bbc36faa744dc49016832119176.zip gdb-ecc49060c66f6bbc36faa744dc49016832119176.tar.gz gdb-ecc49060c66f6bbc36faa744dc49016832119176.tar.bz2 |
Add TINY_READONLY_SECTION, TINY_DATA_SECTION, TINY_BSS_SECTION.
Diffstat (limited to 'ld/emulparams')
-rw-r--r-- | ld/emulparams/h8300.sh | 13 | ||||
-rw-r--r-- | ld/emulparams/h8300elf.sh | 13 | ||||
-rw-r--r-- | ld/emulparams/h8300sxelf.sh | 13 |
3 files changed, 39 insertions, 0 deletions
diff --git a/ld/emulparams/h8300.sh b/ld/emulparams/h8300.sh index 49eb3c4..68ecdb3 100644 --- a/ld/emulparams/h8300.sh +++ b/ld/emulparams/h8300.sh @@ -3,3 +3,16 @@ OUTPUT_FORMAT="coff-h8300" TEXT_START_ADDR=0x8000 TARGET_PAGE_SIZE=128 ARCH=h8300 +TINY_READONLY_SECTION=".tinyrodata : + { + *(.tinyrodata) + } =0" +TINY_DATA_SECTION=".tinydata 0xff8000 : + { + *(.tinydata) + _tinydata = .; + }" +TINY_BSS_SECTION=".tinybss : AT (_tinydata) + { + *(.tinybss) + }" diff --git a/ld/emulparams/h8300elf.sh b/ld/emulparams/h8300elf.sh index 0617d5b..67d5b20 100644 --- a/ld/emulparams/h8300elf.sh +++ b/ld/emulparams/h8300elf.sh @@ -10,3 +10,16 @@ ARCH=h8300 TEMPLATE_NAME=elf32 EMBEDDED=yes STACK_ADDR=0xfefc +TINY_READONLY_SECTION=".tinyrodata : + { + *(.tinyrodata) + } =0" +TINY_DATA_SECTION=".tinydata 0xff8000 : + { + *(.tinydata) + _tinydata = .; + }" +TINY_BSS_SECTION=".tinybss : AT (_tinydata) + { + *(.tinybss) + }" diff --git a/ld/emulparams/h8300sxelf.sh b/ld/emulparams/h8300sxelf.sh index 18f82f6..bac2cc3 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) + }" |