diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-06-26 05:27:56 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-06-26 05:27:56 +0000 |
commit | 8211c929862c3a182eb99637ebf2117c4cbd5c23 (patch) | |
tree | 2ec11348e10a191533a8850f5dd07b8dcaedd9bd /bfd/elflink.h | |
parent | 662cc41eafa15f94499988b0e1c9a9ffc0afc39e (diff) | |
download | gdb-8211c929862c3a182eb99637ebf2117c4cbd5c23.zip gdb-8211c929862c3a182eb99637ebf2117c4cbd5c23.tar.gz gdb-8211c929862c3a182eb99637ebf2117c4cbd5c23.tar.bz2 |
* elflink.h (elf_link_output_extsym): Use the right section for a
common symbol.
* elf32-mips.c (mips_elf_link_output_symbol_hook): If a common
symbol was in .scommon, mark it as SHN_MIPS_SCOMMON.
PR 12697.
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r-- | bfd/elflink.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h index d0fccf3..82e10d2 100644 --- a/bfd/elflink.h +++ b/bfd/elflink.h @@ -4277,7 +4277,7 @@ elf_link_output_extsym (h, data) break; case bfd_link_hash_common: - input_sec = bfd_com_section_ptr; + input_sec = h->root.u.c.p->section; sym.st_shndx = SHN_COMMON; sym.st_value = 1 << h->root.u.c.p->alignment_power; break; |