[rtems commit] bsps/riscv: Support .riscv.attributes

Sebastian Huber sebh at rtems.org
Sat Feb 26 06:03:49 UTC 2022


Module:    rtems
Branch:    master
Commit:    3cf618b39859ec672da3fa4d250098e18b41914a
Changeset: http://git.rtems.org/rtems/commit/?id=3cf618b39859ec672da3fa4d250098e18b41914a

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Feb 25 15:02:05 2022 +0100

bsps/riscv: Support .riscv.attributes

---

 spec/build/bsps/riscv/linkcmdsbase.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spec/build/bsps/riscv/linkcmdsbase.yml b/spec/build/bsps/riscv/linkcmdsbase.yml
index e637049..6a4b497 100644
--- a/spec/build/bsps/riscv/linkcmdsbase.yml
+++ b/spec/build/bsps/riscv/linkcmdsbase.yml
@@ -387,7 +387,7 @@ content: |
     .debug_rnglists 0 : { *(.debug_rnglists) }
     .debug_str_offsets 0 : { *(.debug_str_offsets) }
     .debug_sup      0 : { *(.debug_sup) }
-    .gnu.attributes 0 : { KEEP (*(.gnu.attributes)) }
+    .riscv.attributes 0 : { KEEP (*(.riscv.attributes)) KEEP (*(.gnu.attributes)) }
     /DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) }
     .shstrtab     0 : { *(.shstrtab) }
     .strtab       0 : { *(.strtab) }



More information about the vc mailing list