forked from Imagelibrary/binutils-gdb
Remove OBJF_REORDERED
OBJF_REORDERED is set for nearly every object format. And, despite the ominous warnings here and there, it does not seem very expensive. This patch removes the flag entirely. Reviewed-By: Andrew Burgess <aburgess@redhat.com>
This commit is contained in:
@@ -1392,10 +1392,6 @@ elf_symfile_finish (struct objfile *objfile)
|
||||
static void
|
||||
elf_symfile_init (struct objfile *objfile)
|
||||
{
|
||||
/* ELF objects may be reordered, so set OBJF_REORDERED. If we
|
||||
find this causes a significant slowdown in gdb then we could
|
||||
set it in the debug symbol readers only when necessary. */
|
||||
objfile->flags |= OBJF_REORDERED;
|
||||
}
|
||||
|
||||
/* Implementation of `sym_get_probes', as documented in symfile.h. */
|
||||
|
||||
Reference in New Issue
Block a user