Index: kernel/arch/amd64/_link.ld.in
===================================================================
--- kernel/arch/amd64/_link.ld.in	(revision f3dbe27416a9bbd7ceabc21bb7aaa1ab5f291948)
+++ kernel/arch/amd64/_link.ld.in	(revision 2fbb42fc7cb049341ed2bb0ef644df1429f5fa15)
@@ -30,29 +30,44 @@
 		kdata_start = .;
 		*(.data);              /* initialized data */
-		*(.rodata .rodata.*);  /* string literals */
+		*(.rodata .rodata.*);
+		*(.eh_frame .eh_frame.*);       /* stack unwinding data */
+		*(.eh_frame_hdr .eh_frame_hdr.*);
 		*(COMMON);      /* global variables */
 
 		/* bss can't be omitted from the ELF image. */
 		*(.bss);        /* uninitialized static variables */
-
-		. = ALIGN(8);
-		symbol_table = .;
-		*(symtab.*);    /* Symbol table, must be LAST symbol!*/
-
 		kdata_end = .;
 	}
 
-#ifdef CONFIG_LINE_DEBUG
 	.comment 0 : { *(.comment); }
 	.debug_abbrev 0 : { *(.debug_abbrev); }
+	.debug_abbrev.dwo 0 : { *(	.debug_abbrev.dwo); }
+	.debug_addr 0 : { *(.debug_addr); }
 	.debug_aranges 0 : { *(.debug_aranges); }
+	.debug_cu_index 0 : { *(.debug_cu_index); }
+	.debug_frame 0 : { *(.debug_frame); }
+	.debug_frame_hdr 0 : { *(.debug_frame_hdr); }
 	.debug_info 0 : { *(.debug_info); }
+	.debug_info.dwo 0 : { *(.debug_info.dwo); }
 	.debug_line 0 : { *(.debug_line); }
+	.debug_line.dwo 0 : { *(.debug_line.dwo); }
+	.debug_line_str 0 : { *(.debug_line_str); }
 	.debug_loc 0 : { *(.debug_loc); }
+	.debug_loclists 0 : { *(.debug_loclists); }
+	.debug_loclists.dwo 0 : { *(.debug_loclists.dwo); }
+	.debug_macinfo 0 : { *(.debug_macinfo); }
+	.debug_macro 0 : { *(.debug_macro); }
+	.debug_macro.dwo 0 : { *(.debug_macro.dwo); }
+	.debug_names 0 : { *(.debug_names); }
 	.debug_pubnames 0 : { *(.debug_pubnames); }
 	.debug_pubtypes 0 : { *(.debug_pubtypes); }
 	.debug_ranges 0 : { *(.debug_ranges); }
+	.debug_rnglists 0 : { *(.debug_rnglists); }
 	.debug_str 0 : { *(.debug_str); }
-#endif
+	.debug_str.dwo 0 : { *(.debug_str.dwo); }
+	.debug_str_offsets 0 : { *(.debug_str_offsets); }
+	.debug_str_offsets.dwo 0 : { *(.debug_str_offsets.dwo); }
+	.debug_tu_index 0 : { *(.debug_tu_index); }
+	.debug_types 0 : { *(.debug_types); }
 
 	/DISCARD/ : {
