binutils-gdb/libctf
Nick Alcock fe4c2d5563 libctf: create: non-root-visible types should not appear in name tables
We were accidentally interning newly-added and newly-opened
non-root-visible types into name tables, and removing names from name
tables when such types were removed.  This is very wrong: the whole
point of non-root-visible types is they do not go in name tables and
cannot be looked up by name.  This bug made non-root-visible types
basically identical to root-visible types, right back to the earliest
days of libctf in the Solaris era.

libctf/
	* ctf-open.c (init_types): Only intern root-visible types.
	* ctf-create.c (ctf_dtd_insert): Likewise.
	(ctf_dtd_delete): Only remove root-visible types.
	(ctf_rollback): Likewise.
	(ctf_add_generic): Adjust.
	(ctf_add_struct_sized): Adjust comment.
	(ctf_add_union_sized): Likewise.
	(ctf_add_enum): Likewise.
	* ctf-impl.h (ctf_dtd_insert): Adjust prototype.
2020-06-26 15:56:39 +01:00
..
ChangeLog libctf: create: non-root-visible types should not appear in name tables 2020-06-26 15:56:39 +01:00
Makefile.am Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
Makefile.in Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
aclocal.m4 Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
config.h.in libctf: Add configure check for asprintf (for MinGW) 2020-01-05 09:50:27 +04:00
configure libctf: Add configure check for asprintf (for MinGW) 2020-01-05 09:50:27 +04:00
configure.ac libctf: Add configure check for asprintf (for MinGW) 2020-01-05 09:50:27 +04:00
ctf-archive.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-create.c libctf: create: non-root-visible types should not appear in name tables 2020-06-26 15:56:39 +01:00
ctf-decl.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-decls.h Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-dump.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-endian.h Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-error.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-hash.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-impl.h libctf: create: non-root-visible types should not appear in name tables 2020-06-26 15:56:39 +01:00
ctf-labels.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-link.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-lookup.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-open-bfd.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-open.c libctf: create: non-root-visible types should not appear in name tables 2020-06-26 15:56:39 +01:00
ctf-qsort_r.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-string.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-subr.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-types.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ctf-util.c Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
elf.h Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
libctf.ver Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
swap.h libctf: Mark bswap_identity_64 inline function as static. 2020-03-11 17:48:49 +10:30