* Makefile.in (earmcoff.c): Build.
authorDavid Edelsohn <dje.gcc@gmail.com>
Thu, 28 Sep 1995 08:48:02 +0000 (08:48 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Thu, 28 Sep 1995 08:48:02 +0000 (08:48 +0000)
* configure.tgt (arm-*-coff): New target
* emulparms/armcoff.sh: New file.
* scripttempl/armcoff.sc: New file.

ld/ChangeLog
ld/emulparams/.Sanitize
ld/emulparams/armcoff.sh [new file with mode: 0644]
ld/scripttempl/.Sanitize
ld/scripttempl/armcoff.sc [new file with mode: 0644]

index 9e24c0bd55f32da8ea70e10d7a0f0f5ec803bff2..2356ca2ed7c548a0a4654812fdcdf33d05f837f9 100644 (file)
@@ -1,3 +1,10 @@
+Thu Sep 28 01:40:37 1995  Doug Evans  <dje@deneb.cygnus.com>
+
+       * Makefile.in (earmcoff.c): Build.
+       * configure.tgt (arm-*-coff): New target
+       * emulparms/armcoff.sh: New file.
+       * scripttempl/armcoff.sc: New file.
+
 Tue Sep 26 10:59:32 1995  Ian Lance Taylor  <ian@cygnus.com>
 
        * scripttempl/i386coff.sc: Remove .data2; no longer needed.
index dc0ec298c3cfd3793e9d77aae5bf44c953c9eeca..19dcb23aa056ecce829e76c783dbd5dc1695a8e1 100644 (file)
@@ -44,6 +44,7 @@ a29k.sh
 alpha.sh
 armaoutb.sh
 armaoutl.sh
+armcoff.sh
 armpe.sh
 coff_sparc.sh
 ebmon29k.sh
diff --git a/ld/emulparams/armcoff.sh b/ld/emulparams/armcoff.sh
new file mode 100644 (file)
index 0000000..9ef6ac4
--- /dev/null
@@ -0,0 +1,6 @@
+ARCH=arm
+SCRIPT_NAME=armcoff
+OUTPUT_FORMAT="coff-arm-little"
+LITTLE_OUTPUT_FORMAT="coff-arm-little"
+BIG_OUTPUT_FORMAT="coff-arm-big"
+#TEMPLATE_NAME=armcoff
index dfdada55fabe6b2cb8ba1630bf822ad12b488ab5..f6d360a82afa8fdf6aac4d1ef9a3af76ba1b64b2 100644 (file)
@@ -35,6 +35,7 @@ README
 a29k.sc
 alpha.sc
 armaout.sc
+armcoff.sc
 aout.sc
 ebmon29k.sc
 elf.sc
diff --git a/ld/scripttempl/armcoff.sc b/ld/scripttempl/armcoff.sc
new file mode 100644 (file)
index 0000000..8243716
--- /dev/null
@@ -0,0 +1,37 @@
+# Linker script for ARM COFF.
+# Based on i386coff.sc by Ian Taylor <ian@cygnus.com>.
+test -z "$ENTRY" && ENTRY=_start
+cat <<EOF
+OUTPUT_FORMAT("${OUTPUT_FORMAT}")
+${LIB_SEARCH_DIRS}
+
+ENTRY(${ENTRY})
+
+SECTIONS
+{
+  .text ${RELOCATING+ SIZEOF_HEADERS} : {
+    *(.init)
+    *(.text)
+    *(.fini)
+    ${RELOCATING+ etext  =  .};
+  }
+  .data ${RELOCATING+ 0x400000 + (. & 0xffc00fff)} : {
+    *(.data)
+    ${RELOCATING+ edata  =  .};
+  }
+  .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
+  {                                    
+    *(.bss)
+    *(COMMON)
+    ${RELOCATING+ end = .};
+  }
+  .stab  0 ${RELOCATING+(NOLOAD)} : 
+  {
+    [ .stab ]
+  }
+  .stabstr  0 ${RELOCATING+(NOLOAD)} :
+  {
+    [ .stabstr ]
+  }
+}
+EOF
This page took 0.030991 seconds and 4 git commands to generate.