[PATCH] Disable AIX DWARF debug frame section

David Edelsohn dje.gcc@gmail.com
Thu Oct 8 14:20:00 GMT 2015


The standard DWARF2 unwind information is not compatible with AIX
DWARF debug unwind section, so this patch disables that section
completely.

bootstrapped on powerpc-ibm-aix7.1.2.0

Thanks, David

* config/rs6000/rs6000.c (rs6000_xcoff_debug_unwind_info): Always
return UI_NONE.

Index: config/rs6000/rs6000.c
===================================================================
--- config/rs6000/rs6000.c      (revision 228599)
+++ config/rs6000/rs6000.c      (working copy)
@@ -30709,10 +30709,7 @@ rs6000_elf_file_end (void)
 static enum unwind_info_type
 rs6000_xcoff_debug_unwind_info (void)
 {
-  if (HAVE_XCOFF_DWARF_EXTRAS)
-    return UI_DWARF2;
-  else
-    return UI_NONE;
+  return UI_NONE;
 }

 static void



More information about the Gcc-patches mailing list