Skip to content

Commit ccfccae

Browse files
Andrew Boieandrewboie
authored andcommitted
x86: intel64: don't drop debug sections
Pull in a header specifically for suppressing orphan section messages. Signed-off-by: Andrew Boie <[email protected]>
1 parent e340f8d commit ccfccae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/arch/x86/intel64/linker.ld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,10 @@ SECTIONS
109109
_image_ram_end = .;
110110
_end = .;
111111

112+
#include <linker/debug-sections.ld>
113+
112114
/DISCARD/ :
113115
{
114-
*(.comment*)
115-
*(.debug*)
116116
*(.got)
117117
*(.got.plt)
118118
*(.igot)

0 commit comments

Comments
 (0)