diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-arm.c | 6 | ||||
-rw-r--r-- | gas/config/tc-ia64.c | 2 |
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; } |