summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/h8300/h8sim/bsp_specs
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-07-06 20:07:34 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-07-06 20:07:34 +0000
commit501d312a91f66a56f4958f399d9fe30465a86437 (patch)
tree275d5093b512a8a751efff5f79f0184da243fbd7 /c/src/lib/libbsp/h8300/h8sim/bsp_specs
parentAdded missing #endif's. (diff)
downloadrtems-501d312a91f66a56f4958f399d9fe30465a86437.tar.bz2
Added baseline for h8 simulator BSP to support the simulator in gdb 5.0
Diffstat (limited to 'c/src/lib/libbsp/h8300/h8sim/bsp_specs')
-rw-r--r--c/src/lib/libbsp/h8300/h8sim/bsp_specs23
1 files changed, 23 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/h8300/h8sim/bsp_specs b/c/src/lib/libbsp/h8300/h8sim/bsp_specs
new file mode 100644
index 0000000000..eecf37c5a0
--- /dev/null
+++ b/c/src/lib/libbsp/h8300/h8sim/bsp_specs
@@ -0,0 +1,23 @@
+%rename cpp old_cpp
+%rename lib old_lib
+%rename endfile old_endfile
+%rename startfile old_startfile
+%rename link old_link
+
+*cpp:
+%(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
+
+*lib:
+%{!qrtems: %(old_lib)} %{qrtems: --start-group \
+%{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \
+-lc -lgcc --end-group \
+%{!qnolinkcmds: -T linkcmds%s}}
+
+*startfile:
+%{!qrtems: %(old_startfile)} %{qrtems: \
+%{!qrtems_debug: start.o%s} \
+%{qrtems_debug: start_g.o%s}}
+
+*link:
+%(old_link) %{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -e _start}
+