summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/ppcn_60x
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-04-06 20:39:17 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-04-06 20:39:17 +0000
commit01a9d941b32deade4225b410911f8ee76a9f0762 (patch)
tree390fcdcebcb28dacf866cdea639646f526409df4 /c/src/lib/libbsp/powerpc/ppcn_60x
parent676b50455d174270075523f88823555138978c5f (diff)
downloadrtems-01a9d941b32deade4225b410911f8ee76a9f0762.tar.bz2
Patch from Andrew Bray <andy@chaos.org.uk>:
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.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/ppcn_60x')
-rw-r--r--c/src/lib/libbsp/powerpc/ppcn_60x/bsp_specs5
1 files changed, 4 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/ppcn_60x/bsp_specs b/c/src/lib/libbsp/powerpc/ppcn_60x/bsp_specs
index ab5a8ddbeb..491b059df3 100644
--- a/c/src/lib/libbsp/powerpc/ppcn_60x/bsp_specs
+++ b/c/src/lib/libbsp/powerpc/ppcn_60x/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: start.o%s} \
%{qrtems_debug: start_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}