aboutsummaryrefslogtreecommitdiff
path: root/cross/metrowerks.lcf
diff options
context:
space:
mode:
Diffstat (limited to 'cross/metrowerks.lcf')
-rw-r--r--cross/metrowerks.lcf18
1 files changed, 18 insertions, 0 deletions
diff --git a/cross/metrowerks.lcf b/cross/metrowerks.lcf
new file mode 100644
index 0000000..96d13af
--- /dev/null
+++ b/cross/metrowerks.lcf
@@ -0,0 +1,18 @@
+# General-purpose linker script for Metrowerks toolchains.
+# This script will link a blank application. Its only purpose
+# is to allow the toolchains to run Meson tests. To link an
+# actual application, you need to write your own fine-tuned lcf.
+
+MEMORY {
+ TEST (RWX) : ORIGIN=0, LENGTH=0
+}
+
+SECTIONS {
+ .TEST:{
+ * (.text)
+ * (.data)
+ * (.rodata)
+ * (.bss)
+ __startup=.;
+ } > TEST
+} \ No newline at end of file