From 881ea1eb19b7b85f972ad25fa8bd6a3c8057c187 Mon Sep 17 00:00:00 2001 From: dje Date: Fri, 26 Aug 2016 23:51:27 +0000 Subject: [PATCH] PR target/77349 * config/rs6000/xcoff.h (DWARF_OFFSET_SIZE): Define as PTR_SIZE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239790 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/xcoff.h | 3 +++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cfa9c3de7cb..e4b4331b61b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-08-26 David Edelsohn + + PR target/77349 + * config/rs6000/xcoff.h (DWARF_OFFSET_SIZE): Define as PTR_SIZE. + 2016-08-26 David Malcolm * diagnostic-show-locus.c diff --git a/gcc/config/rs6000/xcoff.h b/gcc/config/rs6000/xcoff.h index b7f6ca0685b..743cc772910 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)); -- 2.11.4.GIT