ld -plugin options when plugins are disabled
[deliverable/binutils-gdb.git] / gdb / jit.c
index 07e9ce7ae245539ab3cc08601abc34ba380bb700..1b5ef46469e0ccd41709f74e03b153d02026f24c 100644 (file)
--- a/gdb/jit.c
+++ b/gdb/jit.c
@@ -655,7 +655,7 @@ finalize_symtab (struct gdb_symtab *stab, struct objfile *objfile)
   for (gdb_block &gdb_block_iter : stab->blocks)
     {
       struct block *new_block = allocate_block (&objfile->objfile_obstack);
-      struct symbol *block_name = allocate_symbol (objfile);
+      struct symbol *block_name = new (&objfile->objfile_obstack) symbol;
       struct type *block_type = arch_type (objfile->arch (),
                                           TYPE_CODE_VOID,
                                           TARGET_CHAR_BIT,
This page took 0.025136 seconds and 4 git commands to generate.