diff mbox

Disable AIX DWARF debug frame section

Message ID CAGWvnynXiNhFT=YTx0v-oRa6E8x8wrk9-+9oVg8KL9V44O2_OQ@mail.gmail.com
State New
Headers show

Commit Message

David Edelsohn Oct. 8, 2015, 2:20 p.m. UTC
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.
diff mbox

Patch

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