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; -- 1.8.3.1 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel