[rtems commit] moxiesim: Simplify bsp_specs

Joel Sherrill joel at rtems.org
Tue Dec 19 17:07:03 UTC 2017


Module:    rtems
Branch:    master
Commit:    1e55f0cf5e575af912479cd26a6675e09018e86d
Changeset: http://git.rtems.org/rtems/commit/?id=1e55f0cf5e575af912479cd26a6675e09018e86d

Author:    Joel Sherrill <joel at rtems.org>
Date:      Mon Dec 18 14:10:20 2017 -0600

moxiesim: Simplify bsp_specs

Updates #3520.

---

 c/src/lib/libbsp/moxie/moxiesim/bsp_specs        | 6 +-----
 c/src/lib/libbsp/moxie/moxiesim/startup/linkcmds | 1 +
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/c/src/lib/libbsp/moxie/moxiesim/bsp_specs b/c/src/lib/libbsp/moxie/moxiesim/bsp_specs
index d3e0ec0..afa9f6b 100644
--- a/c/src/lib/libbsp/moxie/moxiesim/bsp_specs
+++ b/c/src/lib/libbsp/moxie/moxiesim/bsp_specs
@@ -1,13 +1,9 @@
 %rename endfile old_endfile
 %rename startfile old_startfile
-%rename link old_link
 
 *startfile:
 %{!qrtems: %(old_startfile)} \
-%{!nostdlib: %{qrtems: start.o%s -e _start crtbegin.o%s}}
-
-*link:
-%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
+%{!nostdlib: %{qrtems: crtbegin.o%s}}
 
 *endfile:
 %{!qrtems: %(old_endfile)} %{!nostdlib: %{qrtems: crtend.o%s}}
diff --git a/c/src/lib/libbsp/moxie/moxiesim/startup/linkcmds b/c/src/lib/libbsp/moxie/moxiesim/startup/linkcmds
index e1e489c..a4d9eda 100644
--- a/c/src/lib/libbsp/moxie/moxiesim/startup/linkcmds
+++ b/c/src/lib/libbsp/moxie/moxiesim/startup/linkcmds
@@ -18,6 +18,7 @@
 OUTPUT_FORMAT("elf32-bigmoxie")
 OUTPUT_ARCH(moxie)
 ENTRY(_start)
+STARTUP(start.o)
 
 RamBase = DEFINED(RamBase) ? RamBase : 0x00000000;
 RamSize = DEFINED(RamSize) ? RamSize : 16M;



More information about the vc mailing list