From: Alan Modra Date: Thu, 10 Sep 2009 14:05:40 +0000 (+0000) Subject: * config/tc-d30v.c (d30v_frob_label): Call dwarf2_emit_label. X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=f2e25d931f7fd4e07eea1a0698bfe6aef33087b6;hp=3f5e193bd6e036c43af9326d777aed6cfc14fbcb;p=deliverable%2Fbinutils-gdb.git * config/tc-d30v.c (d30v_frob_label): Call dwarf2_emit_label. * config/tc-frv.c (frv_frob_label): Likewise. --- 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;