]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gas/config/tc-riscv.c
riscv: Use run-time endianess for floating point literals
authorAndreas Schwab <schwab@suse.de>
Tue, 13 Jun 2023 12:49:38 +0000 (14:49 +0200)
committerAndreas Schwab <schwab@suse.de>
Mon, 19 Jun 2023 07:15:14 +0000 (09:15 +0200)
commit71a75b51a62b5cbc12c68b9c4d1dcae0f8a59263
tree2141d27ede9c4dcc224d74deb0b27bd46b94c03f
parent39f02ae4ad8a59267d01eab69517af0f87d2e516
riscv: Use run-time endianess for floating point literals

gas/
PR binutils/30551
* config/tc-riscv.c (md_atof): Use target_big_endian instead of
TARGET_BYTES_BIG_ENDIAN.
* testsuite/gas/riscv/float-be.d: New file.
* testsuite/gas/riscv/float-le.d: New file.
* testsuite/gas/riscv/float.s: New file.
gas/config/tc-riscv.c
gas/testsuite/gas/riscv/float-be.d [new file with mode: 0644]
gas/testsuite/gas/riscv/float-le.d [new file with mode: 0644]
gas/testsuite/gas/riscv/float.s [new file with mode: 0644]