libctf, link: add CTF_LINK_OMIT_VARIABLES_SECTION
authorNick Alcock <nick.alcock@oracle.com>
Fri, 5 Jun 2020 21:52:41 +0000 (22:52 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Wed, 22 Jul 2020 17:02:19 +0000 (18:02 +0100)
commite3e8411bec4ef30d331d6185bd2650a3fc56ea09
tree7c79ce6453f66ff3c446e0802b6ab73c617dc8e4
parent0f0c11f7fc9f0ab6bd63fc5f8a4cee7367a81849
libctf, link: add CTF_LINK_OMIT_VARIABLES_SECTION

This flag (not used anywhere yet) causes the variables section to be
omitted from the output CTF dict.

include/
* ctf-api.h (CTF_LINK_OMIT_VARIABLES_SECTION): New.
libctf/
* ctf-link.c (ctf_link_one_input_archive_member): Check
CTF_LINK_OMIT_VARIABLES_SECTION.
include/ChangeLog
include/ctf-api.h
libctf/ChangeLog
libctf/ctf-link.c