summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2017-12-20 11:45:33 -0600
committerJoel Sherrill <joel@rtems.org>2017-12-20 11:48:01 -0600
commit3bc9399e467b2474720bd2f610909f292757cf09 (patch)
tree558ff8c2079f8286c9563fba2b4047dbc6d7bd6e
parentf33d3b4db5f46fa37787e7c5bc5d2358573954f6 (diff)
downloadrtems-3bc9399e467b2474720bd2f610909f292757cf09.tar.bz2
virtex5: Simplify bsp_specs
Updates #3520.
-rw-r--r--c/src/lib/libbsp/powerpc/virtex5/bsp_specs8
-rw-r--r--c/src/lib/libbsp/powerpc/virtex5/startup/linkcmds2
2 files changed, 3 insertions, 7 deletions
diff --git a/c/src/lib/libbsp/powerpc/virtex5/bsp_specs b/c/src/lib/libbsp/powerpc/virtex5/bsp_specs
index 98864c9398..ccbea2690c 100644
--- a/c/src/lib/libbsp/powerpc/virtex5/bsp_specs
+++ b/c/src/lib/libbsp/powerpc/virtex5/bsp_specs
@@ -1,15 +1,9 @@
%rename startfile old_startfile
-%rename link old_link
%rename endfile old_endfile
-
*startfile:
%{!qrtems: %(old_startfile)} \
-%{!nostdlib: %{qrtems: ecrti%O%s rtems_crti%O%s crtbegin.o%s }}
-
-*link:
-%{!qrtems: %(old_link)} \
-%{qrtems: -dc -dp -Bstatic -u __vectors -u download_entry -N }
+%{!nostdlib: %{qrtems: ecrti%O%s rtems_crti%O%s crtbegin.o%s}}
*endfile:
%{!qrtems: %(old_endfile)} \
diff --git a/c/src/lib/libbsp/powerpc/virtex5/startup/linkcmds b/c/src/lib/libbsp/powerpc/virtex5/startup/linkcmds
index 8f8a27e48a..9bd7c2e67f 100644
--- a/c/src/lib/libbsp/powerpc/virtex5/startup/linkcmds
+++ b/c/src/lib/libbsp/powerpc/virtex5/startup/linkcmds
@@ -9,6 +9,8 @@ OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc", "elf32-powerpc")
OUTPUT_ARCH(powerpc)
ENTRY(download_entry)
+EXTERN(download_entry)
+EXTERN(__vectors)
MsgAreaSize = DEFINED(MsgAreaSize) ? MsgAreaSize : 1M;
RamBase = DEFINED(RamBase) ? RamBase : 0x0;