[rtems commit] gdbv850sim: Simplify bsp_specs

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


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

Author:    Joel Sherrill <joel at rtems.org>
Date:      Mon Dec 18 13:38:27 2017 -0600

gdbv850sim: Simplify bsp_specs

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) */




More information about the vc mailing list