- unsigned int hash_table[lst.hash_size];
- struct som_entry som_dict[lst.module_count];
- struct lst_symbol_record *last_hash_entry[lst.hash_size];
+ unsigned int *hash_table =
+ (unsigned int *) alloca (lst.hash_size * sizeof (unsigned int));
+ struct som_entry *som_dict =
+ (struct som_entry *) alloca (lst.module_count
+ * sizeof (struct som_entry));
+ struct lst_symbol_record **last_hash_entry =
+ ((struct lst_symbol_record **)
+ alloca (lst.hash_size * sizeof (struct lst_symbol_record *)));