aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-07-15 17:57:26 +0000
committerIan Lance Taylor <ian@airs.com>1993-07-15 17:57:26 +0000
commit9edc5b2eca546c810adf77a544f8d4de30c1abb8 (patch)
tree03eccd8bcf72f39ec04562b9862157d2cdf42188 /ld
parentd08c6f4c111d513c5090c40826f00eb31d7fa8a5 (diff)
downloadgdb-9edc5b2eca546c810adf77a544f8d4de30c1abb8.zip
gdb-9edc5b2eca546c810adf77a544f8d4de30c1abb8.tar.gz
gdb-9edc5b2eca546c810adf77a544f8d4de30c1abb8.tar.bz2
* Makefile.in (em_m88kbcs.c): Correct dependency.
(scripttempl/m88kbcs.sc): It's ARCH, not arch.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/Makefile.in2
-rw-r--r--ld/scripttempl/m88kbcs.sc41
3 files changed, 47 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 20b35c6..a019e84 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+Thu Jul 15 10:55:59 1993 Ian Lance Taylor (ian@cygnus.com)
+
+ * Makefile.in (em_m88kbcs.c): Correct dependency.
+ (scripttempl/m88kbcs.sc): It's ARCH, not arch.
+
Wed Jul 14 21:42:53 1993 David J. Mackenzie (djm@thepub.cygnus.com)
* ldfile.c (ldlang_open_file, ldfile_open_command_file),
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 68a3270..815e279 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -252,7 +252,7 @@ em_a29k.c: $(srcdir)/emulparams/a29k.sh \
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/a29k.sc ${GEN_DEPENDS}
${GENSCRIPTS} a29k.sh
em_m88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
- $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
+ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
${GENSCRIPTS} m88kbcs.sh
em_h8300.c: $(srcdir)/emulparams/h8300.sh \
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
diff --git a/ld/scripttempl/m88kbcs.sc b/ld/scripttempl/m88kbcs.sc
new file mode 100644
index 0000000..928d640
--- /dev/null
+++ b/ld/scripttempl/m88kbcs.sc
@@ -0,0 +1,41 @@
+cat <<EOF
+TARGET(m88kbcs)
+OUTPUT_FORMAT(m88kbcs)
+OUTPUT_ARCH(${ARCH})
+ENTRY(__start)
+${RELOCATING+${LIB_SEARCH_DIRS}}
+
+SECTIONS
+{
+ .text ${RELOCATING+ 0x10000 + SIZEOF_HEADERS} :
+ {
+ CREATE_OBJECT_SYMBOLS
+ ${RELOCATING+ __.text.start = .};
+ ${RELOCATING+ __.init.start = .};
+ ${RELOCATING+ LONG(0xf400c001)}
+ ${RELOCATING+ __.init.end = .};
+ *(.text)
+ ${RELOCATING+ __.tdesc_start = .};
+ ${RELOCATING+ *(.tdesc)}
+ ${RELOCATING+ __.text_end = .} ;
+ ${RELOCATING+ __.initp.start = .};
+ ${RELOCATING+ __.initp.end =.};
+
+ ${RELOCATING+_etext =.};
+ }
+ .data ${RELOCATING+ SIZEOF(.text) + ADDR(.text) + 0x400000} :
+ {
+ *(.data)
+ ${CONSTRUCTING+CONSTRUCTORS}
+ *(.comment)
+ ${RELOCATING+_edata = .};
+ }
+ .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
+ {
+ *(.bss)
+ *(COMMON)
+ ${RELOCATING+ _end = .};
+ ${RELOCATING+ __end = .};
+ }
+}
+EOF