[PATCH 7/8] qemuppc: Simplify bsp_specs
Joel Sherrill
joel at rtems.org
Wed Dec 20 21:20:47 UTC 2017
Updates #3520.
---
c/src/lib/libbsp/powerpc/qemuppc/bsp_specs | 3 +--
c/src/lib/libbsp/powerpc/qemuppc/startup/linkcmds | 3 +++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/c/src/lib/libbsp/powerpc/qemuppc/bsp_specs b/c/src/lib/libbsp/powerpc/qemuppc/bsp_specs
index c876261..0360c8c 100644
--- a/c/src/lib/libbsp/powerpc/qemuppc/bsp_specs
+++ b/c/src/lib/libbsp/powerpc/qemuppc/bsp_specs
@@ -4,8 +4,7 @@
*startfile:
%{!qrtems: %(old_startfile)} \
-%{!nostdlib: %{qrtems: ecrti%O%s rtems_crti%O%s crtbegin.o%s \
- start.o%s -e _start -u __vectors}}
+%{!nostdlib: %{qrtems: ecrti%O%s rtems_crti%O%s crtbegin.o%s}}
*endfile:
%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s ecrtn.o%s}
diff --git a/c/src/lib/libbsp/powerpc/qemuppc/startup/linkcmds b/c/src/lib/libbsp/powerpc/qemuppc/startup/linkcmds
index 206fc77..f8fbfab 100644
--- a/c/src/lib/libbsp/powerpc/qemuppc/startup/linkcmds
+++ b/c/src/lib/libbsp/powerpc/qemuppc/startup/linkcmds
@@ -2,6 +2,9 @@ OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc",
"elf32-powerpc")
OUTPUT_ARCH(powerpc:common)
ENTRY(_start)
+STARTUP(start.o)
+EXTERN(__vectors)
+
MEMORY
{
RAM : ORIGIN = 0, LENGTH = 4M
--
1.8.3.1
More information about the devel
mailing list