summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m32r
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/m32r
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/m32r')
-rw-r--r--c/src/lib/libbsp/m32r/m32rsim/ChangeLog6
-rw-r--r--c/src/lib/libbsp/m32r/m32rsim/bsp_specs4
2 files changed, 8 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/m32r/m32rsim/ChangeLog b/c/src/lib/libbsp/m32r/m32rsim/ChangeLog
index 95884c4c39..2ef72286d4 100644
--- a/c/src/lib/libbsp/m32r/m32rsim/ChangeLog
+++ b/c/src/lib/libbsp/m32r/m32rsim/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* .cvsignore, ChangeLog, Makefile.am, bsp_specs, configure.ac,
diff --git a/c/src/lib/libbsp/m32r/m32rsim/bsp_specs b/c/src/lib/libbsp/m32r/m32rsim/bsp_specs
index 27832e8b62..e5d5c76bfa 100644
--- a/c/src/lib/libbsp/m32r/m32rsim/bsp_specs
+++ b/c/src/lib/libbsp/m32r/m32rsim/bsp_specs
@@ -4,12 +4,12 @@
*startfile:
%{!qrtems: %(old_startfile)} \
-%{!nostdlib: %{qrtems: start.o%s crtinit.o%s}}
+%{!nostdlib: %{qrtems: start.o%s crtinit.o%s -e _start}}
*endfile:
%{!qrtems: %(old_endfile)} \
%{!nostdlib: %{qrtems: crtfini.o%s}}
*link:
-%(old_link) %{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -e _start}
+%(old_link) %{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}