[PATCH 4/8] ss555: Simplify bsp_specs

Joel Sherrill joel at rtems.org
Wed Dec 20 21:20:44 UTC 2017


Updates #3520.
---
 c/src/lib/libbsp/powerpc/ss555/bsp_specs        | 6 +-----
 c/src/lib/libbsp/powerpc/ss555/startup/linkcmds | 1 +
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/ss555/bsp_specs b/c/src/lib/libbsp/powerpc/ss555/bsp_specs
index 535ffac..2625609 100644
--- a/c/src/lib/libbsp/powerpc/ss555/bsp_specs
+++ b/c/src/lib/libbsp/powerpc/ss555/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 -u __vectors -N -u start -e start}}
+%{!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}
diff --git a/c/src/lib/libbsp/powerpc/ss555/startup/linkcmds b/c/src/lib/libbsp/powerpc/ss555/startup/linkcmds
index 3f53aee..8282d6c 100644
--- a/c/src/lib/libbsp/powerpc/ss555/startup/linkcmds
+++ b/c/src/lib/libbsp/powerpc/ss555/startup/linkcmds
@@ -17,6 +17,7 @@
 OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc", "elf32-powerpc")
 OUTPUT_ARCH(powerpc) 
 ENTRY(start)
+EXTERN(_vectors)
 
 int_ram_org	= 0x003F9800;		/* base of internal RAM */
 int_ram_top	= 0x00400000;		/* top of internal RAM */
-- 
1.8.3.1




More information about the devel mailing list