static void
do_ldst (str, flags)
- char *str;
+ char * str;
unsigned long flags;
{
int halfword = 0;
fix_new_arm (frag_now, to - frag_now->fr_literal,
inst.size, & inst.reloc.exp, inst.reloc.pc_rel,
inst.reloc.type);
-
+#ifdef OBJ_ELF
+ if (debug_type == DEBUG_DWARF2)
+ dwarf2_generate_asm_lineno (inst.size);
+#endif
return;
}
}
#endif
#ifdef OBJ_ELF
- symbolS *sym;
- char bind;
+ symbolS * sym;
+ char bind;
for (sym = symbol_rootP; sym != NULL; sym = symbol_next (sym))
{
if (ARM_IS_THUMB (sym))
{
- elf_symbol_type *elf_sym;
+ elf_symbol_type * elf_sym;
elf_sym = elf_symbol (symbol_get_bfdsym (sym));
bind = ELF_ST_BIND (elf_sym);
char *
arm_canonicalize_symbol_name (name)
- char *name;
+ char * name;
{
int len;
boolean
arm_validate_fix (fixP)
- fixS *fixP;
+ fixS * fixP;
{
/* If the destination of the branch is a defined symbol which does not have
the THUMB_FUNC attribute, then we must be calling a function which has
boolean
arm_fix_adjustable (fixP)
- fixS *fixP;
+ fixS * fixP;
{
if (fixP->fx_addsy == NULL)
return 1;
expression (& exp);
if (exp.X_op == O_symbol
- && *input_line_pointer == '('
+ && * input_line_pointer == '('
&& (reloc = arm_parse_reloc ()) != BFD_RELOC_UNUSED)
{
reloc_howto_type *howto = bfd_reloc_type_lookup (stdoutput, reloc);
demand_empty_rest_of_line ();
}
+/* Stuff to do after assembling all of the source file. */
+
+void
+arm_end_of_source ()
+{
+ if (debug_type == DEBUG_DWARF2)
+ dwarf2_finish ();
+}
+
#endif /* OBJ_ELF */