From e9fcc7432ea6999a9f0bb20e3ab13482220cb8e0 Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Fri, 11 Oct 1991 19:32:24 +0000 Subject: [PATCH] Initial revision --- ld/config/ebmon29k.mt | 1 + ld/ebmon29k.sc | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 ld/config/ebmon29k.mt create mode 100755 ld/ebmon29k.sc diff --git a/ld/config/ebmon29k.mt b/ld/config/ebmon29k.mt new file mode 100644 index 00000000000..f58e37d3af9 --- /dev/null +++ b/ld/config/ebmon29k.mt @@ -0,0 +1 @@ +TDEFINES = -DDEFAULT_EMULATION=EBMON29K_EMULATION_NAME diff --git a/ld/ebmon29k.sc b/ld/ebmon29k.sc new file mode 100755 index 00000000000..838aef4a7bb --- /dev/null +++ b/ld/ebmon29k.sc @@ -0,0 +1,38 @@ +OUTPUT_FORMAT("coff-a29k-big") + +SEARCH_DIR(/lib) +SEARCH_DIR(/usr/lib) +SEARCH_DIR(/usr/local/lib) +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) + __etext = .; + *(.lit) + *(.shdata) + } > text + .shbss SIZEOF(.text) + ADDR(.text) : { + *(.shbss) + } + .talias : { } > talias + .data : { + *(.data) + __edata = .; + } > data + .bss SIZEOF(.data) + ADDR(.data) : + { + *(.bss) + [COMMON] + __end = ALIGN(0x8); + } + .mstack : { } > mstack + .rstack : { } > rstack +} + -- 2.30.2