diff options
author | Richard Biener <rguenther@suse.de> | 2016-09-15 10:22:32 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2016-09-15 10:22:32 +0000 |
commit | 7180b1a686163421c1339a11dfd0f33a1e28567d (patch) | |
tree | 175e372115b6f7a7dddb27df3e0a92b746e31486 /gcc/config/ia64 | |
parent | 0273c10e7b1d6824932eb6f58d72fd81139154f0 (diff) | |
download | gcc-7180b1a686163421c1339a11dfd0f33a1e28567d.zip gcc-7180b1a686163421c1339a11dfd0f33a1e28567d.tar.gz gcc-7180b1a686163421c1339a11dfd0f33a1e28567d.tar.bz2 |
dwarf2asm.h (dw2_asm_output_offset): Add overload with extra offset argument.
2016-09-15 Richard Biener <rguenther@suse.de>
* dwarf2asm.h (dw2_asm_output_offset): Add overload with
extra offset argument.
* dwarf2asm.c (dw2_asm_output_offset): Implement that.
* doc/tm.texi.in (ASM_OUTPUT_DWARF_OFFSET): Adjust documentation
to reflect new offset parameter.
* doc/tm.texi: Regenerate.
* config/darwin.h (ASM_OUTPUT_DWARF_OFFSET): Adjust.
* config/darwin-protos.h (darwin_asm_output_dwarf_delta): Add
offset argument.
(darwin_asm_output_dwarf_offset): Likewise.
* config/darwin.c (darwin_asm_output_dwarf_delta): Add offset
argument.
(darwin_asm_output_dwarf_offset): Pass offset argument through.
* config/ia64/ia64.h (ASM_OUTPUT_DWARF_OFFSET): Adjust.
* config/i386/cygmin.h (ASM_OUTPUT_DWARF_OFFSET): Likewise.
From-SVN: r240158
Diffstat (limited to 'gcc/config/ia64')
-rw-r--r-- | gcc/config/ia64/ia64.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/ia64/ia64.h b/gcc/config/ia64/ia64.h index daf717b..aab2d7a 100644 --- a/gcc/config/ia64/ia64.h +++ b/gcc/config/ia64/ia64.h @@ -1581,11 +1581,13 @@ do { \ /* Use section-relative relocations for debugging offsets. Unlike other targets that fake this by putting the section VMA at 0, IA-64 has proper relocations for them. */ -#define ASM_OUTPUT_DWARF_OFFSET(FILE, SIZE, LABEL, SECTION) \ +#define ASM_OUTPUT_DWARF_OFFSET(FILE, SIZE, LABEL, OFFSET, SECTION) \ do { \ fputs (integer_asm_op (SIZE, FALSE), FILE); \ fputs ("@secrel(", FILE); \ assemble_name (FILE, LABEL); \ + if (offset != 0) \ + fprintf (FILE, "+" HOST_WIDE_INT_PRINT_DEC, OFFSET); \ fputc (')', FILE); \ } while (0) |