From: David Edelsohn Date: Fri, 26 Aug 2016 23:51:27 +0000 (+0000) Subject: re PR target/77349 (AIX DWARF debugging offset in 64 bit mode) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f763d9647a52586d0601a9e024a71cd0d9d3badf;p=gcc.git 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 --- 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));