aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2005-05-02 23:41:39 +0000
committerBen Elliston <bje@au.ibm.com>2005-05-02 23:41:39 +0000
commit27eed06bc26fa63078cf865cf52f6e136be3c942 (patch)
treee458c1b4e141c4a62ccf5b76ccc803648918f5f7
parent475bf943d25be9f274033b2cb919ba52cbfc0253 (diff)
downloadgdb-27eed06bc26fa63078cf865cf52f6e136be3c942.zip
gdb-27eed06bc26fa63078cf865cf52f6e136be3c942.tar.gz
gdb-27eed06bc26fa63078cf865cf52f6e136be3c942.tar.bz2
* dlltool.c (dtab): Remove empty function.
(process_duplicates): Remove calls to dtab().
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/dlltool.c25
2 files changed, 5 insertions, 25 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index c0006fa..b0f2430 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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
diff --git a/binutils/dlltool.c b/binutils/dlltool.c
index c817782..ffcb6ed 100644
--- a/binutils/dlltool.c
+++ b/binutils/dlltool.c
@@ -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 *);
@@ -2857,27 +2856,6 @@ remove_null_names (export_type **ptr)
}
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)
{
int more = 1;
@@ -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);
}
}