diff options
author | Steve Chamberlain <steve@cygnus> | 1991-09-03 21:12:23 +0000 |
---|---|---|
committer | Steve Chamberlain <steve@cygnus> | 1991-09-03 21:12:23 +0000 |
commit | 81003d7e1aa94e8be0436bfff9bf4c116b7cb734 (patch) | |
tree | cd7bc1c7e56c60a7b9156648098799b34e90508b /ld/ldm88k.sc | |
parent | 30104b16c32c5173e72221394a6319de81fd9581 (diff) | |
download | gdb-81003d7e1aa94e8be0436bfff9bf4c116b7cb734.zip gdb-81003d7e1aa94e8be0436bfff9bf4c116b7cb734.tar.gz gdb-81003d7e1aa94e8be0436bfff9bf4c116b7cb734.tar.bz2 |
Initial revision
Diffstat (limited to 'ld/ldm88k.sc')
-rwxr-xr-x | ld/ldm88k.sc | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/ld/ldm88k.sc b/ld/ldm88k.sc new file mode 100755 index 0000000..c4cb37e --- /dev/null +++ b/ld/ldm88k.sc @@ -0,0 +1,40 @@ +TARGET(m88kbcs) +OUTPUT_FORMAT(m88kbcs) +OUTPUT_ARCH(m88k) +ENTRY(__start) +SEARCH_DIR(/lib) +SEARCH_DIR(/usr/lib) +SEARCH_DIR(/usr/local/lib) +SECTIONS +{ + .text 0x10000 + SIZEOF_HEADERS : + { + __.text.start = .; + __.init.start = .; + LONG(0xf400c001) + __.init.end = .; + *(.text) + __.tdesc_start = .; + *(.tdesc) + __.text_end = .; + __.initp.start = .; + __.initp.end =.; + + _etext =.; + } + .data SIZEOF(.text) + ADDR(.text) + 0x400000: + { + *(.data) + _edata = .; + } + .bss SIZEOF(.data) + ADDR(.data) : + { + *(.bss) + [COMMON] + _end = .; + ___end = .; + } +} + + + |