2004-10-01 Eric Christopher <echristo@redhat.com>
* dwarf2.h (dwarf_calling_convention): Add GNU prefix to
locally defined enum.
* dwarf2out.c (add_calling_convention_attribute): Don't
emit DW_CC_normal.
From-SVN: r88477
+2004-10-01 Eric Christopher <echristo@redhat.com>
+
+ * dwarf2.h (dwarf_calling_convention): Add GNU prefix to
+ locally defined enum.
+ * dwarf2out.c (add_calling_convention_attribute): Don't
+ emit DW_CC_normal.
+
2004-10-03 Andrew Pinski <pinskia@physics.uc.edu>
PR c/17178, PR c/17820
DW_CC_normal = 0x1,
DW_CC_program = 0x2,
DW_CC_nocall = 0x3,
- DW_CC_renesas_sh = 0x40
+ DW_CC_GNU_renesas_sh = 0x40
};
#define DW_CC_lo_user 0x40
value = targetm.dwarf_calling_convention (type);
- /* Only add the attribute if the backend requests it. */
- if (value)
+ /* Only add the attribute if the backend requests it, and
+ is not DW_CC_normal. */
+ if (value && (value != DW_CC_normal))
add_AT_unsigned (subr_die, DW_AT_calling_convention, value);
}