[PATCH 5/8] mpc8260ads: Simplify bsp_specs
Joel Sherrill
joel at rtems.org
Wed Dec 20 21:20:45 UTC 2017
Updates #3520.
---
c/src/lib/libbsp/powerpc/mpc8260ads/bsp_specs | 6 +-----
c/src/lib/libbsp/powerpc/mpc8260ads/startup/linkcmds | 2 ++
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/bsp_specs b/c/src/lib/libbsp/powerpc/mpc8260ads/bsp_specs
index 9f89281..2625609 100644
--- a/c/src/lib/libbsp/powerpc/mpc8260ads/bsp_specs
+++ b/c/src/lib/libbsp/powerpc/mpc8260ads/bsp_specs
@@ -1,13 +1,9 @@
%rename endfile old_endfile
%rename startfile old_startfile
-%rename link old_link
*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}
-
-*link:
-%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/startup/linkcmds b/c/src/lib/libbsp/powerpc/mpc8260ads/startup/linkcmds
index e3dc118..f3092b8 100644
--- a/c/src/lib/libbsp/powerpc/mpc8260ads/startup/linkcmds
+++ b/c/src/lib/libbsp/powerpc/mpc8260ads/startup/linkcmds
@@ -8,6 +8,8 @@ OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc",
OUTPUT_ARCH(powerpc)
ENTRY(start)
+STARTUP(start.o)
+EXTERN(__vectors)
/*
* Declare some sizes.
--
1.8.3.1
More information about the devel
mailing list