summaryrefslogtreecommitdiff
path: root/src/arch/riscv/id.lds
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/riscv/id.lds')
-rw-r--r--src/arch/riscv/id.lds6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/riscv/id.lds b/src/arch/riscv/id.lds
new file mode 100644
index 0000000000..cfd091dc17
--- /dev/null
+++ b/src/arch/riscv/id.lds
@@ -0,0 +1,6 @@
+SECTIONS {
+ . = (0xffffffff - CONFIG_ID_SECTION_OFFSET) - (__id_end - __id_start) + 1;
+ .id (.): {
+ *(.id)
+ }
+}