diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-02-17 23:35:54 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-02-17 23:35:54 +0000 |
commit | f86ec4236f27434b93f3a0d902ee34bdde963630 (patch) | |
tree | 71094e41be1d85c77a3520fe97527b64e4c7df14 /c/src/lib/libbsp/m68k/mvme136/startup | |
parent | Renamed init.o to exinit.o to avoid naming conflicts with tests. (diff) | |
download | rtems-f86ec4236f27434b93f3a0d902ee34bdde963630.tar.bz2 |
Added .eh_frame, C++ constructor, and C++ destructor sections.
Diffstat (limited to 'c/src/lib/libbsp/m68k/mvme136/startup')
-rw-r--r-- | c/src/lib/libbsp/m68k/mvme136/startup/linkcmds | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m68k/mvme136/startup/linkcmds b/c/src/lib/libbsp/m68k/mvme136/startup/linkcmds index 845cb9f303..577bb0f8cf 100644 --- a/c/src/lib/libbsp/m68k/mvme136/startup/linkcmds +++ b/c/src/lib/libbsp/m68k/mvme136/startup/linkcmds @@ -25,6 +25,24 @@ SECTIONS text_start = . ; _text_start = . ; *(.text) + . = ALIGN (16); + + *(.eh_fram) + . = ALIGN (16); + + /* + * C++ constructors + */ + __CTOR_LIST__ = .; + LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2) + *(.ctors) + LONG(0) + __CTOR_END__ = .; + __DTOR_LIST__ = .; + LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2) + *(.dtors) + LONG(0) + __DTOR_END__ = .; etext = ALIGN( 0x10 ) ; _etext = .; } |