aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1991-11-26 02:29:18 +0000
committerSteve Chamberlain <sac@cygnus>1991-11-26 02:29:18 +0000
commitcc5bda54de11cd575862226892484c6053dc6bd2 (patch)
treef0a4296dd97885d5c89d00f6e469bbc7d03c88d3
parent05b4b0e70c8f7563fd092dcb7fb94f08faeb0f0d (diff)
downloadgdb-cc5bda54de11cd575862226892484c6053dc6bd2.zip
gdb-cc5bda54de11cd575862226892484c6053dc6bd2.tar.gz
gdb-cc5bda54de11cd575862226892484c6053dc6bd2.tar.bz2
Mon Nov 25 18:28:40 1991 Steve Chamberlain (sac at cygnus.com)
* config.h: h8 is now coff, not ieee * h8300hds.sc: reflect the same
-rw-r--r--ld/config.h2
-rwxr-xr-xld/h8300hds.sc29
2 files changed, 17 insertions, 14 deletions
diff --git a/ld/config.h b/ld/config.h
index 98c5cf3..838276b 100644
--- a/ld/config.h
+++ b/ld/config.h
@@ -53,7 +53,7 @@
#define GLD29K_TARGET "coff-a29k-big"
#define GLDI386AOUT_TARGET "a.out-i386"
#define GLDNEWS_TARGET "a.out-newsos3"
-#define H8300HDS_TARGET "ieee"
+#define H8300HDS_TARGET "coff-h8300"
#define EBMON29K_TARGET "coff-a29k-big"
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 = .;
+ }
}