From f33d3b4db5f46fa37787e7c5bc5d2358573954f6 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 20 Dec 2017 11:36:13 -0600 Subject: gen5200, gen83xx, gen83x, mpc55xxevb, psim, qoriq, t32mppc, tqm8xx, virtex: Simplify bsp_specs These BSPs all use shared/startup/linkcmds.base and thus needed to be modified at the same time. Variations in the arguments were reflected into the BSP specific portions of the linkcmds. Updates #3520. --- c/src/lib/libbsp/powerpc/psim/bsp_specs | 7 +------ c/src/lib/libbsp/powerpc/psim/startup/linkcmds | 2 ++ 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'c/src/lib/libbsp/powerpc/psim') diff --git a/c/src/lib/libbsp/powerpc/psim/bsp_specs b/c/src/lib/libbsp/powerpc/psim/bsp_specs index c8762610a3..2625609327 100644 --- a/c/src/lib/libbsp/powerpc/psim/bsp_specs +++ b/c/src/lib/libbsp/powerpc/psim/bsp_specs @@ -1,14 +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: -dp -Bstatic} diff --git a/c/src/lib/libbsp/powerpc/psim/startup/linkcmds b/c/src/lib/libbsp/powerpc/psim/startup/linkcmds index 9c0f92ab4a..ba9319c91d 100644 --- a/c/src/lib/libbsp/powerpc/psim/startup/linkcmds +++ b/c/src/lib/libbsp/powerpc/psim/startup/linkcmds @@ -7,6 +7,8 @@ * http://www.rtems.org/license/LICENSE. */ +EXTERN (__vectors) + MEMORY { RAM : ORIGIN = 0, LENGTH = 16M EMPTY : ORIGIN = 0x0, LENGTH = 0 -- cgit v1.2.3