summaryrefslogtreecommitdiff
path: root/zephyr/linker/fixed-sections.ld
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/linker/fixed-sections.ld')
-rw-r--r--zephyr/linker/fixed-sections.ld8
1 files changed, 8 insertions, 0 deletions
diff --git a/zephyr/linker/fixed-sections.ld b/zephyr/linker/fixed-sections.ld
new file mode 100644
index 0000000000..5046823713
--- /dev/null
+++ b/zephyr/linker/fixed-sections.ld
@@ -0,0 +1,8 @@
+/* Copyright 2021 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#if defined(CONFIG_PLATFORM_EC) && !defined(CONFIG_ARCH_POSIX)
+*(.fixed.*)
+#endif