[committed 1/3] RISC-V: Fxied failed testsuites when building rv32-linux

Nelson Chu nelson@rivosinc.com
Tue Jun 24 10:16:58 GMT 2025


---
 ld/testsuite/ld-riscv-elf/property-combine-and-1.d     | 2 +-
 ld/testsuite/ld-riscv-elf/property-combine-and-2.d     | 2 +-
 ld/testsuite/ld-riscv-elf/property-combine-and-3.d     | 2 +-
 ld/testsuite/ld-riscv-elf/property-zicfilp-unlabeled.d | 2 +-
 ld/testsuite/ld-riscv-elf/property-zicfiss.d           | 2 +-
 ld/testsuite/ld-riscv-elf/zicfilp-unlabeled-plt.d      | 2 +-
 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 9f9cf83b792..571620f848e 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 25b864665c7..23482af01af 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 52882c6fcf5..b57a0f76394 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 8aec50b5026..48d60d6fca0 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 8f2af00734a..0dec1a10db0 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 2181fc49786..bb888d163de 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
 
-- 
2.39.5 (Apple Git-154)



More information about the Binutils mailing list