Lines Matching defs:sections
275 /* Which sections match and need to be (un)compressed. */
276 unsigned int *sections = NULL;
278 /* How many sections are we talking about? */
284 sections[ndx / WORD_BITS] |= (1U << (ndx % WORD_BITS));
289 return (sections[ndx / WORD_BITS] & (1U << (ndx % WORD_BITS))) != 0;
322 free (sections);
376 /* How many sections are we talking about? */
379 error (0, 0, "Couldn't get number of sections in %s: %s",
386 error (0, 0, "ELF file %s has no sections", fname);
390 sections = xcalloc (shnum / 8 + 1, sizeof (unsigned int));
405 allocated sections in the file. */
408 /* While going through all sections keep track of last section data
421 /* We do three passes over all sections.
424 data needs to be copied and/or transformed, which sections need a
428 Second a collection pass that creates the Elf sections and copies
436 new sizes of the sections if necessary. This pass is optional if
627 symbol tables. If so, and those sections are to be compressed
642 /* Collection pass. Copy over the sections, (de)compresses matching
643 sections, collect names of sections and symbol table if
678 data in later passes. Skip those sections for now and
1062 /* Set this after the sections have been created, otherwise section
1087 /* Keep the offset of allocated sections so they are at the
1199 sections precisely as in the original file. In that case we are
1294 .doc = N_("Compress or decompress sections in an ELF file.")