Home
last modified time | relevance | path

Searched refs:memhunk (Results 1 – 3 of 3) sorted by relevance

/openbsd/src/gnu/usr.bin/binutils/gdb/
Dgcore.c449 void *memhunk; in gcore_copy_callback() local
459 memhunk = xmalloc (size); in gcore_copy_callback()
461 if (memhunk == NULL) in gcore_copy_callback()
463 old_chain = make_cleanup (xfree, memhunk); in gcore_copy_callback()
466 memhunk, size) != 0) in gcore_copy_callback()
469 if (!bfd_set_section_contents (obfd, osec, memhunk, 0, size)) in gcore_copy_callback()
/openbsd/src/gnu/usr.bin/binutils/binutils/
Dobjcopy.c2043 void *memhunk = xmalloc (size); in copy_section() local
2045 if (!bfd_get_section_contents (ibfd, isection, memhunk, 0, size)) in copy_section()
2051 char *from = (char *) memhunk + copy_byte; in copy_section()
2052 char *to = memhunk; in copy_section()
2053 char *end = (char *) memhunk + size; in copy_section()
2062 if (!bfd_set_section_contents (obfd, osection, memhunk, 0, size)) in copy_section()
2065 free (memhunk); in copy_section()
2069 void *memhunk = xmalloc (size); in copy_section() local
2077 memset (memhunk, 0, size); in copy_section()
2078 if (! bfd_set_section_contents (obfd, osection, memhunk, 0, size)) in copy_section()
[all …]
/openbsd/src/gnu/usr.bin/binutils-2.17/binutils/
Dobjcopy.c2284 void *memhunk = xmalloc (size); in copy_section() local
2286 if (!bfd_get_section_contents (ibfd, isection, memhunk, 0, size)) in copy_section()
2292 char *from = (char *) memhunk + copy_byte; in copy_section()
2293 char *to = memhunk; in copy_section()
2294 char *end = (char *) memhunk + size; in copy_section()
2303 if (!bfd_set_section_contents (obfd, osection, memhunk, 0, size)) in copy_section()
2306 free (memhunk); in copy_section()
2310 void *memhunk = xmalloc (size); in copy_section() local
2318 memset (memhunk, 0, size); in copy_section()
2319 if (! bfd_set_section_contents (obfd, osection, memhunk, 0, size)) in copy_section()
[all …]