aboutsummaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-08-11 07:40:22 +0000
committerAlan Modra <amodra@gmail.com>2008-08-11 07:40:22 +0000
commit818236e51ddfafe9688b99e1ce5ddc3d2dc4a0a9 (patch)
tree818e7a68ac2eeefaa4d0deee8982a4fd0cb74493 /gas/doc
parent74235fd7819cda08ee923ccd9759c55b74b0a59b (diff)
downloadgdb-818236e51ddfafe9688b99e1ce5ddc3d2dc4a0a9.zip
gdb-818236e51ddfafe9688b99e1ce5ddc3d2dc4a0a9.tar.gz
gdb-818236e51ddfafe9688b99e1ce5ddc3d2dc4a0a9.tar.bz2
PR 6575
* hash.c: Expand PTR to void *. (hash_delete): Add "freeme" parameter. Call obstack_free. * hash.h: Expand PTR to void *. (hash_delete): Update prototype. * macro.c (macro_expand_body): hash_delete LOCALs from formal_hash. * config/tc-tic54x.c (tic54x_remove_local_label): Update hash_delete call. (subsym_substitute): Likewise. * doc/internals.texi (hash_delete): Update.
Diffstat (limited to 'gas/doc')
-rw-r--r--gas/doc/internals.texi6
1 files changed, 4 insertions, 2 deletions
diff --git a/gas/doc/internals.texi b/gas/doc/internals.texi
index e37da47..e025e88 100644
--- a/gas/doc/internals.texi
+++ b/gas/doc/internals.texi
@@ -1921,8 +1921,10 @@ Creates the hash table control structure.
Destroy a hash table.
@end deftypefun
-@deftypefun @{@} PTR hash_delete (struct hash_control *, const char *)
-Deletes entry from the hash table, returns the value it had.
+@deftypefun @{@} PTR hash_delete (struct hash_control *, const char *, int)
+Deletes entry from the hash table, returns the value it had. If the last
+arg is non-zero, free memory allocated for this entry and all entries
+allocated more recently than this entry.
@end deftypefun
@deftypefun @{@} PTR hash_replace (struct hash_control *, const char *, PTR)