diff options
author | Joel Sherrill <joel@rtems.org> | 2017-12-18 14:10:20 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2017-12-19 11:06:36 -0600 |
commit | 1e55f0cf5e575af912479cd26a6675e09018e86d (patch) | |
tree | 3b0b9cb29dbce78931709592d83e848451c3553a | |
parent | milkymist: Simplify bsp_specs (diff) | |
download | rtems-1e55f0cf5e575af912479cd26a6675e09018e86d.tar.bz2 |
moxiesim: Simplify bsp_specs
Updates #3520.
-rw-r--r-- | c/src/lib/libbsp/moxie/moxiesim/bsp_specs | 6 | ||||
-rw-r--r-- | 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 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; |