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,16 +1,10 @@
%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 }
*endfile:
%{!qrtems: %(old_endfile)} \
%{qrtems: crtend.o%s ecrtn.o%s}

View File

@@ -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;