• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Revision6e1cb1a6e6a9cf32d58f5f9dd41365c6d5b635b0 (tree)
Zeit2006-03-21 00:14:49
AutorPaul Brook <paul@code...>
CommiterPaul Brook

Log Message

2006-03-20 Paul Brook <paul@codesourcery.com>

* config/tc-arm.c (output_relax_insn): Call dwarf2_emit_insn before
outputting the insn.

Ändern Zusammenfassung

Diff

--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
1+2006-03-20 Paul Brook <paul@codesourcery.com>
2+
3+ * config/tc-arm.c (output_relax_insn): Call dwarf2_emit_insn before
4+ outputting the insn.
5+
16 2006-03-18 Jan-Benedict Glaw <jbglaw@lug-owl.de>
27
38 * config/tc-vax.c: Update copyright year.
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -7982,6 +7982,12 @@ output_relax_insn (void)
79827982 symbolS *sym;
79837983 int offset;
79847984
7985+#ifdef OBJ_ELF
7986+ /* The size of the instruction is unknown, so tie the debug info to the
7987+ start of the instruction. */
7988+ dwarf2_emit_insn (0);
7989+#endif
7990+
79857991 switch (inst.reloc.exp.X_op)
79867992 {
79877993 case O_symbol:
@@ -8000,10 +8006,6 @@ output_relax_insn (void)
80008006 to = frag_var (rs_machine_dependent, INSN_SIZE, THUMB_SIZE,
80018007 inst.relax, sym, offset, NULL/*offset, opcode*/);
80028008 md_number_to_chars (to, inst.instruction, THUMB_SIZE);
8003-
8004-#ifdef OBJ_ELF
8005- dwarf2_emit_insn (INSN_SIZE);
8006-#endif
80078009 }
80088010
80098011 /* Write a 32-bit thumb instruction to buf. */