*nextp. Fix wrong logic in recognizing first iteration of group
loop. When clearing flags, also clear ld_state.group_start_archive.
- * src/readelf.c (process_elf_file): When re-reading pure file,
- don't first open the file and then map from the mapped archive.
-
2008-01-11 Ulrich Drepper <drepper@redhat.com>
* objdump.c (show_disasm): Adjust disassembler format string for
{
/* Read the file afresh. */
off64_t aroff = elf_getaroff (elf);
+ pure_elf = elf_begin (fd, ELF_C_READ_MMAP, NULL);
if (aroff > 0)
{
/* Archive member. */
elf_end (pure_elf);
pure_elf = armem;
}
- else
- pure_elf = elf_begin (fd, ELF_C_READ_MMAP, NULL);
if (pure_elf == NULL)
goto elf_error;
pure_ebl = ebl_openbackend (pure_elf);