Update .MIPS.abiflags to support MIPS R6
authorMatthew Fortune <matthew.fortune@imgtec.com>
Tue, 4 Nov 2014 23:37:28 +0000 (23:37 +0000)
committerMatthew Fortune <matthew.fortune@imgtec.com>
Mon, 10 Nov 2014 10:37:40 +0000 (10:37 +0000)
commit8c4926a91872c4370042287389aef14108e39386
treea5453678e6b96476c11f78ab000a244f6221c18a
parent51c606d5c1d28e800f7bf66cc93ab6e501bd4c9f
Update .MIPS.abiflags to support MIPS R6

Backport from trunk.

bfd/

* elfxx-mips.c (update_mips_abiflags_isa): Add E_MIPS_ARCH_32R6
and E_MIPS_ARCH_64R6 support.

ld/testsuite/

* ld-mips-elf/abiflags-strip10-ph.d: New file.
* ld-mips-elf/mips-eld.exp: Run the new test.

gas/

* config/tc-mips.c (mips_elf_final_processing): Add INSN_ISA32R6
and INSN_ISA64R6 support.

gas/testsuite/

* gas/mips/elf_arch_mips32r6.d: New file.
* gas/mips/elf_arch_mips64r6.d: New file.
* gas/mips/mips.exp: Run the new tests.
bfd/ChangeLog
bfd/elfxx-mips.c
gas/ChangeLog
gas/config/tc-mips.c
gas/testsuite/ChangeLog
gas/testsuite/gas/mips/elf_arch_mips32r6.d [new file with mode: 0644]
gas/testsuite/gas/mips/elf_arch_mips64r6.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips.exp
ld/testsuite/ChangeLog
ld/testsuite/ld-mips-elf/abiflags-strip10-ph.d [new file with mode: 0644]
ld/testsuite/ld-mips-elf/mips-elf.exp