virtex4: Simplify bsp_specs

Updates #3520.
This commit is contained in:
Joel Sherrill
2017-12-20 11:47:44 -06:00
parent 3bc9399e46
commit b80d73559c
2 changed files with 3 additions and 7 deletions

View File

@@ -1,15 +1,9 @@
%rename startfile old_startfile %rename startfile old_startfile
%rename link old_link
%rename endfile old_endfile %rename endfile old_endfile
*startfile: *startfile:
%{!qrtems: %(old_startfile)} \ %{!qrtems: %(old_startfile)} \
%{!nostdlib: %{qrtems: ecrti%O%s rtems_crti%O%s crtbegin.o%s }} %{!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 }
*endfile: *endfile:
%{!qrtems: %(old_endfile)} \ %{!qrtems: %(old_endfile)} \

View File

@@ -9,6 +9,8 @@ OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc", "elf32-powerpc")
OUTPUT_ARCH(powerpc) OUTPUT_ARCH(powerpc)
ENTRY(download_entry) ENTRY(download_entry)
EXTERN(download_entry)
EXTERN(__vectors)
MsgAreaSize = DEFINED(MsgAreaSize) ? MsgAreaSize : 1M; MsgAreaSize = DEFINED(MsgAreaSize) ? MsgAreaSize : 1M;
RamBase = DEFINED(RamBase) ? RamBase : 0x0; RamBase = DEFINED(RamBase) ? RamBase : 0x0;