aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-link.c
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2021-03-02 15:10:05 +0000
committerNick Alcock <nick.alcock@oracle.com>2021-03-02 15:10:06 +0000
commit478c04a55ee59bf7e7f104c36a08253d15863610 (patch)
tree7c95e33edec2c0577fe664075b4590dacb369225 /libctf/ctf-link.c
parent8915c559d40186064d0be75229f9b4e5ac649b16 (diff)
downloadfsf-binutils-gdb-478c04a55ee59bf7e7f104c36a08253d15863610.zip
fsf-binutils-gdb-478c04a55ee59bf7e7f104c36a08253d15863610.tar.gz
fsf-binutils-gdb-478c04a55ee59bf7e7f104c36a08253d15863610.tar.bz2
libctf: remove reference to "unconflicted link mode".
There is no such thing, and the comment makes no sense, and doesn't match what the code is doing. We always want to put variables in the same dicts as the types they relate to if at all possible. libctf/ChangeLog 2021-03-02 Nick Alcock <nick.alcock@oracle.com> * ctf-link.c (ctf_link_one_variable): Remove reference to "unconflicted link mode".
Diffstat (limited to 'libctf/ctf-link.c')
-rw-r--r--libctf/ctf-link.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libctf/ctf-link.c b/libctf/ctf-link.c
index 5d813db..d598b78 100644
--- a/libctf/ctf-link.c
+++ b/libctf/ctf-link.c
@@ -499,9 +499,9 @@ ctf_link_one_variable (const char *name, ctf_id_t type, void *arg_)
return 0;
}
- /* In unconflicted link mode, if this type is mapped to a type in the parent
- dict, we want to try to add to that first: if it reports a duplicate,
- or if the type is in a child already, add straight to the child. */
+ /* If this type is mapped to a type in the parent dict, we want to try to add
+ to that first: if it reports a duplicate, or if the type is in a child
+ already, add straight to the child. */
insert_fp = arg->out_fp;