]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
MIPS objdump: Add `eabi32` and `eabi64` ABI options
authorAnghelo Carvajal <angheloalf95@gmail.com>
Sat, 15 Feb 2025 01:30:58 +0000 (01:30 +0000)
committerMaciej W. Rozycki <macro@orcam.me.uk>
Sat, 15 Feb 2025 01:30:58 +0000 (01:30 +0000)
commitcaaa18f2128471cfaeda047d0725bef08daeb510
tree9087d9a9fbafbf04e2de3011df60b4ab2bcd8cbc
parente8f545e985bafcbecd63af180d08f96d7b9f7f5d
MIPS objdump: Add `eabi32` and `eabi64` ABI options

Extend gpr and fpr register names with names suitable for both EABIs.

Heavily inspired by the EABI documenation written by Eric Christopher,
which can be read at
https://sourceware.org/legacy-ml/binutils/2003-06/msg00436.html

2025-02-15  Anghelo Carvajal  <angheloalf95@gmail.com>

* mips-dis.c (mips_fpr_names_eabi32): New variable.
(mips_fpr_names_eabi64): New variable.
(mips_abi_choices): Add "eabi32" and "eabi64" options.

Signed-off-by: Anghelo Carvajal <angheloalf95@gmail.com>
gas/testsuite/gas/mips/fpr-names-eabi32.d [new file with mode: 0644]
gas/testsuite/gas/mips/fpr-names-eabi64.d [new file with mode: 0644]
gas/testsuite/gas/mips/gpr-names-eabi32.d [new file with mode: 0644]
gas/testsuite/gas/mips/gpr-names-eabi64.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips.exp
opcodes/mips-dis.c