* elfcode.h (elf_link_add_object_symbols): Use *sym_hash instead
of h if we might not be doing an ELF link.
This commit is contained in:
parent
f22661eefd
commit
cd9dba7b37
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
Sat Jan 28 00:16:01 1995 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* elfcode.h (elf_link_add_object_symbols): Use *sym_hash instead
|
||||
of h if we might not be doing an ELF link.
|
||||
|
||||
Fri Jan 27 16:13:42 1995 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* elf32-mips.c (mips_elf_final_link): If the size of an input
|
||||
|
|
|
@ -4362,8 +4362,8 @@ elf_link_add_object_symbols (abfd, info)
|
|||
|
||||
/* Get the alignment of a common symbol. */
|
||||
if (sym.st_shndx == SHN_COMMON
|
||||
&& h->root.type == bfd_link_hash_common)
|
||||
h->root.u.c.alignment_power = bfd_log2 (sym.st_value);
|
||||
&& (*sym_hash)->root.type == bfd_link_hash_common)
|
||||
(*sym_hash)->root.u.c.alignment_power = bfd_log2 (sym.st_value);
|
||||
|
||||
if (info->hash->creator->flavour == bfd_target_elf_flavour)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue