summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp
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
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 '')
-rw-r--r--c/src/lib/libbsp/powerpc/dmv177/bsp_specs5
-rw-r--r--c/src/lib/libbsp/powerpc/eth_comm/bsp_specs3
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/bsp_specs3
-rw-r--r--c/src/lib/libbsp/powerpc/papyrus/bsp_specs3
-rw-r--r--c/src/lib/libbsp/powerpc/ppcn_60x/bsp_specs5
-rw-r--r--c/src/lib/libbsp/powerpc/psim/bsp_specs5
-rw-r--r--c/src/lib/libbsp/powerpc/score603e/bsp_specs5
7 files changed, 25 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/dmv177/bsp_specs b/c/src/lib/libbsp/powerpc/dmv177/bsp_specs
index ab5a8ddbeb..491b059df3 100644
--- a/c/src/lib/libbsp/powerpc/dmv177/bsp_specs
+++ b/c/src/lib/libbsp/powerpc/dmv177/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}
diff --git a/c/src/lib/libbsp/powerpc/eth_comm/bsp_specs b/c/src/lib/libbsp/powerpc/eth_comm/bsp_specs
index ef57a1a4a7..fa48d8ca78 100644
--- a/c/src/lib/libbsp/powerpc/eth_comm/bsp_specs
+++ b/c/src/lib/libbsp/powerpc/eth_comm/bsp_specs
@@ -18,6 +18,9 @@
%{!qrtems_debug: } \
%{qrtems_debug: }}
+*endfile:
+%{!qrtems: %(old_endfile)} %{qrtems: ecrtn%O%s}
+
*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -u __vectors -N -u start -e start}
diff --git a/c/src/lib/libbsp/powerpc/helas403/bsp_specs b/c/src/lib/libbsp/powerpc/helas403/bsp_specs
index c08f0a293b..562d8bca15 100644
--- a/c/src/lib/libbsp/powerpc/helas403/bsp_specs
+++ b/c/src/lib/libbsp/powerpc/helas403/bsp_specs
@@ -18,6 +18,9 @@
%{!qrtems_debug: } \
%{qrtems_debug: }}
+*endfile:
+%{!qrtems: %(old_endfile)} %{qrtems: ecrtn%O%s}
+
*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -u __vectors -u flash_entry -N }
diff --git a/c/src/lib/libbsp/powerpc/papyrus/bsp_specs b/c/src/lib/libbsp/powerpc/papyrus/bsp_specs
index 24804479a0..8c64a8c68b 100644
--- a/c/src/lib/libbsp/powerpc/papyrus/bsp_specs
+++ b/c/src/lib/libbsp/powerpc/papyrus/bsp_specs
@@ -18,6 +18,9 @@
%{!qrtems_debug: } \
%{qrtems_debug: }}
+*endfile:
+%{!qrtems: %(old_endfile)} %{qrtems: ecrtn%O%s}
+
*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -u __vectors -u download_entry -N }
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}
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}
diff --git a/c/src/lib/libbsp/powerpc/score603e/bsp_specs b/c/src/lib/libbsp/powerpc/score603e/bsp_specs
index 0fcb92686c..51958e29b9 100644
--- a/c/src/lib/libbsp/powerpc/score603e/bsp_specs
+++ b/c/src/lib/libbsp/powerpc/score603e/bsp_specs
@@ -11,7 +11,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:
@@ -19,6 +19,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}