[PATCH 01/12] libctf, include, binutils, gdb, ld: rename ctf_file_t to ctf_dict_t

Alan Modra amodra@gmail.com
Tue Nov 17 22:33:18 GMT 2020


On Sun, Oct 25, 2020 at 02:14:02PM +0000, Nick Alcock via Binutils wrote:
> The naming of the ctf_file_t type in libctf is a historical curiosity.
> Back in the Solaris days, CTF dictionaries were originally generated as
> a separate file and then (sometimes) merged into objects: hence the
> datatype was named ctf_file_t, and known as a "CTF file".  Nowadays, raw
> CTF is essentially never written to a file on its own, and the datatype
> changed name to a "CTF dictionary" years ago.  So the term "CTF file"
> refers to something that is never a file!  This is at best confusing.
> 
> The type has also historically been known as a 'CTF container", which is
> even more confusing now that we have CTF archives which are *also* a
> sort of container (they contain CTF dictionaries), but which are never
> referred to as containers in the source code.
> 
> So fix this by completing the renaming, renaming ctf_file_t to
> ctf_dict_t throughout, and renaming those few functions that refer to

The binutils parts are OK.

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list