summaryrefslogtreecommitdiff
path: root/bsp/coreip-e31-rtl/metal.default.lds
diff options
context:
space:
mode:
authorBunnaroath Sou <35707615+bsousi5@users.noreply.github.com>2019-05-20 14:39:42 -0700
committerGitHub <noreply@github.com>2019-05-20 14:39:42 -0700
commit615a076df87a021c07e6e3bfecca3ad4f27a76bb (patch)
tree8012100cd786c31074d8bef0a8c5e699c4f1e3e5 /bsp/coreip-e31-rtl/metal.default.lds
parent44c4b9b6383f788fd29de5852cc645f0c76687a4 (diff)
parent6af51ca7b09c8e5b7e1933700b1d855893ca42b1 (diff)
Merge pull request #240 from sifive/inline-fnvec
Updating BSP to pickup FDT inline support for generates metal files
Diffstat (limited to 'bsp/coreip-e31-rtl/metal.default.lds')
-rw-r--r--bsp/coreip-e31-rtl/metal.default.lds18
1 files changed, 12 insertions, 6 deletions
diff --git a/bsp/coreip-e31-rtl/metal.default.lds b/bsp/coreip-e31-rtl/metal.default.lds
index 4999528..d4a124f 100644
--- a/bsp/coreip-e31-rtl/metal.default.lds
+++ b/bsp/coreip-e31-rtl/metal.default.lds
@@ -1,3 +1,9 @@
+/* Copyright 2019 SiFive, Inc */
+/* SPDX-License-Identifier: Apache-2.0 */
+/* ----------------------------------- */
+/* [XXXXX] 20-05-2019 14-26-10 */
+/* ----------------------------------- */
+
OUTPUT_ARCH("riscv")
ENTRY(_enter)
@@ -58,6 +64,12 @@ SECTIONS
*(.rdata)
*(.rodata .rodata.*)
*(.gnu.linkonce.r.*)
+ . = ALIGN(8);
+ *(.srodata.cst16)
+ *(.srodata.cst8)
+ *(.srodata.cst4)
+ *(.srodata.cst2)
+ *(.srodata .srodata.*)
} >flash AT>flash :flash
@@ -170,12 +182,6 @@ SECTIONS
PROVIDE( __global_pointer$ = . + 0x800 );
*(.sdata .sdata.* .sdata2.*)
*(.gnu.linkonce.s.*)
- . = ALIGN(8);
- *(.srodata.cst16)
- *(.srodata.cst8)
- *(.srodata.cst4)
- *(.srodata.cst2)
- *(.srodata .srodata.*)
} >ram AT>flash :ram_init