summaryrefslogtreecommitdiffstats
path: root/bsps/riscv/riscv/start/bsp_specs
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-06-22 07:06:57 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-06-27 08:58:17 +0200
commit6f5d88a4695d2f0886fe03e28001926d775938c7 (patch)
treed8aa5459be111c0367d58de04bef02d7e41725b8 /bsps/riscv/riscv/start/bsp_specs
parentbsp/riscv_generic: Use standard optimization flags (diff)
downloadrtems-6f5d88a4695d2f0886fe03e28001926d775938c7.tar.bz2
bsp/riscv_generic: Rename to "riscv"
Update #3433.
Diffstat (limited to 'bsps/riscv/riscv/start/bsp_specs')
-rw-r--r--bsps/riscv/riscv/start/bsp_specs9
1 files changed, 9 insertions, 0 deletions
diff --git a/bsps/riscv/riscv/start/bsp_specs b/bsps/riscv/riscv/start/bsp_specs
new file mode 100644
index 0000000000..87638cc027
--- /dev/null
+++ b/bsps/riscv/riscv/start/bsp_specs
@@ -0,0 +1,9 @@
+%rename endfile old_endfile
+%rename startfile old_startfile
+
+*startfile:
+%{!qrtems: %(old_startfile)} \
+%{!nostdlib: %{qrtems: crti.o%s crtbegin.o%s}}
+
+*endfile:
+%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s crtn.o%s}