Lines Matching defs:lst

2200       /* Read the lst header and determine where the SOM directory begins.  */
5903 som_bfd_ar_write_symbol_stuff (abfd, nsyms, string_size, lst, elength)
5906 struct lst_header lst;
5919 amt = lst.hash_size;
5922 if (hash_table == NULL && lst.hash_size != 0)
5925 amt = lst.module_count;
5928 if (som_dict == NULL && lst.module_count != 0)
5931 amt = lst.hash_size;
5934 if (last_hash_entry == NULL && lst.hash_size != 0)
5938 of the lst record. So save its location. */
5953 curr_som_offset = 8 + 2 * sizeof (struct ar_hdr) + lst.file_end;
6030 /* Fill in the lst symbol record. */
6054 if (hash_table[curr_lst_sym->symbol_key % lst.hash_size])
6060 tmp = last_hash_entry[curr_lst_sym->symbol_key % lst.hash_size];
6063 + lst.hash_size * 4
6064 + lst.module_count * sizeof (struct som_entry)
6070 hash_table[curr_lst_sym->symbol_key % lst.hash_size]
6072 + lst.hash_size * 4
6073 + lst.module_count * sizeof (struct som_entry)
6079 last_hash_entry[curr_lst_sym->symbol_key % lst.hash_size]
6110 amt = lst.hash_size * 4;
6115 amt = lst.module_count * sizeof (struct som_entry);
6172 struct lst_header lst;
6185 /* Account for the lst header first. */
6191 lst.system_id = CPU_PA_RISC1_0;
6192 lst.a_magic = LIBMAGIC;
6193 lst.version_id = VERSION_ID;
6194 lst.file_time.secs = 0;
6195 lst.file_time.nanosecs = 0;
6197 lst.hash_loc = lst_size;
6198 lst.hash_size = SOM_LST_HASH_SIZE;
6205 lst.module_count = 0;
6211 lst.module_count++;
6214 lst.module_limit = lst.module_count;
6215 lst.dir_loc = lst_size;
6216 lst_size += sizeof (struct som_entry) * lst.module_count;
6222 lst.export_loc = 0;
6223 lst.export_count = 0;
6224 lst.import_loc = 0;
6225 lst.aux_loc = 0;
6226 lst.aux_size = 0;
6237 lst.string_loc = lst_size;
6238 lst.string_size = stringsize;
6242 lst.free_list = 0;
6243 lst.file_end = lst_size;
6245 /* Compute the checksum. Must happen after the entire lst header
6247 p = (int *) &lst;
6248 lst.checksum = 0;
6250 lst.checksum ^= *p++;
6271 /* Now scribble out the lst header. */
6273 if (bfd_bwrite ((PTR) &lst, amt, abfd) != amt)
6277 if (!som_bfd_ar_write_symbol_stuff (abfd, nsyms, stringsize, lst, elength))