From 025ec0def26a78bbd22597557a80bba4d8a30dfd Mon Sep 17 00:00:00 2001
From: Dan Robertson <dan.robertson@anidata.org>
Date: Sat, 2 Dec 2017 19:38:16 +0000
Subject: [PATCH] Do not discard .debug section

Do not discard the .debug section. If the builder would like to discard
this section, they can do so explicitly with objcopy.
---
 linkers/x86_64.ld | 1 -
 1 file changed, 1 deletion(-)

diff --git a/linkers/x86_64.ld b/linkers/x86_64.ld
index 55640ec3..1096029b 100644
--- a/linkers/x86_64.ld
+++ b/linkers/x86_64.ld
@@ -51,7 +51,6 @@ SECTIONS {
 
     /DISCARD/ : {
         *(.comment*)
-        *(.debug*)
         *(.eh_frame*)
         *(.gcc_except_table*)
         *(.note*)
-- 
GitLab