diff options
author | Maciej W. Rozycki <macro@orcam.me.uk> | 2021-05-29 03:26:32 +0200 |
---|---|---|
committer | Maciej W. Rozycki <macro@orcam.me.uk> | 2021-05-29 03:26:32 +0200 |
commit | 25663db430bca74d152f6181e7f25edae1acc602 (patch) | |
tree | 25190eae7f7b786e8e7ebbbf833b2050f4da17fb /gold/testsuite/exclude_libs_test_3.c | |
parent | c445a939101ce78dfd62fdbd97906768aca2ed4d (diff) | |
download | fsf-binutils-gdb-25663db430bca74d152f6181e7f25edae1acc602.zip fsf-binutils-gdb-25663db430bca74d152f6181e7f25edae1acc602.tar.gz fsf-binutils-gdb-25663db430bca74d152f6181e7f25edae1acc602.tar.bz2 |
MIPS/GAS: Use FCSR rather than RA with CFC1/CTC1
Fix an issue caused by commit f9419b056fe2 ("MIPS gas: code cleanup"),
<https://sourceware.org/ml/binutils/2002-05/msg00192.html>, and replace
the incorrect use of RA with the CFC1 and CTC1 instructions with FCSR.
While the register referred by its number is $31 in both cases, these
instructions operate on the floating-point control register file rather
than general-purpose registers.
gas/
* config/tc-mips.c (FCSR): New macro.
(macro) <M_TRUNCWS, M_TRUNCWD>: Use it in place of RA.
Diffstat (limited to 'gold/testsuite/exclude_libs_test_3.c')
0 files changed, 0 insertions, 0 deletions