diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 6 | ||||
-rw-r--r-- | include/ctf-api.h | 10 |
2 files changed, 16 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 0122c1d6280..ce7c17377a0 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,9 @@ +2019-07-30 Nick Alcock <nick.alcock@oracle.com> + + * ctf-api.h (ctf_link_add_cu_mapping): New. + (ctf_link_memb_name_changer_f): New. + (ctf_link_set_memb_name_changer): New. + 2019-07-13 Nick Alcock <nick.alcock@oracle.com> * ctf-api.h (ECTF_INTERNAL): New. diff --git a/include/ctf-api.h b/include/ctf-api.h index 4130a2ecd19..4ac5fea8bc6 100644 --- a/include/ctf-api.h +++ b/include/ctf-api.h @@ -421,6 +421,16 @@ extern int ctf_link_shuffle_syms (ctf_file_t *, ctf_link_iter_symbol_f *, extern unsigned char *ctf_link_write (ctf_file_t *, size_t *size, size_t threshold); +/* Specialist linker functions. These functions are not used by ld, but can be + used by other prgorams making use of the linker machinery for other purposes + to customize its output. */ +extern int ctf_link_add_cu_mapping (ctf_file_t *, const char *from, + const char *to); +typedef char *ctf_link_memb_name_changer_f (ctf_file_t *, + const char *, void *); +extern void ctf_link_set_memb_name_changer + (ctf_file_t *, ctf_link_memb_name_changer_f *, void *); + extern void ctf_setdebug (int debug); extern int ctf_getdebug (void); |