summaryrefslogtreecommitdiffstats
path: root/libgloss/arm/armv7m.specs
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/arm/armv7m.specs')
-rw-r--r--libgloss/arm/armv7m.specs9
1 files changed, 9 insertions, 0 deletions
diff --git a/libgloss/arm/armv7m.specs b/libgloss/arm/armv7m.specs
new file mode 100644
index 000000000..2d1e08697
--- /dev/null
+++ b/libgloss/arm/armv7m.specs
@@ -0,0 +1,9 @@
+%rename lib old_lib
+
+*startfile:
+crti%O%s crtbegin%O%s armv7m-crt0%O%s
+
+# Put the -T here so it comes after -L search patch.
+*lib:
+%(old_lib) %{!T*:-T armv7m-rom.ld%s}
+