diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/ctf-api.h | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index ae8963d..163b506 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2021-01-26 Nick Alcock <nick.alcock@oracle.com> + + * ctf-api.h (CTF_LINK_NO_FILTER_REPORTED_SYMS): New. + 2021-02-04 Nelson Chu <nelson.chu@sifive.com> * opcode/riscv-opc.h: Removed macros for zb* extensions. diff --git a/include/ctf-api.h b/include/ctf-api.h index 5cf3257..954778a 100644 --- a/include/ctf-api.h +++ b/include/ctf-api.h @@ -104,6 +104,15 @@ typedef struct ctf_link_sym /* Omit the content of the variables section. */ #define CTF_LINK_OMIT_VARIABLES_SECTION 0x8 +/* If *unset*, filter out entries corresponding to linker-reported symbols + from the variable section, and filter out all entries with no linker-reported + symbols from the data object and function info sections: if set, do no + filtering and leave all entries in place. (This is a negative-sense flag + because it is rare to want symbols the linker has not reported as present to + stick around in the symtypetab sections nonetheless: relocatable links are + the only likely case.) */ +#define CTF_LINK_NO_FILTER_REPORTED_SYMS 0x10 + /* Symbolic names for CTF sections. */ typedef enum ctf_sect_names |