re PR target/77349 (AIX DWARF debugging offset in 64 bit mode)
authorDavid Edelsohn <dje.gcc@gmail.com>
Fri, 26 Aug 2016 23:51:27 +0000 (23:51 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Fri, 26 Aug 2016 23:51:27 +0000 (19:51 -0400)
PR target/77349
* config/rs6000/xcoff.h (DWARF_OFFSET_SIZE): Define as PTR_SIZE.

From-SVN: r239790

gcc/ChangeLog
gcc/config/rs6000/xcoff.h

index cfa9c3de7cbea261ea792788eb089bc68355ae50..e4b4331b61bbb38b9263c4fdf2582bd6259aca97 100644 (file)
@@ -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
index b7f6ca0685bd1e4dd48a56ecc5090ee8ad1e7e5e..743cc772910e325daf22bc0d351451a580a2b50c 100644 (file)
 #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));