summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2017-12-18 14:10:20 -0600
committerJoel Sherrill <joel@rtems.org>2017-12-19 11:06:36 -0600
commit1e55f0cf5e575af912479cd26a6675e09018e86d (patch)
tree3b0b9cb29dbce78931709592d83e848451c3553a
parentccdef98f2e8790a3363df93ebf3557e69633ceae (diff)
moxiesim: Simplify bsp_specs
Updates #3520.
-rw-r--r--c/src/lib/libbsp/moxie/moxiesim/bsp_specs6
-rw-r--r--c/src/lib/libbsp/moxie/moxiesim/startup/linkcmds1
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 d3e0ec0085..afa9f6badb 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 e1e489c1fc..a4d9edac11 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;