[PATCH 6/8] haleakala: Simplify bsp_specs
Joel Sherrill
joel at rtems.org
Wed Dec 20 21:20:46 UTC 2017
Updates #3520.
---
c/src/lib/libbsp/powerpc/haleakala/bsp_specs | 7 ++-----
c/src/lib/libbsp/powerpc/haleakala/startup/linkcmds | 1 +
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/c/src/lib/libbsp/powerpc/haleakala/bsp_specs b/c/src/lib/libbsp/powerpc/haleakala/bsp_specs
index 23b58cd..5752caa 100644
--- a/c/src/lib/libbsp/powerpc/haleakala/bsp_specs
+++ b/c/src/lib/libbsp/powerpc/haleakala/bsp_specs
@@ -1,13 +1,10 @@
%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}}
+%{!qrtems: %(old_startfile)} \
+%{!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 -u __vectors -u download_entry}
-
diff --git a/c/src/lib/libbsp/powerpc/haleakala/startup/linkcmds b/c/src/lib/libbsp/powerpc/haleakala/startup/linkcmds
index 2be2432..8c06a51 100644
--- a/c/src/lib/libbsp/powerpc/haleakala/startup/linkcmds
+++ b/c/src/lib/libbsp/powerpc/haleakala/startup/linkcmds
@@ -12,6 +12,7 @@
OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc", "elf32-powerpc")
OUTPUT_ARCH(powerpc)
ENTRY(download_entry)
+EXTERN(__vectors)
kIntrStackSize = 16K;
kMainStackSize = 64K;
--
1.8.3.1
More information about the devel
mailing list