OSDN Git Service

PR 1150
authornickc <nickc>
Fri, 11 Nov 2005 11:06:31 +0000 (11:06 +0000)
committernickc <nickc>
Fri, 11 Nov 2005 11:06:31 +0000 (11:06 +0000)
commitc7bb5749d646a9a70c0ad5f51eee5cee426f07a9
tree505abd14c1ae928c6d7eff7447e008ed598082cf
parent7b3cfb50d59b2dd5a4bfe2857114d33d33c03d3a
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