* config/tc-m68hc11.c (md_begin): Fix qsort warning.
authorStephane Carrez <stcarrez@nerim.fr>
Sun, 1 Dec 2002 11:19:31 +0000 (11:19 +0000)
committerStephane Carrez <stcarrez@nerim.fr>
Sun, 1 Dec 2002 11:19:31 +0000 (11:19 +0000)
(tc_gen_reloc): Mark section param as not used.

gas/ChangeLog
gas/config/tc-m68hc11.c

index 76b52d5d4ff9248e713c1192990e99ffdb3ee686..820a990f02ba56a32674398b96b1059e4f2bd4ff 100644 (file)
@@ -1,3 +1,8 @@
+2002-12-01  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * config/tc-m68hc11.c (md_begin): Fix qsort warning.
+       (tc_gen_reloc): Mark section param as not used.
+
 2002-12-01  Stephane Carrez  <stcarrez@nerim.fr>
 
        Fix Bug savannah/1825:
index 2586902ff1344f0c537a6700d102db6f01f1d03f..f12655ec3dd23a0047decd13f5fe573e4dabb672 100644 (file)
@@ -638,7 +638,8 @@ md_begin ()
              }
        }
     }
-  qsort (opcodes, num_opcodes, sizeof (struct m68hc11_opcode), cmp_opcode);
+  qsort (opcodes, num_opcodes, sizeof (struct m68hc11_opcode),
+         (int (*) PARAMS ((const PTR, const PTR))) cmp_opcode);
 
   opc = (struct m68hc11_opcode_def *)
     xmalloc (num_opcodes * sizeof (struct m68hc11_opcode_def));
@@ -2704,7 +2705,7 @@ md_pcrel_from (fixP)
    then it is done here.  */
 arelent *
 tc_gen_reloc (section, fixp)
-     asection *section;
+     asection *section ATTRIBUTE_UNUSED;
      fixS *fixp;
 {
   arelent *reloc;
This page took 0.034863 seconds and 4 git commands to generate.