projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
565c93e
)
Support for constructors.
author
Steve Chamberlain
<sac@cygnus>
Thu, 17 Jun 1993 21:49:48 +0000
(21:49 +0000)
committer
Steve Chamberlain
<sac@cygnus>
Thu, 17 Jun 1993 21:49:48 +0000
(21:49 +0000)
ld/scripttempl/sh.sc
patch
|
blob
|
history
diff --git
a/ld/scripttempl/sh.sc
b/ld/scripttempl/sh.sc
index b941359b9b8a8b790de8d2a283bd83754351420d..3eefa62157b46b4ad3050a6106f04a1329a53786 100644
(file)
--- 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)