Lines Matching full:info
64 INFO("\t%02d: data = %p, hdr = { offset = %8lld, size = %lld }, "
79 INFO("section offset dump for new ELF\n");
83 INFO("\nsection offset dump for original ELF\n");
89 INFO("section offset dump for new ELF\n");
151 INFO("Creating new ELF sections.\n");
186 INFO("\tsection %02d: [%-30s] created\n",
200 INFO("\tsection [%s] (old offset %lld, old size %lld) "
228 /* Allocate the section-header-info buffer. */
229 INFO("Allocating section-header info structure (%d) bytes...\n",
269 INFO("\tname: %s\n", source->shdr_info[cnt].name);
285 INFO("\t\toriginal sh_link: %08d\n",
287 INFO("\t\toriginal sh_addr: %lld\n",
289 INFO("\t\toriginal sh_offset: %lld\n",
291 INFO("\t\toriginal sh_size: %lld\n",
346 INFO("Creating empty ELF and program headers...\n");
355 INFO("Copying ELF header...\n");
364 INFO("Copying ELF program header...\n");
370 INFO("\tRetrieving entry %d\n", cnt);
403 INFO("\t\tnew section at %p matches shdr_info[%d], "
426 INFO("Processing [%s]'s sections...\n", source->name);
428 INFO("\tGetting section index %d...\n", scnidx);
438 INFO("\tThere is no section at index %d anymore, continuing.\n",
456 INFO("\tAdding [%s] (%lld, %lld)...\n",
474 source->symtab.info = lookup_shdr_info_by_new_section(
476 ASSERT(source->shdr_info == NULL || source->symtab.info != NULL);
488 source->strtab.info = lookup_shdr_info_by_new_section(
493 ASSERT(source->shdr_info == NULL || source->strtab.info != NULL);
499 source->dynamic.info = lookup_shdr_info_by_new_section(
501 ASSERT(source->shdr_info == NULL || source->dynamic.info != NULL);
507 source->hash.info = lookup_shdr_info_by_new_section(
509 ASSERT(source->shdr_info == NULL || source->hash.info != NULL);
522 reloc->info = lookup_shdr_info_by_new_section(source, sname, scn);
523 ASSERT(source->shdr_info == NULL || reloc->info != NULL);
531 source->bss.info = lookup_shdr_info_by_new_section(
533 ASSERT(source->shdr_info == NULL || source->bss.info != NULL);
549 INFO("File [%s] does not have a dynamic section!\n", source->name);
580 INFO("Relink base for [%s]: 0x%lx\n", source->name, source->base);
610 INFO("Opening %s...\n", full_path);
624 INFO("File [%s]'s size is %lld bytes!\n",
628 INFO("Calling elf_begin(%s)...\n", full_path);
644 INFO("Making sure %s is a shared library or an executable...\n",
662 /* Note that in the INFO() below we need to use oldelf_hdr because we
674 INFO("%s [%s] is not prelinked!\n",
776 INFO("%s: setting up prelink tag at end of file.\n",
782 else INFO("%s: executable, NOT setting up prelink tag.\n",
836 INFO("reinit_source: DT_JMPREL is at index %d, 0x%08llx.\n",
842 INFO("reinit_source: DT_PLTRELSZ is at index %d, 0x%08llx.\n",
848 INFO("reinit_source: DT_REL is at index %d, 0x%08llx.\n",
854 INFO("reinit_source: DT_RELSZ is at index %d, 0x%08llx.\n",
977 INFO("\tThere are %d relocations.\n", num_rels);
983 //INFO("\tHandling relocation %d/%d\n", rel_idx, num_rels);
1036 INFO("\t\tSymbol [%s:%s] is defined locally.\n",
1060 INFO("\t\tChecking default dependencies...\n");
1065 INFO("\tChecking in [%s].\n", default_libs[i]);
1093 INFO("\tFound symbol [%s] in [%s]!\n",
1107 INFO("\tCould not find symbol [%s] in default "
1121 INFO("\t\tSymbol [%s:%s, value %lld] is imported from [%s]\n",
1159 INFO("\t\tno symbol is associated with this relocation\n");
1172 INFO("********* NOT RELOCATING LIBDL SYMBOL [%s]\n", symname);
1185 INFO("\t\t%-15s ",
1223 INFO("[%s:%s]: [0x%llx] = 0x%llx + 0x%lx\n",
1239 INFO("[%s:%s]: [0x%llx] = 0x%x + 0x%lx\n",
1270 INFO("Found [%s:%s (%lld)] in section [%s] .\n",
1313 INFO("[%s:%s]: [0x%llx] <- [0x%llx] size %lld\n",
1327 INFO("Incomplete relocation [%-15s] of [%s:%s].\n",
1375 INFO("\t\tNot relocating symbol [%s]%s\n",
1404 INFO("Prelinking [%s] (number of relocation sections: %d)%s...\n",
1422 If reloc_scn->info is available, we can assert that the
1428 ASSERT(reloc_scn->info == NULL ||
1429 reloc_scn->shdr.sh_name == reloc_scn->info->old_shdr.sh_name);
1436 INFO("\n\tIterating relocation section [%s]...\n", sname);
1447 if (reloc_scn->info != NULL &&
1448 reloc_scn->data->d_size != reloc_scn->info->old_shdr.sh_size)
1450 INFO("Setting size of section [%s] to from new size %d to old "
1453 reloc_scn->info->name,
1455 reloc_scn->info->old_shdr.sh_size);
1456 reloc_scn->data->d_size = reloc_scn->info->old_shdr.sh_size;
1470 ASSERT(reloc_scn->info != NULL);
1471 INFO("Resetting size of section [%s] to %d\n",
1472 reloc_scn->info->name,
1490 shdr_info_t *info = source->shdr_info + i;
1491 if (info->idx == 0 &&
1492 (info->shdr.sh_type == SHT_REL ||
1493 info->shdr.sh_type == SHT_RELA)) {
1495 Elf_Data *data = elf_getdata(info->scn, NULL);
1497 data->d_size = info->old_shdr.sh_size;
1499 INFO("\n\tIterating relocation section [%s], which was "
1501 info->name,
1503 info->old_shdr.sh_entsize);
1507 data, info->old_shdr.sh_entsize,
1526 /* INFO("ABSOLUTE PATH: [%s].\n", libname); */
1533 /* INFO("FOUND IN CURRENT DIR: [%s].\n", libname); */
1551 /* INFO("FOUND: [%s] in [%s].\n", libname, name); */
1554 INFO("NOT FOUND: [%s] in [%s].\n", libname, name);
1585 INFO("Updating entry %d: [%-10s], %08llx --> %08x\n",
1655 INFO("\t(!)\tRemoving entry %02d: [%-10s], %08llx\n",
1666 INFO("\t\tKeeping entry %02d: [%-10s], %08llx\n",
1693 INFO("\tdynamic range %s:[%lld, %lld) contains %d sections.\n",
1714 ASSERT(reloc_scn->info == NULL ||
1716 reloc_scn->info->old_shdr.sh_name);
1722 INFO("\tsection [%s] contains %d unfinished relocs.\n",
1734 INFO("\tsection [%s] has filled up with %d unfinished "
1746 INFO("\t\tmoving unfinished relocation %2d to [%s:%d]\n",
1777 ASSERT(next->info == NULL ||
1778 next->shdr.sh_name == next->info->old_shdr.sh_name);
1784 INFO("\tsection [%s] (index %d) has %d unfinished relocs, "
1826 INFO("\tsection [%s] (index %d) is now empty, marking for "
1838 ASSERT(next->info == NULL ||
1839 next->shdr.sh_name == next->info->old_shdr.sh_name);
1844 INFO("\tsection [%s] (index %d) is now empty, marking for "
1862 INFO("\tNo section for dynamic entry!\n");
1872 INFO("Adjusting dynamic segment%s.\n",
1874 INFO("\tadjusting dynamic segment REL.\n");
1878 INFO("\tadjusting dynamic segment JMPREL.\n");
1901 ASSERT(reloc_scn->info == NULL ||
1902 reloc_scn->shdr.sh_name == reloc_scn->info->old_shdr.sh_name);
1908 INFO("Checking section [%s], index %d, for match to dynamic ranges\n",
1910 if (source->shdr_info == NULL || reloc_scn->info->idx > 0) {
1941 INFO("\tSection [%s] matches dynamic range REL.\n",
1974 INFO("\tSection [%s] matches dynamic range JMPREL.\n",
1984 INFO("Section [%s] was removed, not matching it to dynamic "
1996 INFO("We are dropping some sections from [%s]--creating section entries "
2031 INFO("Trimming new-section data from %d to %lld bytes "
2039 INFO("\tsection [%s] (old offset %lld, old size %lld) "
2048 INFO("\tIgnoring section [%s] (offset %lld, size %lld, index %d), "
2096 INFO("Processing [%s].\n", filename);
2107 INFO("File [%s] is a static executable.\n", filename);
2149 INFO("Calculating loadable file size for next link address. "
2163 INFO("\tDecrementing by %lld on account of section "
2171 INFO("Done calculating loadable file size for next link address: "
2218 INFO("[%s] depends on [%s].\n", filename, dep_lib);
2266 INFO("Handling [%s].\n", filename);
2285 INFO("\n\n\tPRELINKING %s\n\n",
2294 INFO("[%s]: (calculate changes) handled %d, could not handle %d "
2329 INFO("\n\n\tADJUSTING DYNAMIC SEGMENT "
2368 INFO("All sections remain in [%s]--we are changing at "
2378 INFO("Trimming new-section data from %d to %lld "
2389 INFO("\n\n\tADJUSTING ELF\n\n");
2398 source->phdr_info, // program-header info
2412 INFO("\n\n\tREINITIALIZING STRUCTURES "
2416 INFO("\n\n\tPRELINKING (ACTUAL)\n\n");
2441 INFO("[%s]: (actual prelink) handled %d, could not "
2496 INFO("\n\n\tADJUSTING DYNAMIC SEGMENT (ACTUAL)\n\n");
2500 else INFO("[%s] is already prelinked at 0x%08lx.\n",
2504 } else INFO("[%s] has been processed already.\n", filename);
2532 INFO("executable: [%s]\n", execs[input_idx]);
2565 INFO("Opening map file %s for append/write.\n",