Moved to scripttempl subdir.
authorDavid MacKenzie <djm@cygnus>
Thu, 17 Jun 1993 21:21:21 +0000 (21:21 +0000)
committerDavid MacKenzie <djm@cygnus>
Thu, 17 Jun 1993 21:21:21 +0000 (21:21 +0000)
17 files changed:
ld/a29k.sc-sh [deleted file]
ld/aout.sc-sh [deleted file]
ld/ebmon29k.sc-sh [deleted file]
ld/h8300hms.sc-sh [deleted file]
ld/h8500hms.sc-sh [deleted file]
ld/hppaosf.sc-sh [deleted file]
ld/i386coff.sc-sh [deleted file]
ld/i960.sc-sh [deleted file]
ld/m68kcoff.sc-sh [deleted file]
ld/m88kbcs.sc-sh [deleted file]
ld/mips.sc-sh [deleted file]
ld/mipsbsd.sc-sh [deleted file]
ld/sa29200.sc-sh [deleted file]
ld/sh.sc-sh [deleted file]
ld/st2000.sc-sh [deleted file]
ld/vanilla.sc-sh [deleted file]
ld/z8ksim.sc-sh [deleted file]

diff --git a/ld/a29k.sc-sh b/ld/a29k.sc-sh
deleted file mode 100755 (executable)
index a43a5eb..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-cat <<EOF
-OUTPUT_FORMAT("${OUTPUT_FORMAT}")
-INPUT(/lab3/u3/sym1/tools/usr/lib/segments.o) /* Has .rstack/.mstack */ 
-${LIB_SEARCH_DIRS}
-
-MEMORY {
-       text    : ORIGIN = 0x1000000, LENGTH = 0x1000000
-       talias  : ORIGIN = 0x2000000, LENGTH = 0x1000000
-       data    : ORIGIN = 0x3000000, LENGTH = 0x1000000
-       mstack  : ORIGIN = 0x4000000, LENGTH = 0x1000000
-       rstack  : ORIGIN = 0x5000000, LENGTH = 0x1000000
-}
-SECTIONS
-{
-  .text : {
-    *(.text)
-    ${RELOCATING+ __etext  =  .};
-    *(.lit)
-    *(.shdata)
-  } ${RELOCATING+ > text}
-  .shbss SIZEOF(.text) + ADDR(.text) : {
-    *(.shbss)
-  } 
-  .talias :     { } ${RELOCATING+ > talias}
-  .data  : {
-    *(.data)
-    ${RELOCATING+ __edata  =  .};
-  } ${RELOCATING+ > data}
-  .bss   SIZEOF(.data) + ADDR(.data) :
-  {                                    
-   *(.bss)
-   *(COMMON)
-     ${RELOCATING+ __end = ALIGN(0x8)};
-  }
-  .mstack  : { } ${RELOCATING+ > mstack}
-  .rstack  : { } ${RELOCATING+ > rstack}
-}
-EOF
diff --git a/ld/aout.sc-sh b/ld/aout.sc-sh
deleted file mode 100755 (executable)
index 0643925..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-cat <<EOF
-OUTPUT_FORMAT("${OUTPUT_FORMAT}")
-OUTPUT_ARCH(${ARCH})
-
-${RELOCATING+${LIB_SEARCH_DIRS}}
-${RELOCATING+__DYNAMIC  =  0;}
-${STACKZERO+${RELOCATING+${STACKZERO}}}
-${SHLIB_PATH+${RELOCATING+${SHLIB_PATH}}}
-SECTIONS
-{
-  .text ${RELOCATING+${TEXT_START_ADDR}}:
-  {
-    CREATE_OBJECT_SYMBOLS
-    *(.text)
-    ${RELOCATING+_etext = ${DATA_ALIGNMENT};}
-  }
-  .data  ${RELOCATING+${DATA_ALIGNMENT}} :
-  {
-    *(.data)
-    ${CONSTRUCTING+CONSTRUCTORS}
-    ${RELOCATING+_edata  =  .;}
-  }
-  .bss ${RELOCATING+SIZEOF(.data) + ADDR(.data)} :
-  {
-    ${RELOCATING+ __bss_start = .};
-   *(.bss)
-   *(COMMON)
-   ${RELOCATING+_end = . };
-   ${RELOCATING+__end = . };
-  }
-}
-EOF
diff --git a/ld/ebmon29k.sc-sh b/ld/ebmon29k.sc-sh
deleted file mode 100755 (executable)
index 62050ee..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-cat <<EOF
-OUTPUT_FORMAT("${OUTPUT_FORMAT}")
-ENTRY(start)
-
-SECTIONS {
-  .text ${RELOCATING+${TEXT_START_ADDR}} : 
-    {
-       *(.text);
-       ${RELOCATING+_etext = .};
-    }
-  data ${RELOCATING+0x80002000} :
-    {
-       *(.data);
-       *(.mstack); 
-       *(.shbss);
-       *(.rstack);
-       *(.mstack);
-       ${CONSTRUCTING+CONSTRUCTORS}
-    }
-  .bss  . :
-    { 
-       *(COMMON)       
-       *(.bss);
-       ${RELOCATING+_end = .};
-    } 
-}
-EOF
diff --git a/ld/h8300hms.sc-sh b/ld/h8300hms.sc-sh
deleted file mode 100755 (executable)
index ed2d44f..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-cat <<EOF
-OUTPUT_FORMAT("${OUTPUT_FORMAT}")
-OUTPUT_ARCH(${ARCH})
-
-MEMORY {
-       rom   : o = 0x0000, l = 0x7fe0 
-       duart : o = 0x7fe0, l = 16
-       ram   : o = 0x8000, l = 28k
-       topram : o = 0x8000+28k, l = 1k
-       hmsram : o = 0xfb80, l = 512
-       }
-
-SECTIONS                               
-{                                      
-.text :
-       {                                       
-         *(.text)                              
-         *(.strings)
-        ${RELOCATING+ _etext = . ; }
-       } ${RELOCATING+ > ram}
-.data  :
-       {
-       *(.data)
-       ${RELOCATING+ _edata = . ; }
-       } ${RELOCATING+ > ram}
-.bss  :
-       {
-       ${RELOCATING+ _bss_start = . ;}
-       *(.bss)
-       *(COMMON)
-       ${RELOCATING+ _end = . ;  }
-       } ${RELOCATING+ >ram}
-.stack : 
-       {
-       ${RELOCATING+ _stack = . ; }
-       *(.stack)
-       } ${RELOCATING+ > topram}
-}
-EOF
-
-
-
-
diff --git a/ld/h8500hms.sc-sh b/ld/h8500hms.sc-sh
deleted file mode 100755 (executable)
index ed2d44f..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-cat <<EOF
-OUTPUT_FORMAT("${OUTPUT_FORMAT}")
-OUTPUT_ARCH(${ARCH})
-
-MEMORY {
-       rom   : o = 0x0000, l = 0x7fe0 
-       duart : o = 0x7fe0, l = 16
-       ram   : o = 0x8000, l = 28k
-       topram : o = 0x8000+28k, l = 1k
-       hmsram : o = 0xfb80, l = 512
-       }
-
-SECTIONS                               
-{                                      
-.text :
-       {                                       
-         *(.text)                              
-         *(.strings)
-        ${RELOCATING+ _etext = . ; }
-       } ${RELOCATING+ > ram}
-.data  :
-       {
-       *(.data)
-       ${RELOCATING+ _edata = . ; }
-       } ${RELOCATING+ > ram}
-.bss  :
-       {
-       ${RELOCATING+ _bss_start = . ;}
-       *(.bss)
-       *(COMMON)
-       ${RELOCATING+ _end = . ;  }
-       } ${RELOCATING+ >ram}
-.stack : 
-       {
-       ${RELOCATING+ _stack = . ; }
-       *(.stack)
-       } ${RELOCATING+ > topram}
-}
-EOF
-
-
-
-
diff --git a/ld/hppaosf.sc-sh b/ld/hppaosf.sc-sh
deleted file mode 100644 (file)
index 30e3c6e..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-cat <<EOF
-OUTPUT_FORMAT("${OUTPUT_FORMAT}")
-OUTPUT_ARCH(${ARCH})
-ENTRY("\$START\$")
-${RELOCATING+${LIB_SEARCH_DIRS}}
-SECTIONS
-{
-  .text ${RELOCATING+${TEXT_START_ADDR}}:
-  {
-    ${RELOCATING+__text_start = .};
-    CREATE_OBJECT_SYMBOLS
-    *(.text)
-  }
-  .data  ${RELOCATING+ 0x40000000 } :
-  {
-    ${RELOCATING+__data_start = .};
-    ${RELOCATING+ . = . + 0x1000 };
-    *(.data)
-    ${CONSTRUCTING+CONSTRUCTORS}
-  }
-  .bss ${RELOCATING+SIZEOF(.data) + ADDR(.data)} :
-  {
-   *(.bss)
-   *(COMMON)
-   ${RELOCATING+_end = . };
-   ${RELOCATING+__end = . };
-  }
-}
-EOF
diff --git a/ld/i386coff.sc-sh b/ld/i386coff.sc-sh
deleted file mode 100644 (file)
index d18fd24..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-# Linker script for 386 COFF.  This works on SVR3.2 and SCO Unix 3.2.2.
-# .data2 handles SCO, which uses two data sections.
-# Ian Taylor <ian@cygnus.com>.
-cat <<EOF
-OUTPUT_FORMAT("${OUTPUT_FORMAT}")
-${LIB_SEARCH_DIRS}
-
-ENTRY(_start)
-
-SECTIONS
-{
-  .text ${RELOCATING+ SIZEOF_HEADERS} : {
-    *(.init)
-    *(.text)
-    *(.fini)
-    ${RELOCATING+ etext  =  .};
-  }
-  .data ${RELOCATING+ 0x400000 + (. & 0xffc00fff)} : {
-    *(.data .data2)
-    ${RELOCATING+ edata  =  .};
-  }
-  .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
-  {                                    
-    *(.bss)
-    *(COMMON)
-    ${RELOCATING+ end = .};
-  }
-}
-EOF
diff --git a/ld/i960.sc-sh b/ld/i960.sc-sh
deleted file mode 100755 (executable)
index ed8ba8b..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-cat <<EOF
-SECTIONS
-{ 
-    .text : 
-    { 
-       ${GLD_STYLE+ CREATE_OBJECT_SYMBOLS}
-       *(.text) 
-       ${RELOCATING+ _etext = .};
-    }  
-    .data SIZEOF(.text) + ADDR(.text):
-    { 
-       *(.data) 
-       ${RELOCATING+ _edata = .};
-    }  
-    .bss SIZEOF(.data) + ADDR(.data):
-    { 
-       ${RELOCATING+ _bss_start = .};
-       *(.bss)  
-       *(COMMON) 
-       ${RELOCATING+ _end = .};
-    } 
-} 
-EOF
diff --git a/ld/m68kcoff.sc-sh b/ld/m68kcoff.sc-sh
deleted file mode 100644 (file)
index 519791c..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-# This is totally made up, from the a29k stuff.  If you know better,
-# tell us about it.
-cat <<EOF
-OUTPUT_FORMAT("${OUTPUT_FORMAT}")
-${LIB_SEARCH_DIRS}
-
-MEMORY {
-       text    : ORIGIN = 0x1000000, LENGTH = 0x1000000
-       talias  : ORIGIN = 0x2000000, LENGTH = 0x1000000
-       data    : ORIGIN = 0x3000000, LENGTH = 0x1000000
-       mstack  : ORIGIN = 0x4000000, LENGTH = 0x1000000
-       rstack  : ORIGIN = 0x5000000, LENGTH = 0x1000000
-}
-SECTIONS
-{
-  .text : {
-    *(.text)
-    ${RELOCATING+ etext  =  .;}
-    ${CONSTRUCTING+ __CTOR_LIST__ = .;}
-    ${CONSTRUCTING+ LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)}
-    *(.ctors)
-    ${CONSTRUCTING+ LONG(0)}
-    ${CONSTRUCTING+ __CTOR_END__ = .;}
-    ${CONSTRUCTING+ __DTOR_LIST__ = .;}
-    ${CONSTRUCTING+ LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)}
-    *(.dtors)
-    ${CONSTRUCTING+ LONG(0)}
-    ${CONSTRUCTING+ __DTOR_END__ = .;}
-    *(.lit)
-    *(.shdata)
-  } ${RELOCATING+ > text}
-  .shbss SIZEOF(.text) + ADDR(.text) : {
-    *(.shbss)
-  } 
-  .talias :     { } ${RELOCATING+ > talias}
-  .data  : {
-    *(.data)
-    ${RELOCATING+ edata  =  .};
-  } ${RELOCATING+ > data}
-  .bss   SIZEOF(.data) + ADDR(.data) :
-  {                                    
-    ${RELOCATING+ __bss_start = .};
-   *(.bss)
-   *(COMMON)
-     ${RELOCATING+ end = ALIGN(0x8)};
-     ${RELOCATING+ _end = ALIGN(0x8)};
-  }
-  .mstack  : { } ${RELOCATING+ > mstack}
-  .rstack  : { } ${RELOCATING+ > rstack}
-}
-EOF
diff --git a/ld/m88kbcs.sc-sh b/ld/m88kbcs.sc-sh
deleted file mode 100755 (executable)
index c7fe189..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-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
diff --git a/ld/mips.sc-sh b/ld/mips.sc-sh
deleted file mode 100644 (file)
index 0926db5..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-# Linker script for MIPS systems.
-# Ian Lance Taylor <ian@cygnus.com>.
-# These variables may be overridden by the emulation file.  The
-# defaults are appropriate for a DECstation running Ultrix.
-test -z "$ENTRY" && ENTRY=__start
-test -z "$TEXT_START_ADDR" && TEXT_START_ADDR="0x400000 + SIZEOF_HEADERS"
-test -z "$DATA_ADDR" && DATA_ADDR=0x10000000
-test -z "$BSS_VAR" && BSS_VAR=
-cat <<EOF
-OUTPUT_FORMAT("${OUTPUT_FORMAT}")
-${LIB_SEARCH_DIRS}
-
-ENTRY(${ENTRY})
-
-SECTIONS
-{
-  .text ${RELOCATING+ ${TEXT_START_ADDR}} : {
-    *(.init)
-    ${RELOCATING+ eprol  =  .};
-    *(.text)
-    *(.fini)
-    ${RELOCATING+ etext  =  .};
-    ${RELOCATING+ _etext  =  .};
-  }
-  .rdata ${RELOCATING+ ${DATA_ADDR}} : {
-    *(.rdata)
-  }
-  .data ${RELOCATING+ .} : {
-    *(.data)
-    ${CONSTRUCTING+CONSTRUCTORS}
-  }
-  ${RELOCATING+ _gp = . + 0x8000;}
-  .lit8 ${RELOCATING+ .} : {
-    *(.lit8)
-  }
-  .lit4 ${RELOCATING+ .} : {
-    *(.lit4)
-  }
-  .sdata ${RELOCATING+ .} : {
-    *(.sdata)
-  }
-  ${RELOCATING+ edata  =  .;}
-  ${RELOCATING+ _edata  =  .;}
-  ${RELOCATING+ ${BSS_VAR}}
-  .sbss ${RELOCATING+ .} : {
-    *(.sbss)
-    *(.scommon)
-  }
-  .bss ${RELOCATING+ .} : {
-    *(.bss)
-    *(COMMON)
-  }
-  ${RELOCATING+ end = .;}
-  ${RELOCATING+ _end = .;}
-}
-EOF
diff --git a/ld/mipsbsd.sc-sh b/ld/mipsbsd.sc-sh
deleted file mode 100644 (file)
index 6875794..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-cat <<EOF
-OUTPUT_FORMAT("${OUTPUT_FORMAT}")
-OUTPUT_ARCH(${ARCH})
-
-${RELOCATING+${LIB_SEARCH_DIRS}}
-${RELOCATING+__DYNAMIC  =  0;}
-SECTIONS
-{
-  .text ${RELOCATING+${TEXT_START_ADDR}}:
-  {
-    CREATE_OBJECT_SYMBOLS
-    *(.text)
-    ${RELOCATING+etext = ${DATA_ALIGNMENT};}
-  }
-  .data  ${RELOCATING+${DATA_ALIGNMENT}} :
-  {
-    *(.data)
-    ${CONSTRUCTING+CONSTRUCTORS}
-    ${RELOCATING+edata  =  .;}
-  }
-  .bss ${RELOCATING+SIZEOF(.data) + ADDR(.data)} :
-  {
-   *(.bss)
-   *(COMMON)
-   ${RELOCATING+end = . };
-  }
-}
-EOF
diff --git a/ld/sa29200.sc-sh b/ld/sa29200.sc-sh
deleted file mode 100755 (executable)
index 6526614..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-cat <<EOF
-OUTPUT_FORMAT("${OUTPUT_FORMAT}")
-ENTRY(start)
-
-SECTIONS {
-  .text ${RELOCATING+${TEXT_START_ADDR}} : 
-    {
-       *(.text);
-       *(.text1);
-       *(.text2);
-       ${RELOCATING+_etext = .};
-    }
-  .lit . :
-   {
-       *(.lit);
-       ${RELOCATING+_elit = .};
-   }
-  .data . :
-    {
-       *(.data);
-       *(.data1);
-       *(.data2);
-       ${RELOCATING+_edata = .};
-       ${CONSTRUCTING+CONSTRUCTORS}
-       ${CONSTRUCTING+ ___CTOR_LIST__ = .;}
-       ${CONSTRUCTING+ LONG((___CTOR_END__ - ___CTOR_LIST__) / 4 - 2)}
-       *(.ctors)
-       ${CONSTRUCTING+ LONG(0)}
-       ${CONSTRUCTING+ ___CTOR_END__ = .;}
-       ${CONSTRUCTING+ ___DTOR_LIST__ = .;}
-       ${CONSTRUCTING+ LONG((___DTOR_END__ - ___DTOR_LIST__) / 4 - 2)}
-       *(.dtors)
-       ${CONSTRUCTING+ LONG(0)}
-       ${CONSTRUCTING+ ___DTOR_END__ = .;}
-    }
-
-  .bss  . :
-    { 
-       *(COMMON)       
-       *(.bss)
-       ${RELOCATING+_end = .};
-    } 
-}
-EOF
diff --git a/ld/sh.sc-sh b/ld/sh.sc-sh
deleted file mode 100755 (executable)
index b941359..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-cat <<EOF
-OUTPUT_FORMAT("${OUTPUT_FORMAT}")
-OUTPUT_ARCH(${ARCH})
-
-MEMORY {
-       ram   : o = 0x1000, l = 512k
-       }
-
-SECTIONS                               
-{                                      
-.text :
-       {                                       
-         *(.text)                              
-         *(.strings)
-        ${RELOCATING+ _etext = . ; }
-       } ${RELOCATING+ > ram}
-.data  :
-       {
-       *(.data)
-       ${RELOCATING+ _edata = . ; }
-       } ${RELOCATING+ > ram}
-.bss  :
-       {
-       ${RELOCATING+ _bss_start = . ;}
-       *(.bss)
-       *(COMMON)
-       ${RELOCATING+ _end = . ;  }
-       } ${RELOCATING+ >ram}
-.stack : 
-       {
-       ${RELOCATING+ _stack = . ; }
-       *(.stack)
-       } ${RELOCATING+ > ram}
-}
-EOF
-
-
-
-
diff --git a/ld/st2000.sc-sh b/ld/st2000.sc-sh
deleted file mode 100755 (executable)
index 7ee132a..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-cat <<EOF
-OUTPUT_FORMAT("${OUTPUT_FORMAT}")
-OUTPUT_ARCH(${ARCH})
-
-
-SECTIONS                               
-{                                      
-.text :
-       {                                       
-         *(.text)                              
-         *(.strings)
-         _etext = .;
-       *(.data)
-       _edata = .;
-       *(.bss)
-       *(COMMON)
-        _end = .;
-
-}
-
-}
-EOF
-
-
-
-
diff --git a/ld/vanilla.sc-sh b/ld/vanilla.sc-sh
deleted file mode 100755 (executable)
index 1798480..0000000
+++ /dev/null
@@ -1 +0,0 @@
-# Nothing to do.
diff --git a/ld/z8ksim.sc-sh b/ld/z8ksim.sc-sh
deleted file mode 100755 (executable)
index 7ee132a..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-cat <<EOF
-OUTPUT_FORMAT("${OUTPUT_FORMAT}")
-OUTPUT_ARCH(${ARCH})
-
-
-SECTIONS                               
-{                                      
-.text :
-       {                                       
-         *(.text)                              
-         *(.strings)
-         _etext = .;
-       *(.data)
-       _edata = .;
-       *(.bss)
-       *(COMMON)
-        _end = .;
-
-}
-
-}
-EOF
-
-
-
-