Searched refs:ctf_base (Results 1 – 11 of 11) sorted by relevance
/netbsd-src/external/gpl3/binutils/dist/libctf/ |
H A D | ctf-open.c | 350 fp->ctf_buf = base + (fp->ctf_buf - fp->ctf_base); in ctf_set_base() 351 fp->ctf_base = base; in ctf_set_base() 431 unsigned char *ctf_base, *old_ctf_base = (unsigned char *) fp->ctf_dynbase; in upgrade_types_v1() local 477 if ((ctf_base = malloc (fp->ctf_size + increase)) == NULL) in upgrade_types_v1() 483 memcpy (ctf_base, fp->ctf_buf, cth->cth_typeoff); in upgrade_types_v1() 484 memcpy (ctf_base + cth->cth_stroff + increase, in upgrade_types_v1() 487 memset (ctf_base + cth->cth_typeoff, 0, cth->cth_stroff - cth->cth_typeoff in upgrade_types_v1() 493 fp->ctf_base = ctf_base; in upgrade_types_v1() 494 fp->ctf_buf = ctf_base; in upgrade_types_v1() 495 fp->ctf_dynbase = ctf_base; in upgrade_types_v1() [all …]
|
H A D | ChangeLog-2020 | 1521 ctf_cuname, ctf_dyncuname: ctf_base and ctf_buf are no longer const. 1523 ctf_base: do not assume that it is always sizeof (ctf_header_t). 1525 (ctf_free_base): Removed, ctf_base is no longer freed: free 1530 (upgrade_types_v1): ... this. Free ctf_dynbase, not ctf_base. No 1533 are preserved in fp->ctf_header). Set ctf_dynbase, ctf_base and 1542 Set ctf_dynbase where ctf_base is dynamically allocated. Drop locals 1556 (ctf_compress_write): Get the header from ctf_header, not ctf_base.
|
H A D | ctf-impl.h | 395 unsigned char *ctf_base; /* CTF file pointer. */ member
|
/netbsd-src/external/gpl3/binutils.old/dist/libctf/ |
H A D | ctf-open.c | 350 fp->ctf_buf = base + (fp->ctf_buf - fp->ctf_base); in ctf_set_base() 351 fp->ctf_base = base; in ctf_set_base() 431 unsigned char *ctf_base, *old_ctf_base = (unsigned char *) fp->ctf_dynbase; in upgrade_types_v1() local 477 if ((ctf_base = malloc (fp->ctf_size + increase)) == NULL) in upgrade_types_v1() 483 memcpy (ctf_base, fp->ctf_buf, cth->cth_typeoff); in upgrade_types_v1() 484 memcpy (ctf_base + cth->cth_stroff + increase, in upgrade_types_v1() 487 memset (ctf_base + cth->cth_typeoff, 0, cth->cth_stroff - cth->cth_typeoff in upgrade_types_v1() 493 fp->ctf_base = ctf_base; in upgrade_types_v1() 494 fp->ctf_buf = ctf_base; in upgrade_types_v1() 495 fp->ctf_dynbase = ctf_base; in upgrade_types_v1() [all …]
|
H A D | ChangeLog-2020 | 1521 ctf_cuname, ctf_dyncuname: ctf_base and ctf_buf are no longer const. 1523 ctf_base: do not assume that it is always sizeof (ctf_header_t). 1525 (ctf_free_base): Removed, ctf_base is no longer freed: free 1530 (upgrade_types_v1): ... this. Free ctf_dynbase, not ctf_base. No 1533 are preserved in fp->ctf_header). Set ctf_dynbase, ctf_base and 1542 Set ctf_dynbase where ctf_base is dynamically allocated. Drop locals 1556 (ctf_compress_write): Get the header from ctf_header, not ctf_base.
|
H A D | ctf-impl.h | 395 unsigned char *ctf_base; /* CTF file pointer. */ member
|
/netbsd-src/external/cddl/osnet/dist/uts/common/ctf/ |
H A D | ctf_mod.c | 162 if (!ctf_leave_compressed && (caddr_t)fp->ctf_base != mp->ctfdata) { in ctf_modopen() 171 kobj_set_ctf(mp, (caddr_t)fp->ctf_base, fp->ctf_size); in ctf_modopen() 172 fp->ctf_data.cts_data = fp->ctf_base; in ctf_modopen()
|
/netbsd-src/external/cddl/osnet/dist/common/ctf/ |
H A D | ctf_open.c | 715 fp->ctf_base = base; in ctf_bufopen() 941 if (fp->ctf_base != fp->ctf_data.cts_data && fp->ctf_base != NULL) in ctf_close() 942 ctf_data_free(__UNCONST(fp->ctf_base), fp->ctf_size); in ctf_close()
|
H A D | ctf_impl.h | 191 const uchar_t *ctf_base; /* base of CTF header + uncompressed buffer */ member
|
/netbsd-src/external/cddl/osnet/dist/lib/libctf/common/ |
H A D | ctf_lib.c | 499 const uchar_t *buf = fp->ctf_base; in ctf_write()
|
/netbsd-src/external/gpl3/gdb/dist/libctf/ |
H A D | ChangeLog-2020 | 1521 ctf_cuname, ctf_dyncuname: ctf_base and ctf_buf are no longer const. 1523 ctf_base: do not assume that it is always sizeof (ctf_header_t). 1525 (ctf_free_base): Removed, ctf_base is no longer freed: free 1530 (upgrade_types_v1): ... this. Free ctf_dynbase, not ctf_base. No 1533 are preserved in fp->ctf_header). Set ctf_dynbase, ctf_base and 1542 Set ctf_dynbase where ctf_base is dynamically allocated. Drop locals 1556 (ctf_compress_write): Get the header from ctf_header, not ctf_base.
|