summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHesham Almatary <Hesham.Almatary@cl.cam.ac.uk>2019-10-23 12:52:54 +0100
committerHesham Almatary <Hesham.Almatary@cl.cam.ac.uk>2019-10-27 10:45:20 +0000
commitce5988e10a255da4537d8d1ad7d4515a700fed99 (patch)
tree6287ef724ad7dc8810b8587e2306c6aec5b6adbb
parentriscv: Add NOLOAD directive to the .work section (diff)
downloadrtems-ce5988e10a255da4537d8d1ad7d4515a700fed99.tar.bz2
riscv: Add new offending input sections to the linker script
-rw-r--r--bsps/riscv/shared/start/linkcmds.base.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/bsps/riscv/shared/start/linkcmds.base.in b/bsps/riscv/shared/start/linkcmds.base.in
index 7d6a23cde0..d921e29fe4 100644
--- a/bsps/riscv/shared/start/linkcmds.base.in
+++ b/bsps/riscv/shared/start/linkcmds.base.in
@@ -372,6 +372,11 @@ SECTIONS {
.debug_addr 0 : { *(.debug_addr) }
.gnu.attributes 0 : { KEEP (*(.gnu.attributes)) }
/DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) }
+ .shstrtab 0 : { *(.shstrtab) }
+ .strtab 0 : { *(.strtab) }
+ .symtab 0 : { *(.symtab) }
+ .symtab_shndx 0 : { *(.symtab_shndx) }
+ __cap_relocs 0 : { *(__cap_relocs) }
/*
* This is a RTEMS specific section to catch all unexpected input