aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-05-07 05:30:14 +0000
committerJeff Law <law@redhat.com>1996-05-07 05:30:14 +0000
commit4015337ec79ce2406cb162605a0ceb271e9cc4cf (patch)
tree462b3783cb9433b2bd3c6d395f1566ca6484bc10 /ld
parent0dc70e1a36d16727687527b8df0876aaf9277853 (diff)
downloadgdb-4015337ec79ce2406cb162605a0ceb271e9cc4cf.zip
gdb-4015337ec79ce2406cb162605a0ceb271e9cc4cf.tar.gz
gdb-4015337ec79ce2406cb162605a0ceb271e9cc4cf.tar.bz2
* scripttempl/h8300h.sc: Use "eight", not "eightbit" for the
8-bit region and 8-bit sections. HMSE.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/scripttempl/h8300h.sc22
2 files changed, 19 insertions, 8 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 426c6bc..6725eca 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+Mon May 6 23:32:30 1996 Jeffrey A Law (law@cygnus.com)
+
+ * scripttempl/h8300h.sc: Use "eight", not "eightbit" for the
+ 8-bit region and 8-bit sections.
+
Wed May 1 17:50:06 1996 Doug Evans <dje@canuck.cygnus.com>
* ldlang.c (section_already_linked): Fix typos.
diff --git a/ld/scripttempl/h8300h.sc b/ld/scripttempl/h8300h.sc
index 4e2276a..98a46be 100644
--- a/ld/scripttempl/h8300h.sc
+++ b/ld/scripttempl/h8300h.sc
@@ -9,21 +9,24 @@ MEMORY
{
/* 0xc4 is a magic entry. We should have the linker just
skip over it one day... */
- vectors : o = 0x0000, l = 196
- magicvectors : o = 0xc4, l = 60
- ram : o = 0x0100, l = 256K - 256 - 4
- topram : o = 0x3fffc, l = 4
+ vectors : o = 0x0000, l = 0xc4
+ magicvectors : o = 0xc4, l = 0x3c
+ /* We still only use 256k as the main ram size. */
+ ram : o = 0x0100, l = 0x3fefc
+ /* The stack starts at the top of main ram. */
+ topram : o = 0x3fffc, l = 0x4
+ /* At the very top of the address space is the 8-bit area. */
+ eight : o = 0xffff00, l = 0x100
}
SECTIONS
{
.vectors : {
-/* Use something like this to place a specific function's address
- into the vector table.
+ /* Use something like this to place a specific function's address
+ into the vector table.
- LONG(ABSOLUTE(_foobar))
+ LONG(ABSOLUTE(_foobar)) */
-*/
*(.vectors)
} ${RELOCATING+ > vectors}
.text : {
@@ -53,6 +56,9 @@ SECTIONS
${RELOCATING+ _stack = . ; }
*(.stack)
} ${RELOCATING+ > topram}
+.eight : {
+ *(.eight)
+ } ${RELOCATING+ > eight}
.stab 0 ${RELOCATING+(NOLOAD)} : {
[ .stab ]
}