From cc5bda54de11cd575862226892484c6053dc6bd2 Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Tue, 26 Nov 1991 02:29:18 +0000 Subject: [PATCH] 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 --- ld/config.h | 2 +- ld/h8300hds.sc | 29 ++++++++++++++++------------- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/ld/config.h b/ld/config.h index 98c5cf3affd..838276bd8ac 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 9a395dd885b..d0a139b06a0 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 = .; + } } -- 2.30.2