OSDN Git Service

include/elf/
authorRichard Sandiford <rsandifo@nildram.co.uk>
Thu, 10 Jul 2008 19:05:28 +0000 (19:05 +0000)
committerRichard Sandiford <rsandifo@nildram.co.uk>
Thu, 10 Jul 2008 19:05:28 +0000 (19:05 +0000)
commitf3baa769683af871e46ae000b6672ed488ac5079
treeda0050e9f662215d8d08b2e8eaba800c86dd422e
parent80b4b296d6450364e97580ddccdc21ef84bb4331
include/elf/
* mips.h (ELF_ST_IS_MIPS16, ELF_ST_SET_MIPS16): New macros.

bfd/
* elfxx-mips.c (mips_elf_check_mips16_stubs): Use ELF_ST_IS_MIPS16.
(mips_elf_calculate_relocation): Likewise.
(_bfd_mips_elf_add_symbol_hook): Likewise.
(_bfd_mips_elf_finish_dynamic_symbol): Likewise.
(_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.

opcodes/
* mips-dis.c (_print_insn_mips): Use ELF_ST_IS_MIPS16.

gas/
* config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
(mips_fix_adjustable): Likewise.
(mips_frob_file_after_relocs): Likewise.

gas/testsuite/
* gas/mips/mips16-vis-1.d, gas/mips/mips16-vis-1.s: New tests.
* gas/mips/mips.exp: Run them.
bfd/ChangeLog
bfd/elfxx-mips.c
include/elf/ChangeLog
include/elf/mips.h
opcodes/ChangeLog
opcodes/mips-dis.c