From e9932367e7b67dc5f8d3a4888c3d7c62104b914a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 28 Aug 1997 21:54:59 +0000 Subject: Switched to new style which does not require hackspecs.awk. --- c/src/lib/libbsp/hppa1.1/simhppa/bsp_specs | 42 +++++++++--------------------- 1 file changed, 13 insertions(+), 29 deletions(-) (limited to 'c/src/lib/libbsp/hppa1.1/simhppa/bsp_specs') diff --git a/c/src/lib/libbsp/hppa1.1/simhppa/bsp_specs b/c/src/lib/libbsp/hppa1.1/simhppa/bsp_specs index 827767f3d6..d92d3fe95e 100644 --- a/c/src/lib/libbsp/hppa1.1/simhppa/bsp_specs +++ b/c/src/lib/libbsp/hppa1.1/simhppa/bsp_specs @@ -1,34 +1,18 @@ +%rename cpp old_cpp +%rename lib old_lib +%rename endfile old_endfile +%rename startfile old_startfile +%rename link old_link -predefines: --D__embedded__ -Asystem(embedded) +*cpp: +%(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded) -startfile: replace -mrtems: -pg: start.o%s -{!pg: -g: start.o%s -{!g: -p: start.o%s -!p: start.o%s -}} -{!mrtems: -pg: pgcrt0%O -{!pg: -g: gcrt0%O -{!g: -p: pcrt0%O -!p: crt0%O -}}} - - -link: replace -mrtems: -dc -dp -N -e start - -lib: replace -mrtems: -( -lc -lrtemsall -lgcc -) - - -libgcc: replace +*lib: +%{!qrtems: %(old_lib)} %{qrtems: --start-group -lc -lrtemsall -lgcc --end-group} +*startfile: +%{!qrtems: %(old_startfile)} %{qrtems: start.o%s} +*link: +%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -e start} -- cgit v1.2.3