]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/elfxx-mips.c
PR 1150
authorNick Clifton <nickc@redhat.com>
Fri, 11 Nov 2005 11:06:34 +0000 (11:06 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 11 Nov 2005 11:06:34 +0000 (11:06 +0000)
commit5e2b0d475efa4aa40e098f49074f3c2afd854f48
treecb92876512ba88783179472896ed5039b98690c5
parentff1e98b937b0538db997dcf79867f799152d7d33
PR 1150
* readelf.c (get_mips_symbol_other): New function.
  (get_symbol_other): New function.
  (process_symbol_table): Call get_symbol_other() to get a description of the
    st_other field if it contains more information than just the visibility.
* elfxx-mips.c (mips_elf_calculate_relocation): Ignore an undefined symbol if
    it is optional.
  (_bfd_mips_elf_merge_symbol_attribute): Make sure that the optional flag is
    merged as well as the visibility.
* elfxx-mips.h (_bfd_mips_elf_merge_symbol_attribute): Prototype.
  (elf_backend_merge_symbol_attribute): Define.
* mips.h (STO_OPTIONAL): Define.
  (ELF_MIPS_IS_OPTIONAL): Define.
bfd/ChangeLog
bfd/elfxx-mips.c
bfd/elfxx-mips.h
binutils/ChangeLog
binutils/readelf.c
include/elf/ChangeLog
include/elf/mips.h