ia64.h (ASM_OUTPUT_DWARF_OFFSET): Use parameter OFFSET, not offset.
authorAndreas Schwab <schwab@suse.de>
Fri, 16 Sep 2016 08:38:14 +0000 (08:38 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Fri, 16 Sep 2016 08:38:14 +0000 (08:38 +0000)
* config/ia64/ia64.h (ASM_OUTPUT_DWARF_OFFSET): Use parameter
OFFSET, not offset.
* config/i386/cygming.h (ASM_OUTPUT_DWARF_OFFSET): Likewise.

From-SVN: r240176

gcc/ChangeLog
gcc/config/i386/cygming.h
gcc/config/ia64/ia64.h

index 2d40745e6fef51c48bdc2578b08a96a4076650b8..11f09af1f32524a6bfa9018e6200fdd33315788b 100644 (file)
@@ -1,3 +1,9 @@
+2016-09-16  Andreas Schwab  <schwab@suse.de>
+
+       * config/ia64/ia64.h (ASM_OUTPUT_DWARF_OFFSET): Use parameter
+       OFFSET, not offset.
+       * config/i386/cygming.h (ASM_OUTPUT_DWARF_OFFSET): Likewise.
+
 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
 
        PR target/77526
index 228d6a2e1c21bf7fe03a4478125fa674396675c1..faf8fa440035602256475f8b51dd6d49e950049e 100644 (file)
@@ -109,8 +109,8 @@ along with GCC; see the file COPYING3.  If not see
       case 4:                                                  \
        fputs ("\t.secrel32\t", FILE);                          \
        assemble_name (FILE, LABEL);                            \
-       if (offset != 0)                                        \
-         fprintf (FILE, "+" HOST_WIDE_INT_PRINT_DEC, offset)   \
+       if ((OFFSET) != 0)                                      \
+         fprintf (FILE, "+" HOST_WIDE_INT_PRINT_DEC, OFFSET)   \
        break;                                                  \
       case 8:                                                  \
        /* This is a hack.  There is no 64-bit section relative \
@@ -120,8 +120,8 @@ along with GCC; see the file COPYING3.  If not see
           Fake the 64-bit offset by zero-extending it.  */     \
        fputs ("\t.secrel32\t", FILE);                          \
        assemble_name (FILE, LABEL);                            \
-       if (offset != 0)                                        \
-         fprintf (FILE, "+" HOST_WIDE_INT_PRINT_DEC, offset)   \
+       if ((OFFSET) != 0)                                      \
+         fprintf (FILE, "+" HOST_WIDE_INT_PRINT_DEC, OFFSET)   \
        fputs ("\n\t.long\t0", FILE);                           \
        break;                                                  \
       default:                                                 \
index aab2d7a4c01d228299613b3bd531c651765c5daf..00516bb9838d6178bdadb0cc1464dd4626b36443 100644 (file)
@@ -1586,7 +1586,7 @@ do {                                                                      \
     fputs (integer_asm_op (SIZE, FALSE), FILE);                        \
     fputs ("@secrel(", FILE);                                  \
     assemble_name (FILE, LABEL);                               \
-    if (offset != 0)                                           \
+    if ((OFFSET) != 0)                                         \
       fprintf (FILE, "+" HOST_WIDE_INT_PRINT_DEC, OFFSET);     \
     fputc (')', FILE);                                         \
   } while (0)