mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-24 12:35:55 +08:00
2006-03-20 Paul Brook <paul@codesourcery.com>
* config/tc-arm.c (output_relax_insn): Call dwarf2_emit_insn before outputting the insn.
This commit is contained in:
parent
a2199086d1
commit
6e1cb1a6e6
@ -1,3 +1,8 @@
|
||||
2006-03-20 Paul Brook <paul@codesourcery.com>
|
||||
|
||||
* config/tc-arm.c (output_relax_insn): Call dwarf2_emit_insn before
|
||||
outputting the insn.
|
||||
|
||||
2006-03-18 Jan-Benedict Glaw <jbglaw@lug-owl.de>
|
||||
|
||||
* config/tc-vax.c: Update copyright year.
|
||||
|
@ -7982,6 +7982,12 @@ output_relax_insn (void)
|
||||
symbolS *sym;
|
||||
int offset;
|
||||
|
||||
#ifdef OBJ_ELF
|
||||
/* The size of the instruction is unknown, so tie the debug info to the
|
||||
start of the instruction. */
|
||||
dwarf2_emit_insn (0);
|
||||
#endif
|
||||
|
||||
switch (inst.reloc.exp.X_op)
|
||||
{
|
||||
case O_symbol:
|
||||
@ -8000,10 +8006,6 @@ output_relax_insn (void)
|
||||
to = frag_var (rs_machine_dependent, INSN_SIZE, THUMB_SIZE,
|
||||
inst.relax, sym, offset, NULL/*offset, opcode*/);
|
||||
md_number_to_chars (to, inst.instruction, THUMB_SIZE);
|
||||
|
||||
#ifdef OBJ_ELF
|
||||
dwarf2_emit_insn (INSN_SIZE);
|
||||
#endif
|
||||
}
|
||||
|
||||
/* Write a 32-bit thumb instruction to buf. */
|
||||
|
Loading…
Reference in New Issue
Block a user