From a2ae30c2d3c0226140fe195c9887ad94877a3057 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 21 Aug 2002 17:06:22 +0000 Subject: 2002-08-21 Joel Sherrill * bsp_specs: Added support for -nostdlibs. --- c/src/lib/libbsp/sh/simsh4/bsp_specs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'c/src/lib/libbsp/sh/simsh4/bsp_specs') diff --git a/c/src/lib/libbsp/sh/simsh4/bsp_specs b/c/src/lib/libbsp/sh/simsh4/bsp_specs index 9ed3e28f5f..bdb5ecf9b1 100644 --- a/c/src/lib/libbsp/sh/simsh4/bsp_specs +++ b/c/src/lib/libbsp/sh/simsh4/bsp_specs @@ -9,13 +9,13 @@ *lib: %{!qrtems: %(old_lib)} \ -%{qrtems: --start-group %{!qrtems_debug: -lrtemsbsp -lrtemscpu } %{qrtems_debug: -lrtemsbsp_g -lrtemscpu_g} \ +%{!nostdlib: %{qrtems: --start-group %{!qrtems_debug: -lrtemsbsp -lrtemscpu } %{qrtems_debug: -lrtemsbsp_g -lrtemscpu_g} \ -lc -lgcc --end-group \ - %{!qnolinkcmds: %{ml: -T linkcmds-le%s} %{!ml: -T linkcmds%s}}} + %{!qnolinkcmds: %{ml: -T linkcmds-le%s} %{!ml: -T linkcmds%s}}}} *startfile: %{!qrtems: %(old_startfile)} \ -%{qrtems: %{qrtems_debug: start_g.o%s} %{!qrtems_debug: start.o%s}} +%{!nostdlib: %{qrtems: %{qrtems_debug: start_g.o%s} %{!qrtems_debug: start.o%s}}} *link: %(old_link) %{qrtems: -dc -dp -N -e _start} -- cgit v1.2.3