From 4561967700aa3719391e8645cefdcc13b24d62c3 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Fri, 16 Sep 2016 08:38:14 +0000 Subject: [PATCH] ia64.h (ASM_OUTPUT_DWARF_OFFSET): Use parameter OFFSET, not offset. * 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 | 6 ++++++ gcc/config/i386/cygming.h | 8 ++++---- gcc/config/ia64/ia64.h | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2d40745e6fe..11f09af1f32 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-09-16 Andreas Schwab + + * 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 PR target/77526 diff --git a/gcc/config/i386/cygming.h b/gcc/config/i386/cygming.h index 228d6a2e1c2..faf8fa44003 100644 --- a/gcc/config/i386/cygming.h +++ b/gcc/config/i386/cygming.h @@ -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: \ diff --git a/gcc/config/ia64/ia64.h b/gcc/config/ia64/ia64.h index aab2d7a4c01..00516bb9838 100644 --- a/gcc/config/ia64/ia64.h +++ b/gcc/config/ia64/ia64.h @@ -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) -- 2.30.2