summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/psim/bsp_specs
diff options
context:
space:
mode:
authorTill Straumann <strauman@slac.stanford.edu>2008-01-04 07:16:03 +0000
committerTill Straumann <strauman@slac.stanford.edu>2008-01-04 07:16:03 +0000
commit74ee68dd0014d3db08b97324f3a9fd66b156ed6c (patch)
tree68edbe4a9a825ab45b175839b09016570c2acdeb /c/src/lib/libbsp/powerpc/psim/bsp_specs
parent2008-01-03 Till Straumann <strauman@slac.stanford.edu> (diff)
downloadrtems-74ee68dd0014d3db08b97324f3a9fd66b156ed6c.tar.bz2
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).
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/psim/bsp_specs2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/psim/bsp_specs b/c/src/lib/libbsp/powerpc/psim/bsp_specs
index baa61c2660..bf11aa9a83 100644
--- a/c/src/lib/libbsp/powerpc/psim/bsp_specs
+++ b/c/src/lib/libbsp/powerpc/psim/bsp_specs
@@ -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}