Lines Matching refs:stripped
1 /* Combine stripped files with separate symbols and debug information.
360 Because of this, the related sections can shrink in the stripped
612 /* Don't redo SHT_GROUP, groups are in both the stripped and debug,
1388 copy_elided_sections (Elf *unstripped, Elf *stripped,
1396 ELF_CHECK (elf_getshdrstrndx (stripped, &stripped_shstrndx) == 0,
1404 ELF_CHECK (elf_getshdrnum (stripped, &stripped_shnum) == 0,
1409 more sections in stripped file than debug file -- arguments reversed?"));
1412 error_exit (0, _("no sections in stripped file"));
1420 elf_flagelf (stripped, ELF_C_SET, ELF_F_LAYOUT);
1421 max_off = elf_update (stripped, ELF_C_NULL);
1424 /* Cache the stripped file's section details. */
1427 while ((scn = elf_nextscn (stripped, scn)) != NULL)
1432 sections[i].name = elf_strptr (stripped, stripped_shstrndx,
1440 sections[i].sig = get_group_sig (stripped, shdr);
1462 /* Match each debuginfo section with its corresponding stripped section. */
1567 Elf_Data *data = elf_getdata (elf_getscn (stripped, stripped_shstrndx),
1572 stripped, stripped_ehdr,
1681 /* Buggy binutils objdump might have stripped the SHF_INFO_LINK
1806 /* Merge the stripped file's symbol table into the unstripped one. */
1830 elf_getscn (stripped, stripped_symtab->shdr.sh_link),
2035 /* We need to preserve the layout of the stripped file so the
2104 ELF_CHECK (elf_getphdrnum (stripped, &phnum) == 0,
2111 /* Copy each program header from the stripped file. */
2115 GElf_Phdr *phdr = gelf_getphdr (stripped, i, &phdr_mem);
2143 Elf *stripped, const GElf_Ehdr *stripped_ehdr,
2147 ELF_CHECK (elf_getphdrnum (stripped, &phnum) == 0,
2157 GElf_Phdr *phdr = gelf_getphdr (stripped, i, &phdr_mem);
2185 copy_elided_sections (unstripped, stripped, stripped_ehdr, bias);
2203 copy_elf (outelf, stripped);
2212 copy_elided_sections (outelf, stripped, stripped_ehdr, bias);
2230 sanity check for the stripped and unstripped files failed. */
2247 Elf *stripped = elf_begin (stripped_fd, ELF_C_READ, NULL);
2249 ELF_CHECK (gelf_getehdr (stripped, &stripped_ehdr),
2278 warn (_("stripped program header (e_phnum) smaller than unstripped"),
2282 handle_file (output_file, create_dirs, stripped, &stripped_ehdr, unstripped);
2284 elf_end (stripped);
2298 Elf *stripped = dwfl_module_getelf (mod, &bias);
2299 if (stripped == NULL)
2309 _("cannot find stripped file for module '%s': %s"),
2313 _("cannot open stripped file '%s' for module '%s': %s"),
2336 if (debug == stripped)
2345 error_exit (0, _("module '%s' file '%s' is not stripped"),
2351 ELF_CHECK (gelf_getehdr (stripped, &stripped_ehdr),
2381 handle_file (output_file, create_dirs, stripped, &stripped_ehdr, debug);
2562 Combine stripped files with separate symbols and debug information.\n\
2567 With -f these match the file name of the main (stripped) file \