OSDN Git Service

bfd/
authorrsandifo <rsandifo>
Thu, 2 Jan 2003 21:31:28 +0000 (21:31 +0000)
committerrsandifo <rsandifo>
Thu, 2 Jan 2003 21:31:28 +0000 (21:31 +0000)
commite4bc8915f0821367743f4e187617c376315dff1e
treeb99bbb31d984d0d641982fa840a395d2cb1b6883
parent37fc3eab3cb150bfbfe2b2a6b54d5fbe3ef91648
bfd/
* elfxx-mips.c: Include libiberty.h.
(elf_mips_isa, _bfd_mips_elf_mach_extends_p): Remove.
(mips_set_isa_flags): New function, split out from...
(_bfd_mips_elf_final_write_processing): ...here.  Only call
mips_set_isa_flags if the EF_MIPS_MACH bits are clear.
(mips_mach_extensions): New array.
(mips_32bit_flags_p): New function.
(_bfd_mips_elf_merge_private_bfd_data): Rework architecture checks.
Use mips_32bit_flags_p to check if one binary is 32-bit and the
other is 64-bit.  When adopting IBFD's architecture, adopt the
bfd_mach as well as the flags.

ld/testsuite/
* ld-mips-elf/jr.s: New file.
* ld-mips-elf/mips-elf-flags.exp: New test.
bfd/ChangeLog
bfd/elfxx-mips.c
ld/testsuite/ChangeLog
ld/testsuite/ld-mips-elf/jr.s [new file with mode: 0644]
ld/testsuite/ld-mips-elf/mips-elf-flags.exp [new file with mode: 0644]