diff options
author | Steve Chamberlain <sac@cygnus> | 1993-08-17 14:04:24 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1993-08-17 14:04:24 +0000 |
commit | ea1c0ad276b861d3e46fb47d6fa841f7e6c267d7 (patch) | |
tree | 7703cc71ab46fbcd3175fbf88949fdca3d43e1bf | |
parent | 7b98a091361fd9660ed38f0e196a605bf324e160 (diff) | |
download | gdb-ea1c0ad276b861d3e46fb47d6fa841f7e6c267d7.zip gdb-ea1c0ad276b861d3e46fb47d6fa841f7e6c267d7.tar.gz gdb-ea1c0ad276b861d3e46fb47d6fa841f7e6c267d7.tar.bz2 |
* scripttempl/h8500.sc: Start all sections in a different segment.
* scripttempl/z8ksim.sc: Handle constructors
-rw-r--r-- | ld/ChangeLog | 19 | ||||
-rw-r--r-- | ld/scripttempl/z8ksim.sc | 50 |
2 files changed, 58 insertions, 11 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index b5cc0cd..d85716f 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,22 @@ +Tue Aug 17 07:02:19 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) + + * scripttempl/h8500.sc: Start all sections in a different segment. + * scripttempl/z8ksim.sc: Handle constructors + + +Thu Aug 12 16:05:37 1993 Jeffrey Wheat (cassidy@cygnus.com) + + * Makefile.in: revert earlier changes back to execute runtest + with make check. cdtest and bootstrap now function as they + did within the Makefile. + +Thu Aug 12 10:20:05 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * Makefile.in: Update dependencies. + + * configure.in: Set EMULATION_OFILES in Makefile based on + --with-targets option. + Thu Aug 12 08:52:29 1993 Jeffrey Wheat (cassidy@cygnus.com) * Makefile.in: check targets reimplemented to old way. diff --git a/ld/scripttempl/z8ksim.sc b/ld/scripttempl/z8ksim.sc index 7ee132a..e9627d8 100644 --- a/ld/scripttempl/z8ksim.sc +++ b/ld/scripttempl/z8ksim.sc @@ -1,22 +1,50 @@ cat <<EOF OUTPUT_FORMAT("${OUTPUT_FORMAT}") -OUTPUT_ARCH(${ARCH}) - +OUTPUT_ARCH(z8002) +ENTRY(_start) SECTIONS { -.text : - { +.text : { *(.text) *(.strings) - _etext = .; + *(.rdata) + } + +.ctors : + { + ${RELOCATING+ ___ctors = . ; } + *(.ctors); + ${RELOCATING+ ___ctors_end = . ; } + ___dtors = . ; + *(.dtors); + ${RELOCATING+ ___dtors_end = . ; } + } + +.data : { *(.data) - _edata = .; - *(.bss) - *(COMMON) - _end = .; - -} + } + +.bss : + { + ${RELOCATING+ __start_bss = . ; } + *(.bss); + *(COMMON); + ${RELOCATING+ __end_bss = . ; } + } + +.heap : { + ${RELOCATING+ __start_heap = . ; } + ${RELOCATING+ . = . + 20k ; } + ${RELOCATING+ __end_heap = . ; } + } + +.stack ${RELOCATING+ 0xf000 } : + { + ${RELOCATING+ _stack = . ; } + *(.stack) + ${RELOCATING+ __stack_top = . ; } + } } EOF |