Lines Matching defs:new

237 	  float new = shdr->sh_size;
240 orig_size, shdr->sh_size, (new / orig) * 100);
284 /* Buffer for (one) new section name if necessary. */
376 naming). If so we'll need to build a new section header string
410 construct a new string table. Afterwards the new string table is
413 Third a fixup/adjustment pass over the new Elf that will adjust
415 new sizes of the sections if necessary. This pass is optional if
533 error (0, 0, "Not enough memory for new strtab");
541 /* Create a new (temporary) ELF file for the result. */
567 error (0, 0, "Couldn't open new ELF %s for writing: %s",
572 /* Create the new ELF header and copy over all the data. */
575 error (0, 0, "Couldn't create new ehdr: %s", elf_errmsg (-1));
582 error (0, 0, "Couldn't get new ehdr: %s", elf_errmsg (-1));
835 error (0, 0, "Couldn't create new section %zd", ndx);
869 error (0, 0, "Couldn't create new data for section %zd", ndx);
876 /* Keep track of the (new) section names. */
959 since the new one will not have setup the
982 /* We got all needed strings, put the new data in the shstrtab. */
989 error (0, 0, "Couldn't get new section header string table [%zd]",
997 error (0, 0, "Couldn't create new section header string table data");
1011 error (0, 0, "Couldn't get shdr for new section strings %zd",
1031 error (0, 0, "Couldn't update new section strings [%zd]",
1086 /* Make sure to re-get the new ehdr. Adding phdrs and shdrs will
1090 error (0, 0, "Couldn't re-get new ehdr: %s", elf_errmsg (-1));
1098 error (0, 0, "Couldn't set new shdrstrndx: %s", elf_errmsg (-1));
1149 error (0, 0, "Couldn't get new symtab data section [%zd]",
1279 /* Finally replace the old file with the new file. */
1287 /* We are finally done with the new file, don't unlink it now. */