summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sh/shsim/bsp_specs
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2017-12-18 17:05:32 -0600
committerJoel Sherrill <joel@rtems.org>2017-12-19 11:06:39 -0600
commit98aa7cad71da7451f1e61c330ddd5be79daf041e (patch)
tree115766dc4e738e2e10649ea005779d04fad7d7eb /c/src/lib/libbsp/sh/shsim/bsp_specs
parentrbtx4938: Simplify bsp_specs (diff)
downloadrtems-98aa7cad71da7451f1e61c330ddd5be79daf041e.tar.bz2
shsim: Simplify bsp_specs
This bsp_specs included non-standard logic to pass endian arguments to the linker. These should not be necessary. If they are, it is a bug in the sh gcc target. The code was "%{ml:-EL}%{mb:-EB}" Also the file linkcmds.sim was not referenced and was deleted. Updates #3250.
Diffstat (limited to 'c/src/lib/libbsp/sh/shsim/bsp_specs')
-rw-r--r--c/src/lib/libbsp/sh/shsim/bsp_specs6
1 files changed, 1 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/sh/shsim/bsp_specs b/c/src/lib/libbsp/sh/shsim/bsp_specs
index 70c5ecbe98..87638cc027 100644
--- a/c/src/lib/libbsp/sh/shsim/bsp_specs
+++ b/c/src/lib/libbsp/sh/shsim/bsp_specs
@@ -1,13 +1,9 @@
%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} %{ml:-EL}%{mb:-EB}
+%{!nostdlib: %{qrtems: crti.o%s crtbegin.o%s}}
*endfile:
%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s crtn.o%s}