]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - arch/xtensa/kernel/vmlinux.lds.S
xtensa: use DWARF_DEBUG in the vmlinux.lds.S
[linux.git] / arch / xtensa / kernel / vmlinux.lds.S
index a1c3edb8ad56c0d93e3c9a7d994dc0ffd9ad7351..ba66b5bfefe89b957fefd709944fb5757dc01ef9 100644 (file)
@@ -131,6 +131,7 @@ SECTIONS
   .fixup   : { *(.fixup) }
 
   EXCEPTION_TABLE(16)
+  NOTES
   /* Data section */
 
   _sdata = .;
@@ -300,23 +301,7 @@ SECTIONS
   .xt.lit : { *(.xt.lit) }
   .xt.prop : { *(.xt.prop) }
 
-  .debug  0 :  { *(.debug) }
-  .line  0 :  { *(.line) }
-  .debug_srcinfo  0 :  { *(.debug_srcinfo) }
-  .debug_sfnames  0 :  { *(.debug_sfnames) }
-  .debug_aranges  0 :  { *(.debug_aranges) }
-  .debug_pubnames  0 :  { *(.debug_pubnames) }
-  .debug_info  0 :  { *(.debug_info) }
-  .debug_abbrev  0 :  { *(.debug_abbrev) }
-  .debug_line  0 :  { *(.debug_line) }
-  .debug_frame  0 :  { *(.debug_frame) }
-  .debug_str  0 :  { *(.debug_str) }
-  .debug_loc  0 :  { *(.debug_loc) }
-  .debug_macinfo  0 :  { *(.debug_macinfo) }
-  .debug_weaknames  0 :  { *(.debug_weaknames) }
-  .debug_funcnames  0 :  { *(.debug_funcnames) }
-  .debug_typenames  0 :  { *(.debug_typenames) }
-  .debug_varnames  0 :  { *(.debug_varnames) }
+  DWARF_DEBUG
 
   .xt.insn 0 :
   {