summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2017-12-19 11:04:24 -0600
committerJoel Sherrill <joel@rtems.org>2017-12-20 09:43:24 -0600
commitfca5a990eb4e2a2dcdf5fab4e98e509e1102ad7a (patch)
treeaaa10e4b5555b2626a1a154ab95d383a91d981f0
parentb7e4837c3741f78861c410e95544305a316e7ea0 (diff)
downloadrtems-fca5a990eb4e2a2dcdf5fab4e98e509e1102ad7a.tar.bz2
uC5282: Simplify bsp_specs
Updates #3520.
-rw-r--r--c/src/lib/libbsp/m68k/uC5282/bsp_specs7
-rw-r--r--c/src/lib/libbsp/m68k/uC5282/startup/linkcmds2
2 files changed, 4 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/m68k/uC5282/bsp_specs b/c/src/lib/libbsp/m68k/uC5282/bsp_specs
index 5154de8c55..3a20757667 100644
--- a/c/src/lib/libbsp/m68k/uC5282/bsp_specs
+++ b/c/src/lib/libbsp/m68k/uC5282/bsp_specs
@@ -1,13 +1,10 @@
%rename endfile old_endfile
%rename startfile old_startfile
-%rename link old_link
*startfile:
%{!qrtems: %(old_startfile)} \
-%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s -e start}}
-
-*link:
-%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
+%{!nostdlib: %{qrtems: crti.o%s crtbegin.o%s}}
*endfile:
%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s crtn.o%s}
+
diff --git a/c/src/lib/libbsp/m68k/uC5282/startup/linkcmds b/c/src/lib/libbsp/m68k/uC5282/startup/linkcmds
index 56905fc0ec..a3b84294e3 100644
--- a/c/src/lib/libbsp/m68k/uC5282/startup/linkcmds
+++ b/c/src/lib/libbsp/m68k/uC5282/startup/linkcmds
@@ -48,6 +48,8 @@ __SRAMBASE = DEFINED(__SRAMBASE) ? __SRAMBASE : 0x20000000 ;
_VBR = 0x0;
ENTRY(start)
+STARTUP(start.o)
+
MEMORY
{
ram : ORIGIN = 0, LENGTH = 16M