From: John Tsiombikas Date: Mon, 19 Aug 2024 01:03:28 +0000 (+0300) Subject: discard comment sections X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=dcd92b889dec215a3a7c6330ee1100c1d4712ab7;p=eightysix discard comment sections --- diff --git a/kern/kern.ld b/kern/kern.ld index fddd365..1cd3c2d 100644 --- a/kern/kern.ld +++ b/kern/kern.ld @@ -31,4 +31,8 @@ SECTIONS { . = ALIGN(4); _kern_end = .; _kern_size = _kern_end - _kern_start; + + /DISCARD/ : { + * (.comment); + } };