summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-02-19 00:29:01 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-02-19 00:29:01 +0000
commit32163dbd0ec1803cb84bc4950c3627707dc3a142 (patch)
treec8b62d5c1bbc035dcdc4ba889ac13b2932f2e8f5
parent9c448e1db38c6dd64c885ddfb3fe28de33cd037b (diff)
downloadrtems-32163dbd0ec1803cb84bc4950c3627707dc3a142.tar.bz2
Enhanced to support -qrtems_debug.
-rw-r--r--c/src/lib/libbsp/powerpc/score603e/bsp_specs12
1 files changed, 9 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/powerpc/score603e/bsp_specs b/c/src/lib/libbsp/powerpc/score603e/bsp_specs
index 3630230224..0fcb92686c 100644
--- a/c/src/lib/libbsp/powerpc/score603e/bsp_specs
+++ b/c/src/lib/libbsp/powerpc/score603e/bsp_specs
@@ -1,3 +1,4 @@
+
%rename cpp old_cpp
%rename lib old_lib
%rename endfile old_endfile
@@ -8,11 +9,16 @@
%(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
*lib:
-%{!qrtems: %(old_lib)} %{qrtems: ecrti%O%s ecrtn%O%s --start-group -lrtemsall -lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}
+%{!qrtems: %(old_lib)} %{qrtems: --start-group \
+%{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \
+-lc -lgcc --end-group ecrtn%O%s \
+%{!qnolinkcmds: -T linkcmds%s}}
*startfile:
-%{!qrtems: %(old_startfile)} %{qrtems: start.o%s}
+%{!qrtems: %(old_startfile)} %{qrtems: ecrti%O%s \
+%{!qrtems_debug: start.o%s} \
+%{qrtems_debug: start_g.o%s}}
*link:
-%{!qrtems: %(old_link)} %{qrtems: -Qy -dp -Bstatic -e _start -u __vectors}
+%{!qrtems: %(old_link)} %{qrtems: -Qy -dp -Bstatic -T linkcmds%s -e _start -u __vectors}