* configure.in (w65-*-*): New target.
authorSteve Chamberlain <sac@cygnus>
Mon, 16 Jan 1995 00:51:02 +0000 (00:51 +0000)
committerSteve Chamberlain <sac@cygnus>
Mon, 16 Jan 1995 00:51:02 +0000 (00:51 +0000)
* Makefile.in: Update.
* scripttempl/w65.sc: New.
* config/coff-w65.mt: New.

ld/ChangeLog
ld/config/.Sanitize
ld/config/coff-w65.mt [new file with mode: 0755]
ld/emulparams/.Sanitize
ld/emulparams/w65.sh [new file with mode: 0644]
ld/scripttempl/.Sanitize
ld/scripttempl/w65.sc [new file with mode: 0644]

index 7cb48a6f97bcbe77931b3cb8a8a26dadb761b756..f95b2bbaa741a2a0fc9f0ea77b8c654ad9546fc9 100644 (file)
@@ -1,3 +1,10 @@
+Sun Jan 15 16:45:00 1995  Steve Chamberlain  <sac@splat>
+
+       * configure.in (w65-*-*): New target.
+       * Makefile.in: Update.
+       * scripttempl/w65.sc: New.
+       * config/coff-w65.mt: New.
+
 Thu Jan 12 01:32:25 1995  Ian Lance Taylor  <ian@tweedledumb.cygnus.com>
 
        * ldlang.c (lang_place_orphans): Don't ignore files with
index f9b7e8959fee2ab8c2e21cc957a97408686a47c6..6ba1528ab852235b4cade16683de27eafc0c1432 100644 (file)
@@ -116,6 +116,7 @@ vax.mt
 vsta.mt
 vxworks68.mt
 z8ksim.mt
+coff-w65.mt
 
 Things-to-lose:
 
diff --git a/ld/config/coff-w65.mt b/ld/config/coff-w65.mt
new file mode 100755 (executable)
index 0000000..36af96c
--- /dev/null
@@ -0,0 +1,3 @@
+EMUL=w65
+
+
index 388c8befb7a02df26d633e7054613fce7be64e22..e3c198778f88293ba5bddcced8a53a442f79b5d9 100644 (file)
@@ -99,6 +99,7 @@ sun4.sh
 vanilla.sh
 vax.sh
 vsta.sh
+w65.sh
 z8ksim.sh
 
 Things-to-lose:
diff --git a/ld/emulparams/w65.sh b/ld/emulparams/w65.sh
new file mode 100644 (file)
index 0000000..6f4d5ba
--- /dev/null
@@ -0,0 +1,5 @@
+SCRIPT_NAME=w65
+OUTPUT_FORMAT="coff-w65"
+TEXT_START_ADDR=0x1000
+PAGE_SIZE=64
+ARCH=w65
index 8b816be6ac44676b907cf63b4de38d4ce821ea13..287648ab7e47c1228f078d93144d1e475e237f13 100644 (file)
@@ -63,6 +63,7 @@ sparccoff.sc
 sparclynx.sc
 st2000.sc
 vanilla.sc
+w65.sc
 z8ksim.sc
 
 Things-to-lose:
diff --git a/ld/scripttempl/w65.sc b/ld/scripttempl/w65.sc
new file mode 100644 (file)
index 0000000..f904495
--- /dev/null
@@ -0,0 +1,58 @@
+cat <<EOF
+OUTPUT_FORMAT("${OUTPUT_FORMAT}")
+OUTPUT_ARCH(${ARCH})
+
+MEMORY {
+       ram   : o = 0x1000, l = 512k
+       }
+
+SECTIONS                               
+{                                      
+.text :
+       {                                       
+         *(.text)                              
+         *(.strings)
+        ${RELOCATING+ _etext = . ; }
+       } ${RELOCATING+ > ram}
+
+
+.tors   : {
+       ___ctors = . ;
+       *(.ctors)
+       ___ctors_end = . ;
+       ___dtors = . ;
+       *(.dtors)
+       ___dtors_end = . ;
+}  ${RELOCATING+ > ram}
+
+.data  :
+       {
+       *(.data)
+       ${RELOCATING+ _edata = . ; }
+       } ${RELOCATING+ > ram}
+.bss  :
+       {
+       ${RELOCATING+ _bss_start = . ; }
+       *(.bss)
+       *(COMMON)
+       ${RELOCATING+ _end = . ;  }
+       } ${RELOCATING+ >ram}
+.stack ${RELOCATING+ 0x30000 }  : 
+       {
+       ${RELOCATING+ _stack = . ; }
+       *(.stack)
+       } ${RELOCATING+ > ram}
+  .stab  . (NOLOAD) : 
+  {
+    [ .stab ]
+  }
+  .stabstr  . (NOLOAD) :
+  {
+    [ .stabstr ]
+  }
+}
+EOF
+
+
+
+
This page took 0.04717 seconds and 4 git commands to generate.