* dlltool.c (dtab): Remove empty function.
authorBen Elliston <bje@au.ibm.com>
Mon, 2 May 2005 23:41:39 +0000 (23:41 +0000)
committerBen Elliston <bje@au.ibm.com>
Mon, 2 May 2005 23:41:39 +0000 (23:41 +0000)
(process_duplicates): Remove calls to dtab().

binutils/ChangeLog
binutils/dlltool.c

index c0006fa3a85aaf11262f72289b843555c4f85955..b0f24308f9123aa42dec9b97979672f2a8324832 100644 (file)
@@ -1,3 +1,8 @@
+2005-05-02  Ben Elliston  <bje@au.ibm.com>
+
+       * dlltool.c (dtab): Remove empty function.
+       (process_duplicates): Remove calls to dtab().
+
 2005-05-01  Maciej W. Rozycki  <macro@linux-mips.org>
 
        * doc/binutils.texi (strip, objcopy): Clarify the description of
index c817782612720a55226c4ca3627532b213e0818e..ffcb6ed60896c4552779c356a5f8841c3e09a158 100644 (file)
@@ -703,7 +703,6 @@ static void gen_lib_file (void);
 static int pfunc (const void *, const void *);
 static int nfunc (const void *, const void *);
 static void remove_null_names (export_type **);
-static void dtab (export_type **);
 static void process_duplicates (export_type **);
 static void fill_ordinals (export_type **);
 static int alphafunc (const void *, const void *);
@@ -2856,27 +2855,6 @@ remove_null_names (export_type **ptr)
   d_nfuncs = dst;
 }
 
-static void
-dtab (export_type **ptr ATTRIBUTE_UNUSED)
-{
-#ifdef SACDEBUG
-  int i;
-  for (i = 0; i < d_nfuncs; i++)
-    {
-      if (ptr[i])
-       {
-         printf ("%d %s @ %d %s%s%s\n",
-                 i, ptr[i]->name, ptr[i]->ordinal,
-                 ptr[i]->noname ? "NONAME " : "",
-                 ptr[i]->constant ? "CONSTANT" : "",
-                 ptr[i]->data ? "DATA" : "");
-       }
-      else
-       printf ("empty\n");
-    }
-#endif
-}
-
 static void
 process_duplicates (export_type **d_export_vec)
 {
@@ -2889,7 +2867,6 @@ process_duplicates (export_type **d_export_vec)
       /* Remove duplicates.  */
       qsort (d_export_vec, d_nfuncs, sizeof (export_type *), nfunc);
 
-      dtab (d_export_vec);
       for (i = 0; i < d_nfuncs - 1; i++)
        {
          if (strcmp (d_export_vec[i]->name,
@@ -2918,9 +2895,7 @@ process_duplicates (export_type **d_export_vec)
              d_export_vec[i] = 0;
            }
 
-         dtab (d_export_vec);
          remove_null_names (d_export_vec);
-         dtab (d_export_vec);
        }
     }
 
This page took 0.026732 seconds and 4 git commands to generate.