linker: x86: add orphan linker sections
Add missing linker section to avoid warning about orphans when building with host compiler. Fixes #12719 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
f7b0398e7e
commit
1ee7b0dc5a
2 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
SECTION_PROLOGUE(.stab.exclstr, 0,) { *(.stab.exclstr) }
|
||||
SECTION_PROLOGUE(.stab.index, 0,) { *(.stab.index) }
|
||||
SECTION_PROLOGUE(.stab.indexstr, 0,) { *(.stab.indexstr) }
|
||||
SECTION_PROLOGUE(.gnu.build.attributes, 0,) { *(.gnu.build.attributes .gnu.build.attributes.*) }
|
||||
SECTION_PROLOGUE(.comment, 0,) { *(.comment) }
|
||||
/* DWARF debug sections.
|
||||
Symbols in the DWARF debugging sections are relative to the beginning
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue