diff options
author | Steve Chamberlain <sac@cygnus> | 1993-06-17 21:49:48 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1993-06-17 21:49:48 +0000 |
commit | f216ecc54a2c58f80b2626fb77caf16514c98c05 (patch) | |
tree | d11444c0eb3e06cf354c8fa4803a18f184813af1 /ld/scripttempl | |
parent | 565c93e92a2fc21b0442757bff2e93701c80d639 (diff) | |
download | gdb-f216ecc54a2c58f80b2626fb77caf16514c98c05.zip gdb-f216ecc54a2c58f80b2626fb77caf16514c98c05.tar.gz gdb-f216ecc54a2c58f80b2626fb77caf16514c98c05.tar.bz2 |
Support for constructors.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r-- | ld/scripttempl/sh.sc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/scripttempl/sh.sc b/ld/scripttempl/sh.sc index b941359..3eefa62 100644 --- a/ld/scripttempl/sh.sc +++ b/ld/scripttempl/sh.sc @@ -14,6 +14,17 @@ SECTIONS *(.strings) ${RELOCATING+ _etext = . ; } } ${RELOCATING+ > ram} + + +.tors : { + ___ctors = . ; + *(.ctors) + ___ctors_end = . ; + ___dtors = . ; + *(.dtors) + ___dtors_end = . ; +} ${RELOCATING+ > ram} + .data : { *(.data) |