diff options
author | David MacKenzie <djm@cygnus> | 1993-06-17 21:21:21 +0000 |
---|---|---|
committer | David MacKenzie <djm@cygnus> | 1993-06-17 21:21:21 +0000 |
commit | 6fa11e9f43dee979026d9915fd9b2eb7265e7f7e (patch) | |
tree | 5af5625da82cfee43d59b254fbdbf6891f2cd4dc /ld | |
parent | e89ea690c9a232f65df9fe745da7584f488ea0e7 (diff) | |
download | gdb-6fa11e9f43dee979026d9915fd9b2eb7265e7f7e.zip gdb-6fa11e9f43dee979026d9915fd9b2eb7265e7f7e.tar.gz gdb-6fa11e9f43dee979026d9915fd9b2eb7265e7f7e.tar.bz2 |
Moved to scripttempl subdir.
Diffstat (limited to 'ld')
-rwxr-xr-x | ld/a29k.sc-sh | 38 | ||||
-rwxr-xr-x | ld/aout.sc-sh | 32 | ||||
-rwxr-xr-x | ld/ebmon29k.sc-sh | 27 | ||||
-rwxr-xr-x | ld/h8300hms.sc-sh | 43 | ||||
-rwxr-xr-x | ld/h8500hms.sc-sh | 43 | ||||
-rw-r--r-- | ld/hppaosf.sc-sh | 29 | ||||
-rw-r--r-- | ld/i386coff.sc-sh | 29 | ||||
-rwxr-xr-x | ld/i960.sc-sh | 23 | ||||
-rw-r--r-- | ld/m68kcoff.sc-sh | 51 | ||||
-rwxr-xr-x | ld/m88kbcs.sc-sh | 41 | ||||
-rw-r--r-- | ld/mips.sc-sh | 56 | ||||
-rw-r--r-- | ld/mipsbsd.sc-sh | 28 | ||||
-rwxr-xr-x | ld/sa29200.sc-sh | 44 | ||||
-rwxr-xr-x | ld/sh.sc-sh | 39 | ||||
-rwxr-xr-x | ld/st2000.sc-sh | 26 | ||||
-rwxr-xr-x | ld/vanilla.sc-sh | 1 | ||||
-rwxr-xr-x | ld/z8ksim.sc-sh | 26 |
17 files changed, 0 insertions, 576 deletions
diff --git a/ld/a29k.sc-sh b/ld/a29k.sc-sh deleted file mode 100755 index a43a5eb..0000000 --- a/ld/a29k.sc-sh +++ /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 index 0643925..0000000 --- a/ld/aout.sc-sh +++ /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 index 62050ee..0000000 --- a/ld/ebmon29k.sc-sh +++ /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 index ed2d44f..0000000 --- a/ld/h8300hms.sc-sh +++ /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 index ed2d44f..0000000 --- a/ld/h8500hms.sc-sh +++ /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 index 30e3c6e..0000000 --- a/ld/hppaosf.sc-sh +++ /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 index d18fd24..0000000 --- a/ld/i386coff.sc-sh +++ /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 index ed8ba8b..0000000 --- a/ld/i960.sc-sh +++ /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 index 519791c..0000000 --- a/ld/m68kcoff.sc-sh +++ /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 index c7fe189..0000000 --- a/ld/m88kbcs.sc-sh +++ /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 index 0926db5..0000000 --- a/ld/mips.sc-sh +++ /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 index 6875794..0000000 --- a/ld/mipsbsd.sc-sh +++ /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 index 6526614..0000000 --- a/ld/sa29200.sc-sh +++ /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 index b941359..0000000 --- a/ld/sh.sc-sh +++ /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 index 7ee132a..0000000 --- a/ld/st2000.sc-sh +++ /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 index 1798480..0000000 --- a/ld/vanilla.sc-sh +++ /dev/null @@ -1 +0,0 @@ -# Nothing to do. diff --git a/ld/z8ksim.sc-sh b/ld/z8ksim.sc-sh deleted file mode 100755 index 7ee132a..0000000 --- a/ld/z8ksim.sc-sh +++ /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 - - - - |