diff --git a/src/kernel/ldscripts/x86/app.ld b/src/kernel/ldscripts/x86/app.ld index e54a156259..c2d2eab76a 100644 --- a/src/kernel/ldscripts/x86/app.ld +++ b/src/kernel/ldscripts/x86/app.ld @@ -68,5 +68,5 @@ SECTIONS PROVIDE (_end = .); /* Strip unnecessary stuff */ - /DISCARD/ : { *(.comment .note .eh_frame) } + /DISCARD/ : { *(.comment .note) } } diff --git a/src/kernel/ldscripts/x86/library.ld b/src/kernel/ldscripts/x86/library.ld index 80d3734bd0..db0e0959a8 100644 --- a/src/kernel/ldscripts/x86/library.ld +++ b/src/kernel/ldscripts/x86/library.ld @@ -70,5 +70,5 @@ SECTIONS PROVIDE (_end = .); /* Strip unnecessary stuff */ - /DISCARD/ : { *(.comment .note .eh_frame) } + /DISCARD/ : { *(.comment .note) } }