From f2e25d931f7fd4e07eea1a0698bfe6aef33087b6 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 10 Sep 2009 14:05:40 +0000 Subject: [PATCH 1/1] * config/tc-d30v.c (d30v_frob_label): Call dwarf2_emit_label. * config/tc-frv.c (frv_frob_label): Likewise. --- gas/ChangeLog | 5 +++++ gas/config/tc-d30v.c | 2 ++ gas/config/tc-frv.c | 2 ++ 3 files changed, 9 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index daefbd644f..e888c6bcc2 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2009-09-10 Alan Modra + + * config/tc-d30v.c (d30v_frob_label): Call dwarf2_emit_label. + * config/tc-frv.c (frv_frob_label): Likewise. + 2009-09-09 Alan Modra * config/obj-coff.h (USE_UNIQUE): Don't define. diff --git a/gas/config/tc-d30v.c b/gas/config/tc-d30v.c index 3e95375626..8d90d467f5 100644 --- a/gas/config/tc-d30v.c +++ b/gas/config/tc-d30v.c @@ -1873,6 +1873,8 @@ d30v_frob_label (symbolS *lab) /* Record this label for future adjustment after we find out what kind of data it references, and the required alignment therewith. */ d30v_last_label = lab; + + dwarf2_emit_label (lab); } /* Hook into cons for capturing alignment changes. */ diff --git a/gas/config/tc-frv.c b/gas/config/tc-frv.c index aa878b7e75..e29810c421 100644 --- a/gas/config/tc-frv.c +++ b/gas/config/tc-frv.c @@ -28,6 +28,7 @@ #include "libbfd.h" #include "elf/common.h" #include "elf/frv.h" +#include "dwarf2dbg.h" /* Structure to hold all of the different components describing an individual instruction. */ @@ -1801,6 +1802,7 @@ frv_frob_label (symbolS *this_label) { struct vliw_insn_list *vliw_insn_list_entry; + dwarf2_emit_label (this_label); if (frv_mach != bfd_mach_frvtomcat) return; -- 2.34.1