diff options
author | Ian Lance Taylor <ian@airs.com> | 1993-06-10 21:02:59 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1993-06-10 21:02:59 +0000 |
commit | 9de4d8f1c0540a6a8f0343329b197156adadf220 (patch) | |
tree | 2e2fec4a6afa24ecada648cb37bc9c5569665a6b /ld/sa29200.sc-sh | |
parent | ce38539a451235d63ff949f2cfbed977578c9af9 (diff) | |
download | gdb-9de4d8f1c0540a6a8f0343329b197156adadf220.zip gdb-9de4d8f1c0540a6a8f0343329b197156adadf220.tar.gz gdb-9de4d8f1c0540a6a8f0343329b197156adadf220.tar.bz2 |
* ldexp.c (exp_fold_tree): Don't lose the old flag bits.
* ldgram.y (statement_list_opt): New nonterminal, either empty or
statement_list.
(section): Use statement_list_opt, not statement_list.
* m68kcoff.sc-sh: Gather constructors and destructors and define
__CTOR_LIST__ and __DTOR_LIST__ appropriately.
* sa29200.sc-sh: Gather constructors and destructors and define
___CTOR_LIST__ and ___DTOR_LIST__ appropriately.
Diffstat (limited to 'ld/sa29200.sc-sh')
-rwxr-xr-x | ld/sa29200.sc-sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/sa29200.sc-sh b/ld/sa29200.sc-sh index d0a395b..6526614 100755 --- a/ld/sa29200.sc-sh +++ b/ld/sa29200.sc-sh @@ -22,6 +22,16 @@ SECTIONS { *(.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 . : |