aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-05-07 21:26:58 +0000
committerJeff Law <law@redhat.com>1996-05-07 21:26:58 +0000
commit00e6a1b14d5c942464be4ecf1cc7b4a68bc371ad (patch)
treead2d069ad52fed9fc0bd74f2f7a64f02f51963b5 /ld
parent0d1fcbbb900338793a91fa07e95fa5289b3849cc (diff)
downloadgdb-00e6a1b14d5c942464be4ecf1cc7b4a68bc371ad.zip
gdb-00e6a1b14d5c942464be4ecf1cc7b4a68bc371ad.tar.gz
gdb-00e6a1b14d5c942464be4ecf1cc7b4a68bc371ad.tar.bz2
* scripttempl/h8300.sc: Place ".tiny" sections right
after ".data" sections. * scripttempl/h8300h.sc: Place ".tiny" sections into the "tiny" memory region, 0xff8000 through 0xffff00. HMSE.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/scripttempl/h8300h.sc7
2 files changed, 11 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index f281c2e..9f78a09 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -12,6 +12,11 @@ Tue May 7 10:56:11 1996 Doug Evans <dje@canuck.cygnus.com>
Tue May 7 11:35:46 1996 Jeffrey A Law (law@cygnus.com)
+ * scripttempl/h8300.sc: Place ".tiny" sections right
+ after ".data" sections.
+ * scripttempl/h8300h.sc: Place ".tiny" sections into
+ the "tiny" memory region, 0xff8000 through 0xffff00.
+
* scripttempl/h8300.sc: Set the entry point to the value of
"_start" rather than the start of the text segment.
* scripttempl/h8300h.sc: Likewise.
diff --git a/ld/scripttempl/h8300h.sc b/ld/scripttempl/h8300h.sc
index 2c04022..59d84fb 100644
--- a/ld/scripttempl/h8300h.sc
+++ b/ld/scripttempl/h8300h.sc
@@ -16,8 +16,10 @@ MEMORY
ram : o = 0x0100, l = 0x3fefc
/* The stack starts at the top of main ram. */
topram : o = 0x3fffc, l = 0x4
+ /* This holds variables in the "tiny" sections. */
+ tiny : o = 0xff8000, l = 7f00
/* At the very top of the address space is the 8-bit area. */
- eight : o = 0xffff00, l = 0x100
+ eight : o = 0xffff00, l = 0x100
}
SECTIONS
@@ -58,6 +60,9 @@ SECTIONS
${RELOCATING+ _stack = . ; }
*(.stack)
} ${RELOCATING+ > topram}
+.data : {
+ *(.tiny)
+ } ${RELOCATING+ > tiny}
.eight : {
*(.eight)
} ${RELOCATING+ > eight}