added c++ support

This commit is contained in:
Thomas Doerfler
2007-07-10 19:34:05 +00:00
parent 185da08642
commit 29e86b625e
3 changed files with 9 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
2007-07-10 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* bsp_specs, startup/linkcmds: add c++ support again
* preinstall.am: some fixes
2007-07-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: Add startup/bspclean.c

View File

@@ -3,11 +3,10 @@
%rename link old_link
*startfile:
%{!qrtems: %(old_startfile)} \
%{!nostdlib: %{qrtems: ecrti%O%s}}
%{!qrtems: %(old_startfile)} %{!nostdlib: %{qrtems: ecrti%O%s rtems_crti%O%s crtbegin.o%s}}
*endfile:
%{!qrtems: %(old_endfile)} %{qrtems: ecrtn%O%s}
%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s ecrtn.o%s}
*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -u __vectors -N -u start -e start}

View File

@@ -166,6 +166,8 @@ SECTIONS
} > ram
.jcr : { KEEP (*(.jcr)) } >RAM
.rel.dyn : {
*(.rel.init)
*(.rel.text .rel.text.* .rel.gnu.linkonce.t.*)