Lines Matching defs:aout_info

3407   struct aout_final_link_info aout_info;
3423 aout_info.info = info;
3424 aout_info.output_bfd = abfd;
3425 aout_info.contents = NULL;
3426 aout_info.relocs = NULL;
3427 aout_info.symbol_map = NULL;
3428 aout_info.output_syms = NULL;
3430 if (! bfd_hash_table_init_n (&aout_info.includes.root,
3522 (*callback) (abfd, &aout_info.treloff, &aout_info.dreloff,
3523 &aout_info.symoff);
3524 obj_textsec (abfd)->rel_filepos = aout_info.treloff;
3525 obj_datasec (abfd)->rel_filepos = aout_info.dreloff;
3526 obj_sym_filepos (abfd) = aout_info.symoff;
3532 aout_info.strtab = _bfd_stringtab_init ();
3533 if (aout_info.strtab == NULL)
3537 aout_info.contents = (bfd_byte *) bfd_malloc (max_contents_size);
3538 aout_info.relocs = (PTR) bfd_malloc (max_relocs_size);
3539 aout_info.symbol_map = (int *) bfd_malloc (max_sym_count * sizeof (int *));
3540 aout_info.output_syms = ((struct external_nlist *)
3543 if ((aout_info.contents == NULL && max_contents_size != 0)
3544 || (aout_info.relocs == NULL && max_relocs_size != 0)
3545 || (aout_info.symbol_map == NULL && max_sym_count != 0)
3546 || aout_info.output_syms == NULL)
3559 aout_link_write_other_symbol (h, &aout_info);
3615 if (! aout_link_input_bfd (&aout_info, input_bfd))
3637 (PTR) &aout_info);
3654 if (! aout_link_reloc_link_order (&aout_info, o, p))
3661 if (aout_info.contents != NULL)
3663 free (aout_info.contents);
3664 aout_info.contents = NULL;
3666 if (aout_info.relocs != NULL)
3668 free (aout_info.relocs);
3669 aout_info.relocs = NULL;
3671 if (aout_info.symbol_map != NULL)
3673 free (aout_info.symbol_map);
3674 aout_info.symbol_map = NULL;
3676 if (aout_info.output_syms != NULL)
3678 free (aout_info.output_syms);
3679 aout_info.output_syms = NULL;
3683 bfd_hash_table_free (&aout_info.includes.root);
3707 || ! emit_stringtab (abfd, aout_info.strtab))
3728 if (aout_info.contents != NULL)
3729 free (aout_info.contents);
3730 if (aout_info.relocs != NULL)
3731 free (aout_info.relocs);
3732 if (aout_info.symbol_map != NULL)
3733 free (aout_info.symbol_map);
3734 if (aout_info.output_syms != NULL)
3735 free (aout_info.output_syms);
3737 bfd_hash_table_free (&aout_info.includes.root);