mpc8260ads: Simplify bsp_specs

Updates #3520.
This commit is contained in:
Joel Sherrill
2017-12-20 14:03:29 -06:00
parent d8770e942e
commit a1d4d6a2f1
2 changed files with 3 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 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: -dc -dp -N}

View File

@@ -8,6 +8,8 @@ OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc",
OUTPUT_ARCH(powerpc)
ENTRY(start)
STARTUP(start.o)
EXTERN(__vectors)
/*
* Declare some sizes.