projects
/
external
/
binutils.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
b941359
..
3eefa62
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)