aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/xcoff.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cfa9c3d..e4b4331 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2016-08-26 David Edelsohn <dje.gcc@gmail.com>
+
+ PR target/77349
+ * config/rs6000/xcoff.h (DWARF_OFFSET_SIZE): Define as PTR_SIZE.
+
2016-08-26 David Malcolm <dmalcolm@redhat.com>
* diagnostic-show-locus.c
diff --git a/gcc/config/rs6000/xcoff.h b/gcc/config/rs6000/xcoff.h
index b7f6ca0..743cc77 100644
--- a/gcc/config/rs6000/xcoff.h
+++ b/gcc/config/rs6000/xcoff.h
@@ -313,6 +313,9 @@
#define EH_FRAME_THROUGH_COLLECT2 1
#define EH_TABLES_CAN_BE_READ_ONLY 1
+/* AIX Assembler implicitly assumes DWARF 64 bit extension in 64 bit mode. */
+#define DWARF_OFFSET_SIZE PTR_SIZE
+
#define ASM_OUTPUT_DWARF_PCREL(FILE,SIZE,LABEL) \
rs6000_asm_output_dwarf_pcrel ((FILE), (SIZE), (LABEL));