binutils-gdb/libctf
Nick Alcock caa170493e libctf: prohibit nameless ints, floats, typedefs and forwards
Now that "anonymous typedef nodes" have been extirpated, we can mandate
that things that have names in C must have names in CTF too.  (Unlike
the no-forwards embarrassment, the deduplicator does nothing special
with names: types that have names in C will have the same name in CTF.
So we can assume that the CTF rules and the C rules are the same.)

include/ChangeLog
2021-01-27  Nick Alcock  <nick.alcock@oracle.com>

	* ctf-api.h (ECTF_NONAME): New.
	(ECTF_NERR): Adjust.

libctf/ChangeLog
2021-01-27  Nick Alcock  <nick.alcock@oracle.com>

	* ctf-create.c (ctf_add_encoded): Add check for non-empty name.
	(ctf_add_forward): Likewise.
	(ctf_add_typedef): Likewise.
2021-02-04 16:01:53 +00:00
..
testsuite libctf, ld: fix symtypetab and var section population under ld -r 2021-02-04 16:01:53 +00:00
.gitignore
aclocal.m4 Implement a workaround for GNU mak jobserver 2021-01-12 05:45:44 -08:00
ChangeLog libctf: prohibit nameless ints, floats, typedefs and forwards 2021-02-04 16:01:53 +00:00
ChangeLog-2020 libctf: fix old ChangeLog typo 2021-01-05 14:53:40 +00:00
config.h.in
configure Implement a workaround for GNU mak jobserver 2021-01-12 05:45:44 -08:00
configure.ac Implement a workaround for GNU mak jobserver 2021-01-12 05:45:44 -08:00
ctf-archive.c libctf: remove outdated comment about parent dict importing 2021-01-05 14:53:40 +00:00
ctf-create.c libctf: prohibit nameless ints, floats, typedefs and forwards 2021-02-04 16:01:53 +00:00
ctf-decl.c libctf, ld: dump enums: generally improve dump formatting 2021-01-05 14:53:39 +00:00
ctf-decls.h
ctf-dedup.c libctf, include: support unnamed structure members better 2021-01-05 14:53:40 +00:00
ctf-dump.c libctf, ld: dump enums: generally improve dump formatting 2021-01-05 14:53:39 +00:00
ctf-endian.h
ctf-error.c
ctf-hash.c
ctf-impl.h libctf, ld: fix symtypetab and var section population under ld -r 2021-02-04 16:01:53 +00:00
ctf-inlines.h
ctf-intl.h
ctf-labels.c
ctf-link.c libctf, ld: fix symtypetab and var section population under ld -r 2021-02-04 16:01:53 +00:00
ctf-lookup.c libctf: rip out dead code handling typedefs with no name 2021-02-04 16:01:53 +00:00
ctf-open-bfd.c
ctf-open.c libctf: rip out dead code handling typedefs with no name 2021-02-04 16:01:53 +00:00
ctf-qsort_r.c
ctf-sha1.c
ctf-sha1.h
ctf-string.c
ctf-subr.c
ctf-types.c libctf, ld: fix formatting of forwards to unions and enums 2021-01-05 14:53:40 +00:00
ctf-util.c libctf, include: support unnamed structure members better 2021-01-05 14:53:40 +00:00
elf.h
libctf.ver
Makefile.am libctf, testsuite: don't run without a suitable compiler 2021-01-05 17:11:20 +00:00
Makefile.in Regen Makefile.in for jobserver.m4 aclocal.m4 dependency 2021-01-13 22:06:02 +10:30
swap.h