[PATCH 05/29] gdbv850sim: Simplify bsp_specs

Joel Sherrill joel at rtems.org
Tue Dec 19 00:01:01 UTC 2017


Updates #3520.
---
 c/src/lib/libbsp/v850/gdbv850sim/bsp_specs        | 10 +---------
 c/src/lib/libbsp/v850/gdbv850sim/startup/linkcmds |  1 +
 2 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/c/src/lib/libbsp/v850/gdbv850sim/bsp_specs b/c/src/lib/libbsp/v850/gdbv850sim/bsp_specs
index 0f4bd0a..13be8e3 100644
--- a/c/src/lib/libbsp/v850/gdbv850sim/bsp_specs
+++ b/c/src/lib/libbsp/v850/gdbv850sim/bsp_specs
@@ -1,13 +1,5 @@
-%rename endfile old_endfile
 %rename startfile old_startfile
-%rename link old_link
 
 *startfile:
 %{!qrtems: %(old_startfile)} \
-%{!nostdlib: %{qrtems: start.o%s -e _start}}
-
-*link:
-%{!qrtems: %(old_link)} %{qrtems: %(old_link)}
-
-*endfile:
-%{!qrtems: %(old_endfile)} %{qrtems: %(old_link)}
+%{!nostdlib: %{qrtems: }}
diff --git a/c/src/lib/libbsp/v850/gdbv850sim/startup/linkcmds b/c/src/lib/libbsp/v850/gdbv850sim/startup/linkcmds
index fe0390d..42dccab 100644
--- a/c/src/lib/libbsp/v850/gdbv850sim/startup/linkcmds
+++ b/c/src/lib/libbsp/v850/gdbv850sim/startup/linkcmds
@@ -9,6 +9,7 @@ _StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
 /* Default linker script, for normal executables */
 OUTPUT_FORMAT("elf32-v850-rh850", "elf32-v850-rh850",
 	      "elf32-v850-rh850")
+STARTUP(start.o)
 OUTPUT_ARCH(v850-rh850)
 ENTRY(_start)
 /* GROUP(-lc -lsim -lgcc) */
-- 
1.8.3.1



More information about the devel mailing list