diff options
author | Steve Chamberlain <sac@cygnus> | 1991-11-29 01:09:30 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1991-11-29 01:09:30 +0000 |
commit | 6089addcdc095ec84c74a4324b6c949a42c8011a (patch) | |
tree | 28957ffc7fadc0942234141c0bb75b654cb6b4bc | |
parent | 63c92fcd9644cf4980bc004911165d46c5814d4e (diff) | |
download | gdb-6089addcdc095ec84c74a4324b6c949a42c8011a.zip gdb-6089addcdc095ec84c74a4324b6c949a42c8011a.tar.gz gdb-6089addcdc095ec84c74a4324b6c949a42c8011a.tar.bz2 |
Uses something which will actuall work on an ebmon system
-rwxr-xr-x | ld/ebmon29k.sc | 59 |
1 files changed, 24 insertions, 35 deletions
diff --git a/ld/ebmon29k.sc b/ld/ebmon29k.sc index 838aef4..2852c16 100755 --- a/ld/ebmon29k.sc +++ b/ld/ebmon29k.sc @@ -1,38 +1,27 @@ OUTPUT_FORMAT("coff-a29k-big") +ENTRY(start) -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 -} +SECTIONS { + .text 0x8000 : + { + *(.text); + _etext = . ; + } + .data 0x80002000 : + { + *(.data); + *(.mstack); + *(.shbss); + *(.rstack); + *(.mstack); + CONSTRUCTORS + } + .bss . : + { + [COMMON] + *(.bss); + _end = .; + } + +} |