aboutsummaryrefslogtreecommitdiff
path: root/ld/h8300hds.sc
diff options
context:
space:
mode:
Diffstat (limited to 'ld/h8300hds.sc')
-rwxr-xr-xld/h8300hds.sc29
1 files changed, 16 insertions, 13 deletions
diff --git a/ld/h8300hds.sc b/ld/h8300hds.sc
index 9a395dd..d0a139b 100755
--- a/ld/h8300hds.sc
+++ b/ld/h8300hds.sc
@@ -1,19 +1,22 @@
-OUTPUT_FORMAT("ieee")
+OUTPUT_FORMAT("coff-h8300")
OUTPUT_ARCH(h8300)
SECTIONS
{
- .code 40:
- {
-
- *(.code)
- *(.strings)
- }
- .bss . :
- {
- *(.bss)
- [COMMON]
- _end = .;
- }
+.text 0:
+ {
+ *(.text)
+ *(.strings)
+ }
+.data . :
+ {
+ *(.data)
+ }
+.bss . :
+ {
+ *(.bss)
+ [COMMON]
+ _end = .;
+ }
}