Add separate debug info file section

Alan Modra amodra@gmail.com
Fri Oct 14 12:14:00 GMT 2016


So that it isn't treated as an orphan.  eg. with --unique.
I'll apply this to the branch too.

	* scripttempl/DWARF.sc: Add .debug_addr.

diff --git a/ld/scripttempl/DWARF.sc b/ld/scripttempl/DWARF.sc
index a8bcb97..cbb2999 100644
--- a/ld/scripttempl/DWARF.sc
+++ b/ld/scripttempl/DWARF.sc
@@ -42,4 +42,5 @@ cat <<EOF
 
   /* DWARF Extension.  */
   .debug_macro    0 : { *(.debug_macro) }
+  .debug_addr     0 : { *(.debug_addr) }
 EOF

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list