* Makefile.in (em_m88kbcs.c): Correct dependency.
authorIan Lance Taylor <ian@airs.com>
Thu, 15 Jul 1993 17:57:26 +0000 (17:57 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 15 Jul 1993 17:57:26 +0000 (17:57 +0000)
(scripttempl/m88kbcs.sc): It's ARCH, not arch.

ld/ChangeLog
ld/Makefile.in
ld/scripttempl/m88kbcs.sc [new file with mode: 0644]

index 20b35c62bad564c64c09ef7588da4262cb239e42..a019e84e52af5652d2c933953e29486c7cdccccf 100644 (file)
@@ -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),
index 68a3270961ae714760fc2bc74de9a838ca8efcdd..815e2790398f10911c7a38dc5956b7613f273e2b 100644 (file)
@@ -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 (file)
index 0000000..928d640
--- /dev/null
@@ -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
This page took 0.03249 seconds and 4 git commands to generate.