From 01a9d941b32deade4225b410911f8ee76a9f0762 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 6 Apr 1999 20:39:17 +0000 Subject: Patch from Andrew Bray : In your various bsp_specs files, even when ecrti.o is defined as a startfile, ecrtn.o is not defined as an endfile. Instead it seems to be in the library list - untidy. --- c/src/lib/libbsp/powerpc/psim/bsp_specs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'c/src/lib/libbsp/powerpc/psim/bsp_specs') diff --git a/c/src/lib/libbsp/powerpc/psim/bsp_specs b/c/src/lib/libbsp/powerpc/psim/bsp_specs index a28e9237f5..1999d742cc 100644 --- a/c/src/lib/libbsp/powerpc/psim/bsp_specs +++ b/c/src/lib/libbsp/powerpc/psim/bsp_specs @@ -10,7 +10,7 @@ *lib: %{!qrtems: %(old_lib)} %{qrtems: --start-group \ %{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \ --lc -lgcc --end-group ecrtn%O%s \ +-lc -lgcc --end-group \ %{!qnolinkcmds: -T linkcmds%s}} *startfile: @@ -18,6 +18,9 @@ %{!qrtems_debug: startsim.o%s} \ %{qrtems_debug: startsim_g.o%s}} +*endfile: +%{!qrtems: %(old_endfile)} %{qrtems: ecrtn%O%s} + *link: %{!qrtems: %(old_link)} %{qrtems: -Qy -dp -Bstatic -T linkcmds%s -e _start -u __vectors} -- cgit v1.2.3