summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/pe-dll.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 90fe1f600f..354c36373b 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2012-05-07 Tristan Gingold <gingold@adacore.com>
+
+ * pe-dll.c (udef_table): Make it static.
+
2012-05-05 Alan Modra <amodra@gmail.com>
* pe-dll.c (process_def_file_and_drectve): Use bfd_und_section_ptr.
diff --git a/ld/pe-dll.c b/ld/pe-dll.c
index b50a1097c9..84ff029892 100644
--- a/ld/pe-dll.c
+++ b/ld/pe-dll.c
@@ -2826,7 +2826,7 @@ struct key_value
const char *oname;
};
-struct key_value *udef_table;
+static struct key_value *udef_table;
static int undef_sort_cmp (const void *l1, const void *r1)
{