aboutsummaryrefslogtreecommitdiff
path: root/include/ctf-api.h
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2020-06-05 22:52:41 +0100
committerNick Alcock <nick.alcock@oracle.com>2020-07-22 18:02:19 +0100
commite3e8411bec4ef30d331d6185bd2650a3fc56ea09 (patch)
tree7c79ce6453f66ff3c446e0802b6ab73c617dc8e4 /include/ctf-api.h
parent0f0c11f7fc9f0ab6bd63fc5f8a4cee7367a81849 (diff)
downloadfsf-binutils-gdb-e3e8411bec4ef30d331d6185bd2650a3fc56ea09.zip
fsf-binutils-gdb-e3e8411bec4ef30d331d6185bd2650a3fc56ea09.tar.gz
fsf-binutils-gdb-e3e8411bec4ef30d331d6185bd2650a3fc56ea09.tar.bz2
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.
Diffstat (limited to 'include/ctf-api.h')
-rw-r--r--include/ctf-api.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ctf-api.h b/include/ctf-api.h
index c3683db..f034f98 100644
--- a/include/ctf-api.h
+++ b/include/ctf-api.h
@@ -90,6 +90,9 @@ typedef struct ctf_link_sym
emitted into them. */
#define CTF_LINK_EMPTY_CU_MAPPINGS 0x4
+/* Omit the content of the variables section. */
+#define CTF_LINK_OMIT_VARIABLES_SECTION 0x8
+
/* Symbolic names for CTF sections. */
typedef enum ctf_sect_names