OSDN Git Service

include/elf/
authorrsandifo <rsandifo>
Thu, 10 Jul 2008 19:05:28 +0000 (19:05 +0000)
committerrsandifo <rsandifo>
Thu, 10 Jul 2008 19:05:28 +0000 (19:05 +0000)
commiteaaea6eef66f2559974b665fac6283fbe06c9aff
treef257d5c8840cbcb5d8cb1bbbd25cd02be37b7ab1
parent7563192ab21c04c629debf5908d981e96455890a
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