From: Nelson Chu Date: Tue, 24 Jun 2025 02:48:55 +0000 (+0800) Subject: RISC-V: Fxied failed testsuites when building rv32-linux X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=29cd835cb995ff9ef736d9bc18946eae3dca17e5;p=thirdparty%2Fbinutils-gdb.git RISC-V: Fxied failed testsuites when building rv32-linux --- 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