ss555: Simplify bsp_specs

Updates #3520.
This commit is contained in:
Joel Sherrill
2017-12-20 14:03:10 -06:00
parent b80d73559c
commit d8770e942e
2 changed files with 2 additions and 5 deletions

View File

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

View File

@@ -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 */