summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/rtl22xx/startup/bsp_specs
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/arm/rtl22xx/startup/bsp_specs')
-rw-r--r--c/src/lib/libbsp/arm/rtl22xx/startup/bsp_specs9
1 files changed, 9 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/arm/rtl22xx/startup/bsp_specs b/c/src/lib/libbsp/arm/rtl22xx/startup/bsp_specs
new file mode 100644
index 0000000000..47dd31d46b
--- /dev/null
+++ b/c/src/lib/libbsp/arm/rtl22xx/startup/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_endfiles)} %{qrtems: crtend.o%s crtn.o%s}