include/elf/
authorRichard Sandiford <rdsandiford@googlemail.com>
Thu, 10 Jul 2008 19:05:29 +0000 (19:05 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Thu, 10 Jul 2008 19:05:29 +0000 (19:05 +0000)
commit30c090907953c55bb80ec4af160054776d32303e
treeb16f1fae33fd1f6a46e43a584a64e364853680ae
parente0a3ce09eda6da9d3242ec79da937b156bf593fd
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.
12 files changed:
bfd/ChangeLog
bfd/elfxx-mips.c
gas/ChangeLog
gas/config/tc-mips.c
gas/testsuite/ChangeLog
gas/testsuite/gas/mips/mips.exp
gas/testsuite/gas/mips/mips16-vis-1.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16-vis-1.s [new file with mode: 0644]
include/elf/ChangeLog
include/elf/mips.h
opcodes/ChangeLog
opcodes/mips-dis.c