Skip to content

Commit 0f0b6ce

Browse files
author
Nelson Chu
committed
RISC-V: Fixed more testcases for --with-arch and --with-abi
Same as cabae1c
1 parent 75aeaa5 commit 0f0b6ce

File tree

5 files changed

+5
-1
lines changed

5 files changed

+5
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# The csr is explicit used, so we need to generate the priv spec
22
# attributes even if the attributes are not set.
3+
.option arch, +zicsr
34
csrr a0, 0x0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
.option arch, +zicsr
12
csrr a0, nonexistent

gas/testsuite/gas/riscv/fmv.x.s

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.option arch, +f
12
fmv.x.w a2, fs7
23
fmv.x.s a2, fs7
34
fmv.w.x ft1, a6

gas/testsuite/gas/riscv/fsxxi.s

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.option arch, +f
12
fsrmi x10, 0x1f
23
fsrmi 0x1e
34
fsflagsi x14, 0x1d
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#source: shared-lib-nopic-02.s
22
#as:
33
#ld: -shared
4-
#error: .*relocation R_RISCV_JAL against `foo_default' which may bind externally can not be used when making a shared object; recompile with -fPIC
4+
#error: .*relocation (R_RISCV_RVC_JUMP|R_RISCV_JAL) against `foo_default' which may bind externally can not be used when making a shared object; recompile with -fPIC

0 commit comments

Comments
 (0)