summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mpc55xxevb/bsp_specs
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-12-04 20:34:02 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-12-04 20:34:02 +0000
commitdf39396289a92e1abdb006f5c85cc2d9308bc598 (patch)
tree9912042f4c71302d0f1a5c45a68e039e1977bb66 /c/src/lib/libbsp/powerpc/mpc55xxevb/bsp_specs
parent2008-12-04 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-df39396289a92e1abdb006f5c85cc2d9308bc598.tar.bz2
2008-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* bsp_specs: Move -e start from *link to *startfile to avoid warning for undefined entry symbol when linking relocatables with binutils 2.19.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mpc55xxevb/bsp_specs')
-rw-r--r--c/src/lib/libbsp/powerpc/mpc55xxevb/bsp_specs9
1 files changed, 5 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/bsp_specs b/c/src/lib/libbsp/powerpc/mpc55xxevb/bsp_specs
index 40e8bb0aad..c906d934b9 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/bsp_specs
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/bsp_specs
@@ -3,12 +3,13 @@
%rename link old_link
*startfile:
-%{!qrtems: %(old_startfile)} %{!nostdlib: %{qrtems: ecrti%O%s rtems_crti%O%s \
-%{!qrtems_debug: start.o%s} \
-%{qrtems_debug: start_g.o%s}}}
+%{!qrtems: %(old_startfile)} %{!nostdlib: \
+ %{qrtems: ecrti%O%s rtems_crti%O%s -e start \
+ %{!qrtems_debug: start.o%s} \
+ %{qrtems_debug: start_g.o%s}}}
*endfile:
%{!qrtems: %(old_endfile)} %{qrtems: ecrtn.o%s}
*link:
-%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -u start -e start}
+%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}