Set LC_ALL=C rather than unsetting LC_COLLATE for sort.
[deliverable/binutils-gdb.git] / bfd / elf32-avr.c
index ee2afab8f2b52a958d8d34dddf323019c13d89f2..bab5ca0fc75f8e0947a9d15cdafa5e7bdb7566b7 100644 (file)
@@ -2590,6 +2590,7 @@ get_local_syms (bfd *input_bfd, struct bfd_link_info *info)
   unsigned int bfd_indx;
   Elf_Internal_Sym *local_syms, **all_local_syms;
   struct elf32_avr_link_hash_table *htab = avr_link_hash_table (info);
+  bfd_size_type amt;
 
   if (htab == NULL)
     return -1;
@@ -2597,7 +2598,7 @@ get_local_syms (bfd *input_bfd, struct bfd_link_info *info)
   /* We want to read in symbol extension records only once.  To do this
      we need to read in the local symbols in parallel and save them for
      later use; so hold pointers to the local symbols in an array.  */
-  bfd_size_type amt = sizeof (Elf_Internal_Sym *) * htab->bfd_count;
+  amt = sizeof (Elf_Internal_Sym *) * htab->bfd_count;
   all_local_syms = bfd_zmalloc (amt);
   htab->all_local_syms = all_local_syms;
   if (all_local_syms == NULL)
This page took 0.024293 seconds and 4 git commands to generate.