From: Alan Modra Date: Tue, 12 Aug 2008 09:58:34 +0000 (+0000) Subject: * config/tc-arm.c (s_unreq): Adjust hash_delete call. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=db0bc2846c03b3b1a281d424299fec1dc9a9c706;p=binutils-gdb.git * config/tc-arm.c (s_unreq): Adjust hash_delete call. * config/tc-ia64.c (dot_rot): Likewise. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 50942f75093..fa31b7ac058 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2008-08-12 Alan Modra + + * config/tc-arm.c (s_unreq): Adjust hash_delete call. + * config/tc-ia64.c (dot_rot): Likewise. + 2008-08-11 Alan Modra PR 6575 diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 0c0507415ba..85e1e2dec81 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 3523a0fc3ef..e4470213b8a 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; }