diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-08-05 22:37:17 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-08-05 22:37:17 +0000 |
commit | a92280e02d171dfcc0f9b34bc215b28486205980 (patch) | |
tree | 7b6cf606fd322928cf2187e3645e312dc509663f /c/src/lib/libbsp/sparc/erc32/startup | |
parent | changed version to 19990805 (diff) | |
download | rtems-a92280e02d171dfcc0f9b34bc215b28486205980.tar.bz2 |
Now supports C++ global constructors and exceptions.
Diffstat (limited to 'c/src/lib/libbsp/sparc/erc32/startup')
-rw-r--r-- | c/src/lib/libbsp/sparc/erc32/startup/Makefile.in | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/erc32/startup/linkcmds | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/sparc/erc32/startup/Makefile.in b/c/src/lib/libbsp/sparc/erc32/startup/Makefile.in index b2f2215bd2..83ea0876cb 100644 --- a/c/src/lib/libbsp/sparc/erc32/startup/Makefile.in +++ b/c/src/lib/libbsp/sparc/erc32/startup/Makefile.in @@ -46,7 +46,9 @@ $(INSTALLDIRS): # (OPTIONAL) Add local stuff here using += # -DEFINES += +# USE_INIT_FINI tells main.c what C++ help we need. + +DEFINES += -DUSE_INIT_FINI CPPFLAGS += CFLAGS += diff --git a/c/src/lib/libbsp/sparc/erc32/startup/linkcmds b/c/src/lib/libbsp/sparc/erc32/startup/linkcmds index 46c989888c..c7ed71d621 100644 --- a/c/src/lib/libbsp/sparc/erc32/startup/linkcmds +++ b/c/src/lib/libbsp/sparc/erc32/startup/linkcmds @@ -120,6 +120,8 @@ SECTIONS etext = ALIGN(0x10); _etext = .; + *(.init) + *(.fini) *(.lit) *(.shdata) _endtext = .; |