64543e1acf
* 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. |
||
---|---|---|
.. | ||
branch-misc-1.d | ||
empic1-ln.d | ||
empic1-lp.d | ||
empic1-mn.d | ||
empic1-mp.d | ||
empic1-ref.s | ||
empic1-sn.d | ||
empic1-sp.d | ||
empic1-space.s | ||
empic1-tgt.s | ||
empic2-fwd-0.d | ||
empic2-fwd-1.d | ||
empic2-fwd-tgt.s | ||
empic2-ref.s | ||
empic2-rev-0.d | ||
empic2-rev-1.d | ||
empic2-rev-tgt.s | ||
empic2-space.s | ||
emrelocs-eb.d | ||
emrelocs-el.d | ||
emrelocs.ld | ||
emrelocs1.s | ||
emrelocs2.s | ||
jr.s | ||
mips-elf-flags.exp | ||
mips-elf.exp | ||
mips16-1.d | ||
mips16-1a.s | ||
mips16-1b.s | ||
region1.d | ||
region1.t | ||
region1a.s | ||
region1b.s |