* scripttempl/h8500.sc: Fix formatting.
* scripttempl/h8500b.sc: Likewise.
* scripttempl/h8500c.sc: Likewise.
* scripttempl/h8500m.sc: Likewise.
* scripttempl/h8500s.sc: Likewise.
* scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
* scripttempl/h8300h.sc: Fix formatting.
* scripttempl/h8300s.sc: Likewise.
+ * scripttempl/h8500.sc: Likewise.
+ * scripttempl/h8500b.sc: Likewise.
+ * scripttempl/h8500c.sc: Likewise.
+ * scripttempl/h8500m.sc: Likewise.
+ * scripttempl/h8500s.sc: Likewise.
2000-01-07 David O'Brien <obrien@BSDi.com>
/* Code and data 64k total */
-SECTIONS
-{
-.text ${RELOCATING+ 0x0000 } :
- {
+SECTIONS
+{
+.text ${RELOCATING+ 0x0000} :
+ {
*(.text)
- ${RELOCATING+ _etext = . ; }
+ ${RELOCATING+ _etext = . ; }
}
.data ${RELOCATING+ . } :
{
*(.data)
${RELOCATING+ _edata = . ; }
- }
+ }
.rdata ${RELOCATING+ . } :
{
- *(.rdata);
+ *(.rdata);
*(.strings)
-
+
${CONSTRUCTING+${TORS}}
- }
+ }
.bss ${RELOCATING+ . } :
{
{
${RELOCATING+ _stack = . ; }
*(.stack)
- }
+ }
-.stab 0 ${RELOCATING+(NOLOAD)} :
+.stab 0 ${RELOCATING+(NOLOAD)} :
{
[ .stab ]
}
-
+
.stabstr 0 ${RELOCATING+(NOLOAD)} :
{
[ .stabstr ]
}
}
EOF
-
-
-
-
/* Code and data, both larger than 64k */
-SECTIONS
-{
+SECTIONS
+{
.text ${RELOCATING+ 0x10000} :
- {
- *(.text)
-
- ${RELOCATING+ _etext = . ; }
+ {
+ *(.text)
+ ${RELOCATING+ _etext = . ; }
}
-
.data ${RELOCATING+ 0x20000} :
{
- *(.data)
- ${RELOCATING+ _edata = . ; }
- }
+ *(.data)
+ ${RELOCATING+ _edata = . ; }
+ }
.rdata ${RELOCATING+ 0x30000} :
{
- *(.rdata);
+ *(.rdata);
*(.strings)
-
- ${CONSTRUCTING+${TORS}}
- }
+
+ ${CONSTRUCTING+${TORS}}
+ }
.bss ${RELOCATING+ 0x40000} :
{
- ${RELOCATING+ __start_bss = . ; }
- *(.bss)
- *(COMMON)
- ${RELOCATING+ _end = . ; }
+ ${RELOCATING+ __start_bss = . ; }
+ *(.bss)
+ *(COMMON)
+ ${RELOCATING+ _end = . ; }
}
.stack ${RELOCATING+ 0x50000} :
{
- ${RELOCATING+ _stack = . ; }
- *(.stack)
- }
+ ${RELOCATING+ _stack = . ; }
+ *(.stack)
+ }
+
+.stab 0 ${RELOCATING+(NOLOAD)} :
+ {
+ [ .stab ]
+ }
- .stab 0 ${RELOCATING+(NOLOAD)} :
- {
- [ .stab ]
- }
- .stabstr 0 ${RELOCATING+(NOLOAD)} :
- {
- [ .stabstr ]
- }
+.stabstr 0 ${RELOCATING+(NOLOAD)} :
+ {
+ [ .stabstr ]
+ }
}
EOF
-
-
-
-
/* Compact model - code < 64k, data > 64k */
-SECTIONS
-{
+SECTIONS
+{
.text 0x10000 :
- {
- *(.text)
+ {
+ *(.text)
*(.strings)
- ${RELOCATING+ _etext = . ; }
+ ${RELOCATING+ _etext = . ; }
} ${RELOCATING+ > ram}
-
.data 0x20000 :
{
- *(.data)
- ${RELOCATING+ _edata = . ; }
+ *(.data)
+ ${RELOCATING+ _edata = . ; }
} ${RELOCATING+ > ram}
.rdata 0x30000 :
- {
- *(.rdata);
-
- ${CONSTRUCTING+${TORS}}
+ {
+ *(.rdata);
+
+ ${CONSTRUCTING+${TORS}}
} ${RELOCATING+ > ram}
.bss 0x40000 :
{
- ${RELOCATING+ __start_bss = . ; }
- *(.bss)
- *(COMMON)
- ${RELOCATING+ _end = . ; }
+ ${RELOCATING+ __start_bss = . ; }
+ *(.bss)
+ *(COMMON)
+ ${RELOCATING+ _end = . ; }
} ${RELOCATING+ >ram}
+
.stack 0x5fff0 :
{
- ${RELOCATING+ _stack = . ; }
- *(.stack)
+ ${RELOCATING+ _stack = . ; }
+ *(.stack)
} ${RELOCATING+ > topram}
- .stab 0 ${RELOCATING+(NOLOAD)} :
- {
- [ .stab ]
- }
- .stabstr 0 ${RELOCATING+(NOLOAD)} :
- {
- [ .stabstr ]
- }
+.stab 0 ${RELOCATING+(NOLOAD)} :
+ {
+ [ .stab ]
+ }
+
+.stabstr 0 ${RELOCATING+(NOLOAD)} :
+ {
+ [ .stabstr ]
+ }
}
EOF
-
-
-
-
/* Code and data, both larger than 64k */
-SECTIONS
-{
+SECTIONS
+{
.text ${RELOCATING+ 0x10000} :
- {
- *(.text)
- ${RELOCATING+ _etext = . ; }
+ {
+ *(.text)
+ ${RELOCATING+ _etext = . ; }
}
.data ${RELOCATING+ 0x20000} :
{
*(.data)
${RELOCATING+ _edata = . ; }
- }
+ }
.rdata ${RELOCATING+ . } :
{
- *(.rdata);
+ *(.rdata);
*(.strings)
-
- ${CONSTRUCTING+${TORS}}
- }
+
+ ${CONSTRUCTING+${TORS}}
+ }
.bss ${RELOCATING+ . } :
{
{
${RELOCATING+ _stack = . ; }
*(.stack)
- }
+ }
-.stab 0 ${RELOCATING+(NOLOAD)} :
- {
- [ .stab ]
+.stab 0 ${RELOCATING+(NOLOAD)} :
+ {
+ [ .stab ]
}
-
+
.stabstr 0 ${RELOCATING+(NOLOAD)} :
{
[ .stabstr ]
}
}
EOF
-
-
-
-
/* Code and data, both 64k */
-SECTIONS
-{
-.text ${RELOCATING+ 0x10000 } :
- {
- *(.text)
- ${RELOCATING+ _etext = . ; }
+SECTIONS
+{
+.text ${RELOCATING+ 0x10000} :
+ {
+ *(.text)
+ ${RELOCATING+ _etext = . ; }
}
-.rdata ${RELOCATING+ 0x20000 } :
+.rdata ${RELOCATING+ 0x20000} :
{
- *(.rdata);
+ *(.rdata);
*(.strings)
-
+
${CONSTRUCTING+${TORS}}
}
{
*(.data)
${RELOCATING+ _edata = . ; }
- }
+ }
.bss ${RELOCATING+ .} :
{
{
${RELOCATING+ _stack = . ; }
*(.stack)
- }
+ }
-.stab 0 ${RELOCATING+(NOLOAD)} :
+.stab 0 ${RELOCATING+(NOLOAD)} :
{
- [ .stab ]
+ [ .stab ]
}
-
+
.stabstr 0 ${RELOCATING+(NOLOAD)} :
{
[ .stabstr ]
}
}
EOF
-
-
-
-