• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No 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

Revisión79bec4016666d77fb38ff61dec128cf1e9a383a1 (tree)
Tiempo2009-09-11 00:24:41
AutorJoern Rennecke <joern.rennecke@embe...>
CommiterJoern Rennecke

Log Message

        • arc-opc-cgen.c (arc_cgen_init_opcode_table): Comment out
          warning-generating no-op.

Cambiar Resumen

Diferencia incremental

--- a/opcodes/ChangeLog.ARC
+++ b/opcodes/ChangeLog.ARC
@@ -1,3 +1,8 @@
1+2009-09-10 J"orn Rennecke <joern.rennecke@arc.com>
2+
3+ * arc-opc-cgen.c (arc_cgen_init_opcode_table): Comment out
4+ warning-generating no-op.
5+
16 2008-04-09 J"orn Rennecke <joern.rennecke@arc.com>
27
38 Copy from configure:
--- a/opcodes/arc-opc-cgen.c
+++ b/opcodes/arc-opc-cgen.c
@@ -3199,6 +3199,10 @@ arc_cgen_init_opcode_table (CGEN_CPU_DESC cd)
31993199 const CGEN_OPCODE *oc = & arc_cgen_macro_insn_opcode_table[0];
32003200 CGEN_INSN *insns = xmalloc (num_macros * sizeof (CGEN_INSN));
32013201
3202+/* ??? This is a manual patch to avoid a compiler warning about a zero-sized
3203+ memset. cgen should be fixed not to emit or comment out this code when
3204+ <target>_cgen_macro_insn_table is empty. */
3205+#if 0
32023206 memset (insns, 0, num_macros * sizeof (CGEN_INSN));
32033207 for (i = 0; i < num_macros; ++i)
32043208 {
@@ -3206,6 +3210,7 @@ arc_cgen_init_opcode_table (CGEN_CPU_DESC cd)
32063210 insns[i].opcode = &oc[i];
32073211 arc_cgen_build_insn_regex (& insns[i]);
32083212 }
3213+#endif
32093214 cd->macro_insn_table.init_entries = insns;
32103215 cd->macro_insn_table.entry_size = sizeof (CGEN_IBASE);
32113216 cd->macro_insn_table.num_init_entries = num_macros;