aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2016-08-26 23:51:27 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2016-08-26 19:51:27 -0400
commitf763d9647a52586d0601a9e024a71cd0d9d3badf (patch)
treeb345ea627b7fbda1208e25d4e719f4b09312d1be /gcc
parentee908516796887afcaa1d9fabac80eae5a16c047 (diff)
downloadgcc-f763d9647a52586d0601a9e024a71cd0d9d3badf.zip
gcc-f763d9647a52586d0601a9e024a71cd0d9d3badf.tar.gz
gcc-f763d9647a52586d0601a9e024a71cd0d9d3badf.tar.bz2
re PR target/77349 (AIX DWARF debugging offset in 64 bit mode)
PR target/77349 * config/rs6000/xcoff.h (DWARF_OFFSET_SIZE): Define as PTR_SIZE. From-SVN: r239790
Diffstat (limited to 'gcc')
-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));