aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-08-12 09:58:34 +0000
committerAlan Modra <amodra@gmail.com>2008-08-12 09:58:34 +0000
commitdb0bc2846c03b3b1a281d424299fec1dc9a9c706 (patch)
tree8573ca4eec1ceba1326ac19309c451e6216abc07 /gas
parent0606b73b11cc3dcbbd2d71d907dc96f29306e222 (diff)
downloadgdb-db0bc2846c03b3b1a281d424299fec1dc9a9c706.zip
gdb-db0bc2846c03b3b1a281d424299fec1dc9a9c706.tar.gz
gdb-db0bc2846c03b3b1a281d424299fec1dc9a9c706.tar.bz2
* config/tc-arm.c (s_unreq): Adjust hash_delete call.
* config/tc-ia64.c (dot_rot): Likewise.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-arm.c6
-rw-r--r--gas/config/tc-ia64.c2
3 files changed, 9 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 50942f7..fa31b7a 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-12 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-arm.c (s_unreq): Adjust hash_delete call.
+ * config/tc-ia64.c (dot_rot): Likewise.
+
2008-08-11 Alan Modra <amodra@bigpond.net.au>
PR 6575
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 0c05074..85e1e2d 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -2290,7 +2290,7 @@ s_unreq (int a ATTRIBUTE_UNUSED)
char * p;
char * nbuf;
- hash_delete (arm_reg_hsh, name);
+ hash_delete (arm_reg_hsh, name, FALSE);
free ((char *) reg->name);
if (reg->neon)
free (reg->neon);
@@ -2306,7 +2306,7 @@ s_unreq (int a ATTRIBUTE_UNUSED)
reg = hash_find (arm_reg_hsh, nbuf);
if (reg)
{
- hash_delete (arm_reg_hsh, nbuf);
+ hash_delete (arm_reg_hsh, nbuf, FALSE);
free ((char *) reg->name);
if (reg->neon)
free (reg->neon);
@@ -2318,7 +2318,7 @@ s_unreq (int a ATTRIBUTE_UNUSED)
reg = hash_find (arm_reg_hsh, nbuf);
if (reg)
{
- hash_delete (arm_reg_hsh, nbuf);
+ hash_delete (arm_reg_hsh, nbuf, FALSE);
free ((char *) reg->name);
if (reg->neon)
free (reg->neon);
diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c
index 3523a0f..e447021 100644
--- a/gas/config/tc-ia64.c
+++ b/gas/config/tc-ia64.c
@@ -4804,7 +4804,7 @@ dot_rot (type)
/* First, remove existing names from hash table. */
for (dr = md.dynreg[type]; dr && dr->num_regs; dr = dr->next)
{
- hash_delete (md.dynreg_hash, dr->name);
+ hash_delete (md.dynreg_hash, dr->name, FALSE);
/* FIXME: Free dr->name. */
dr->num_regs = 0;
}