Add support for .line and .file pseudo ops.
This commit is contained in:
parent
316e2c0578
commit
8179bd9b1b
|
@ -1,3 +1,8 @@
|
||||||
|
2000-11-17 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
* config/tc-arm.c (md_pseudo_table): Add support for .line and
|
||||||
|
.file pseudo ops.
|
||||||
|
|
||||||
2000-11-17 Richard Henderson <rth@redhat.com>
|
2000-11-17 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
* config/tc-i386.c (md_pseudo_table): Add .file and .loc.
|
* config/tc-i386.c (md_pseudo_table): Add .file and .loc.
|
||||||
|
|
|
@ -1120,6 +1120,8 @@ CONST pseudo_typeS md_pseudo_table[] =
|
||||||
{ "sect.s", arm_s_section, 0 },
|
{ "sect.s", arm_s_section, 0 },
|
||||||
{ "word", s_arm_elf_cons, 4 },
|
{ "word", s_arm_elf_cons, 4 },
|
||||||
{ "long", s_arm_elf_cons, 4 },
|
{ "long", s_arm_elf_cons, 4 },
|
||||||
|
{ "file", dwarf2_directive_file, 0 },
|
||||||
|
{ "loc", dwarf2_directive_loc, 0 },
|
||||||
#else
|
#else
|
||||||
{ "word", cons, 4},
|
{ "word", cons, 4},
|
||||||
#endif
|
#endif
|
||||||
|
@ -6299,8 +6301,8 @@ tc_gen_reloc (section, fixp)
|
||||||
default: type = _("<unknown>"); break;
|
default: type = _("<unknown>"); break;
|
||||||
}
|
}
|
||||||
as_bad_where (fixp->fx_file, fixp->fx_line,
|
as_bad_where (fixp->fx_file, fixp->fx_line,
|
||||||
_("Can not represent %s relocation in this object file format (%d)"),
|
_("Cannot represent %s relocation in this object file format"),
|
||||||
type, fixp->fx_pcrel);
|
type);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue