public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Disable AIX DWARF debug frame section
@ 2015-10-08 14:20 David Edelsohn
  0 siblings, 0 replies; only message in thread
From: David Edelsohn @ 2015-10-08 14:20 UTC (permalink / raw)
  To: GCC Patches

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-10-08 14:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-08 14:20 [PATCH] Disable AIX DWARF debug frame section David Edelsohn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).