Support for constructors.
This commit is contained in:
parent
565c93e92a
commit
f216ecc54a
1 changed files with 11 additions and 0 deletions
|
@ -14,6 +14,17 @@ SECTIONS
|
|||
*(.strings)
|
||||
${RELOCATING+ _etext = . ; }
|
||||
} ${RELOCATING+ > ram}
|
||||
|
||||
|
||||
.tors : {
|
||||
___ctors = . ;
|
||||
*(.ctors)
|
||||
___ctors_end = . ;
|
||||
___dtors = . ;
|
||||
*(.dtors)
|
||||
___dtors_end = . ;
|
||||
} ${RELOCATING+ > ram}
|
||||
|
||||
.data :
|
||||
{
|
||||
*(.data)
|
||||
|
|
Loading…
Reference in a new issue