aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNelson Chu <nelson@rivosinc.com>2025-06-24 10:48:55 +0800
committerNelson Chu <nelson@rivosinc.com>2025-06-24 18:14:48 +0800
commit29cd835cb995ff9ef736d9bc18946eae3dca17e5 (patch)
tree9138769f94c83ff82e005e1d15d148dedefc68fb
parent9b4b518eceaa1f59acfb88013406b4203f6a3016 (diff)
downloadbinutils-29cd835cb995ff9ef736d9bc18946eae3dca17e5.zip
binutils-29cd835cb995ff9ef736d9bc18946eae3dca17e5.tar.gz
binutils-29cd835cb995ff9ef736d9bc18946eae3dca17e5.tar.bz2
RISC-V: Fxied failed testsuites when building rv32-linux
-rw-r--r--ld/testsuite/ld-riscv-elf/property-combine-and-1.d2
-rw-r--r--ld/testsuite/ld-riscv-elf/property-combine-and-2.d2
-rw-r--r--ld/testsuite/ld-riscv-elf/property-combine-and-3.d2
-rw-r--r--ld/testsuite/ld-riscv-elf/property-zicfilp-unlabeled.d2
-rw-r--r--ld/testsuite/ld-riscv-elf/property-zicfiss.d2
-rw-r--r--ld/testsuite/ld-riscv-elf/zicfilp-unlabeled-plt.d2
6 files changed, 6 insertions, 6 deletions
diff --git a/ld/testsuite/ld-riscv-elf/property-combine-and-1.d b/ld/testsuite/ld-riscv-elf/property-combine-and-1.d
index 9f9cf83..571620f 100644
--- a/ld/testsuite/ld-riscv-elf/property-combine-and-1.d
+++ b/ld/testsuite/ld-riscv-elf/property-combine-and-1.d
@@ -2,5 +2,5 @@
#source: property1.s
#source: property2.s
#as: -march=rv64g
-#ld: -shared
+#ld: -shared -melf64lriscv
#readelf: -n
diff --git a/ld/testsuite/ld-riscv-elf/property-combine-and-2.d b/ld/testsuite/ld-riscv-elf/property-combine-and-2.d
index 25b8646..23482af 100644
--- a/ld/testsuite/ld-riscv-elf/property-combine-and-2.d
+++ b/ld/testsuite/ld-riscv-elf/property-combine-and-2.d
@@ -2,7 +2,7 @@
#source: property1.s
#source: property3.s
#as: -march=rv64g
-#ld: -shared
+#ld: -shared -melf64lriscv
#readelf: -n
Displaying notes found in: .note.gnu.property
diff --git a/ld/testsuite/ld-riscv-elf/property-combine-and-3.d b/ld/testsuite/ld-riscv-elf/property-combine-and-3.d
index 52882c6..b57a0f7 100644
--- a/ld/testsuite/ld-riscv-elf/property-combine-and-3.d
+++ b/ld/testsuite/ld-riscv-elf/property-combine-and-3.d
@@ -2,7 +2,7 @@
#source: property1.s
#source: property4.s
#as: -march=rv64g
-#ld: -shared
+#ld: -shared -melf64lriscv
#readelf: -n
Displaying notes found in: .note.gnu.property
diff --git a/ld/testsuite/ld-riscv-elf/property-zicfilp-unlabeled.d b/ld/testsuite/ld-riscv-elf/property-zicfilp-unlabeled.d
index 8aec50b..48d60d6 100644
--- a/ld/testsuite/ld-riscv-elf/property-zicfilp-unlabeled.d
+++ b/ld/testsuite/ld-riscv-elf/property-zicfilp-unlabeled.d
@@ -1,7 +1,7 @@
#name: GNU Property (single input, CFI_LP_UNLABELED)
#source: property-zicfilp-unlabeled.s
#as: -march=rv64g
-#ld: -shared
+#ld: -shared -melf64lriscv
#readelf: -n
Displaying notes found in: .note.gnu.property
diff --git a/ld/testsuite/ld-riscv-elf/property-zicfiss.d b/ld/testsuite/ld-riscv-elf/property-zicfiss.d
index 8f2af00..0dec1a1 100644
--- a/ld/testsuite/ld-riscv-elf/property-zicfiss.d
+++ b/ld/testsuite/ld-riscv-elf/property-zicfiss.d
@@ -1,7 +1,7 @@
#name: GNU Property (single input, CFI_SS)
#source: property-zicfiss.s
#as: -march=rv64g
-#ld: -shared
+#ld: -shared -melf64lriscv
#readelf: -n
Displaying notes found in: .note.gnu.property
diff --git a/ld/testsuite/ld-riscv-elf/zicfilp-unlabeled-plt.d b/ld/testsuite/ld-riscv-elf/zicfilp-unlabeled-plt.d
index 2181fc4..bb888d1 100644
--- a/ld/testsuite/ld-riscv-elf/zicfilp-unlabeled-plt.d
+++ b/ld/testsuite/ld-riscv-elf/zicfilp-unlabeled-plt.d
@@ -1,6 +1,6 @@
#name: Unlabled landing pad PLT
#source: zicfilp-unlabeled-plt.s
-#ld: -shared
+#ld: -shared -melf64lriscv
#objdump: -dr -j .plt
#as: -march=rv64gc_zicfilp