Lines Matching refs:dprintf
115 #define dprintf if (debug) printf macro
221 dprintf("fd = %x\n", fd); in readfile()
237 dprintf("calling readelf, elfheader is:\n"); in readfile()
238 dprintf("e_ident\t0x%x, 0x%x, 0x%x, 0x%x\n", in readfile()
243 dprintf("e_machine\t0x%x\n", elfhdr.e_machine); in readfile()
245 dprintf("e_entry\t\t0x%llx\n", (is64 ? in readfile()
248 dprintf("e_shoff\t\t0x%llx\n", (is64 ? in readfile()
251 dprintf("e_shnentsize\t%d\n", (is64 ? in readfile()
253 dprintf("e_shnum\t\t%d\n", (is64 ? in readfile()
255 dprintf("e_shstrndx\t%d\n", (is64 ? in readfile()
261 dprintf("ELF file CLASS 0x%x 32 is %x 64 is %x\n", in readfile()
361 dprintf("Entry point: %p\n", (void *)entrypt); in read_elf32()
372 dprintf("lseek: args = %x %x %x\n", fd, elfhdrp->e_phoff, 0); in read_elf32()
390 dprintf("allocating 0x%x bytes for note hdr\n", in read_elf32()
396 dprintf("seeking to 0x%x\n", phdr->p_offset); in read_elf32()
400 dprintf("reading 0x%x bytes into %p\n", in read_elf32()
407 dprintf("p_note namesz %x descsz %x type %x\n", in read_elf32()
425 dprintf("pagesize is %x\n", npagesize); in read_elf32()
446 dprintf("Doing header 0x%x\n", i); in read_elf32()
447 dprintf("phdr\n"); in read_elf32()
448 dprintf("\tp_offset = %x, p_vaddr = %x\n", in read_elf32()
450 dprintf("\tp_memsz = %x, p_filesz = %x\n", in read_elf32()
455 dprintf("seeking to 0x%x\n", phdr->p_offset); in read_elf32()
513 dprintf("allocating memory: %x %lx " in read_elf32()
553 dprintf("reading 0x%x bytes into 0x%x\n", in read_elf32()
565 dprintf("bss from 0x%x size 0x%x\n", in read_elf32()
760 dprintf("Entry point: 0x%llx\n", (u_longlong_t)entrypt); in read_elf64()
771 dprintf("lseek: args = %x %llx %x\n", fd, in read_elf64()
790 dprintf("allocating 0x%llx bytes for note hdr\n", in read_elf64()
796 dprintf("seeking to 0x%llx\n", in read_elf64()
801 dprintf("reading 0x%llx bytes into 0x%p\n", in read_elf64()
808 dprintf("p_note namesz %x descsz %x type %x\n", in read_elf64()
826 dprintf("pagesize is %x\n", npagesize); in read_elf64()
847 dprintf("Doing header 0x%x\n", i); in read_elf64()
848 dprintf("phdr\n"); in read_elf64()
849 dprintf("\tp_offset = %llx, p_vaddr = %llx\n", in read_elf64()
852 dprintf("\tp_memsz = %llx, p_filesz = %llx\n", in read_elf64()
855 dprintf("\tp_type = %x, p_flags = %x\n", in read_elf64()
860 dprintf("seeking to 0x%llx\n", in read_elf64()
920 dprintf( in read_elf64()
942 dprintf("reading 0x%llx bytes into 0x%llx\n", in read_elf64()
954 dprintf("bss from 0x%llx size 0x%llx\n", in read_elf64()
1124 dprintf("Opened %s OK\n", rtld); in iload32()
1275 dprintf("Opened %s OK\n", rtld);
1365 dprintf("boot: loading linker @ 0x%llx\n",
1392 dprintf("boot: section %d, type %d, loaded @ 0x%llx, "