2008-01-03 Till Straumann <strauman@slac.stanford.edu>

* bsp_specs: added crtend.o back to the endfiles. Otherwise,
	C++ static constructors are not executed because the
	call to __do_global_ctors_aux() is emitted into the .init
	section by this endfile (yes, the endfile contributes to .init).
This commit is contained in:
Till Straumann
2008-01-04 07:16:03 +00:00
parent 42fce5d39b
commit 74ee68dd00
2 changed files with 8 additions and 1 deletions

View File

@@ -1,3 +1,10 @@
2008-01-03 Till Straumann <strauman@slac.stanford.edu>
* bsp_specs: added crtend.o back to the endfiles. Otherwise,
C++ static constructors are not executed because the
call to __do_global_ctors_aux() is emitted into the .init
section by this endfile (yes, the endfile contributes to .init).
2007-12-11 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am: use new irq_bspsupport.rel which was

View File

@@ -10,4 +10,4 @@
%{!qrtems: %(old_link)} %{qrtems: -Qy -dp -Bstatic -e _start -u __vectors}
*endfile:
%{!qrtems: %(old_endfile)} %{qrtems: ecrtn.o%s}
%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s ecrtn.o%s}