Lines Matching defs:lst

2096       /* Read the lst header and determine where the SOM directory begins.  */
5826 struct lst_header lst,
5839 amt = lst.hash_size;
5842 if (hash_table == NULL && lst.hash_size != 0)
5845 amt = lst.module_count;
5848 if (som_dict == NULL && lst.module_count != 0)
5851 amt = lst.hash_size;
5854 if (last_hash_entry == NULL && lst.hash_size != 0)
5858 of the lst record. So save its location. */
5873 curr_som_offset = 8 + 2 * sizeof (struct ar_hdr) + lst.file_end;
5950 /* Fill in the lst symbol record. */
5974 if (hash_table[curr_lst_sym->symbol_key % lst.hash_size])
5980 tmp = last_hash_entry[curr_lst_sym->symbol_key % lst.hash_size];
5983 + lst.hash_size * 4
5984 + lst.module_count * sizeof (struct som_entry)
5989 hash_table[curr_lst_sym->symbol_key % lst.hash_size]
5991 + lst.hash_size * 4
5992 + lst.module_count * sizeof (struct som_entry)
5997 last_hash_entry[curr_lst_sym->symbol_key % lst.hash_size]
6028 amt = lst.hash_size * 4;
6033 amt = lst.module_count * sizeof (struct som_entry);
6089 struct lst_header lst;
6102 /* Account for the lst header first. */
6108 lst.system_id = CPU_PA_RISC1_0;
6109 lst.a_magic = LIBMAGIC;
6110 lst.version_id = VERSION_ID;
6111 lst.file_time.secs = 0;
6112 lst.file_time.nanosecs = 0;
6114 lst.hash_loc = lst_size;
6115 lst.hash_size = SOM_LST_HASH_SIZE;
6122 lst.module_count = 0;
6128 lst.module_count++;
6131 lst.module_limit = lst.module_count;
6132 lst.dir_loc = lst_size;
6133 lst_size += sizeof (struct som_entry) * lst.module_count;
6139 lst.export_loc = 0;
6140 lst.export_count = 0;
6141 lst.import_loc = 0;
6142 lst.aux_loc = 0;
6143 lst.aux_size = 0;
6154 lst.string_loc = lst_size;
6155 lst.string_size = stringsize;
6159 lst.free_list = 0;
6160 lst.file_end = lst_size;
6162 /* Compute the checksum. Must happen after the entire lst header
6164 p = (int *) &lst;
6165 lst.checksum = 0;
6167 lst.checksum ^= *p++;
6188 /* Now scribble out the lst header. */
6190 if (bfd_bwrite ((void *) &lst, amt, abfd) != amt)
6194 if (!som_bfd_ar_write_symbol_stuff (abfd, nsyms, stringsize, lst, elength))