+2003-05-20 Alan Modra <amodra@bigpond.net.au>
+
+ * dw2gencfi.c (cfi_parse_arg): Only use tc_regname_to_dw2regnum if
+ defined.
+ (dot_cfi_endproc): Avoid C99 construct.
+
2003-05-20 Michal Ludvig <mludvig@suse.cz>
* dw2gencfi.c, dw2gencfi.h: New files.
static int
cfi_parse_arg (long *param, int resolvereg)
{
- char *name, c, *p;
long value;
int retval = -1;
int nchars;
input_line_pointer += nchars;
retval = 1;
}
+#ifdef tc_regname_to_dw2regnum
else if (resolvereg && (is_name_beginner (*input_line_pointer)))
{
+ char *name, c, *p;
+
name = input_line_pointer;
c = get_symbol_end ();
p = input_line_pointer;
*p = c;
}
+#endif
else
as_bad (resolvereg ?
_("can't convert argument to a register number") :
unsigned long buf_size, cie_size, fde_size, last_cie_offset;
unsigned long fde_initloc_offset, fde_len_offset;
void *saved_seg, *cfi_seg;
+ expressionS exp;
if (! cfi_info)
{
/* Set relocation for initial address. */
buf_size = current_config.addr_length;
- expressionS exp;
memset (&exp, 0, sizeof (exp));
exp.X_op = O_symbol;
exp.X_add_symbol = symbol_find (cfi_info->labelname);