summaryrefslogtreecommitdiff
path: root/gcc/dwarf2asm.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2015-02-12 21:19:47 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2015-02-12 21:19:47 +0000
commitb2f40a0dc1393be7e1db84419a8d5ec0aac730f3 (patch)
tree977e64c65e71bac25fa4a2c9f50612e551fd5390 /gcc/dwarf2asm.c
parent6d87fe1ac495765644df650f026a6ba335533280 (diff)
downloadgcc-b2f40a0dc1393be7e1db84419a8d5ec0aac730f3.tar.gz
* dwarf2asm.c (dw2_asm_output_vms_delta): Only define
if ASM_OUTPUT_DWARF_VMS_DELTA is defined. * dwarf2out.c (output_die): Use dw2_asm_output_vms_delta only if ASM_OUTPUT_DWARF_VMS_DELTA is defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220660 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2asm.c')
-rw-r--r--gcc/dwarf2asm.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/gcc/dwarf2asm.c b/gcc/dwarf2asm.c
index c5942b90274..b817aaf5027 100644
--- a/gcc/dwarf2asm.c
+++ b/gcc/dwarf2asm.c
@@ -159,6 +159,7 @@ dw2_asm_output_delta (int size, const char *lab1, const char *lab2,
va_end (ap);
}
+#ifdef ASM_OUTPUT_DWARF_VMS_DELTA
/* Output the difference between two symbols in instruction units
in a given size. */
@@ -171,11 +172,6 @@ dw2_asm_output_vms_delta (int size ATTRIBUTE_UNUSED,
va_start (ap, comment);
-#ifndef ASM_OUTPUT_DWARF_VMS_DELTA
- /* VMS Delta is only special on ia64-vms, but this function also gets
- called on alpha-vms so it has to do something sane. */
- dw2_asm_output_delta (size, lab1, lab2, comment);
-#else
ASM_OUTPUT_DWARF_VMS_DELTA (asm_out_file, size, lab1, lab2);
if (flag_debug_asm && comment)
{
@@ -183,10 +179,10 @@ dw2_asm_output_vms_delta (int size ATTRIBUTE_UNUSED,
vfprintf (asm_out_file, comment, ap);
}
fputc ('\n', asm_out_file);
-#endif
va_end (ap);
}
+#endif
/* Output a section-relative reference to a LABEL, which was placed in
BASE. In general this can only be done for debugging symbols.