aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-06-07 15:09:21 +0000
committerAlan Modra <amodra@gmail.com>2002-06-07 15:09:21 +0000
commiteb95bb9a4e738150793d5fdb094b3ebad025174a (patch)
tree75ec9ec24719e3d62203df8feaab2505c05e24f2
parent9bab7074b06e5c0661db3ec95c584ff221fc61ec (diff)
downloadgdb-eb95bb9a4e738150793d5fdb094b3ebad025174a.zip
gdb-eb95bb9a4e738150793d5fdb094b3ebad025174a.tar.gz
gdb-eb95bb9a4e738150793d5fdb094b3ebad025174a.tar.bz2
* emultempl/ppc64elf.em (new_vers_pattern): Warning fix.
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/emultempl/ppc64elf.em2
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 01f0bc0..f003d9f 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2002-06-07 Alan Modra <amodra@bigpond.net.au>
+
+ * emultempl/ppc64elf.em (new_vers_pattern): Warning fix.
+
2002-06-07 Charles Wilson <cwilson@ece.gatech.edu>
* ld/ldmain.c (main): initialize link_info.pei386_auto_import
diff --git a/ld/emultempl/ppc64elf.em b/ld/emultempl/ppc64elf.em
index 3c1eb8e..9ce7893 100644
--- a/ld/emultempl/ppc64elf.em
+++ b/ld/emultempl/ppc64elf.em
@@ -349,7 +349,7 @@ gld${EMULATION_NAME}_new_vers_pattern (entry)
&& next->match == entry->match)
{
next = entry->next;
- free (entry->pattern);
+ free ((char *) entry->pattern);
free (entry);
return next;
}