Lines Matching defs:offs
187 GElf_Off *offs = NULL;
197 offs = malloc (shnum * sizeof (GElf_Off));
198 if (offs == NULL)
200 printf ("couldn't allocate memory for offs\n");
221 offs[last_off] = shdr.sh_offset;
235 GElf_Word off = offs[last_off - 1];
236 offs[last_off - 1] = off + shdr.sh_size;
237 offs[last_off] = off;
243 offs[last_off] = shdr.sh_offset;
290 shdr.sh_offset = offs[last_off++];
298 free (offs);
345 fprintf (stderr, "elfcopy [--mmap] [--reverse-offs] in.elf out.elf\n");
358 if (strcmp (argv[argn], "--reverse-offs") == 0)