+2017-10-18 Palmer Dabbelt <palmer@dabbelt.com>
+
+ * testsuite/gas/all/align.d: Mark as unsupported on RISC-V.
+ testsuite/gas/all/relax.d: Likewise.
+ testsuite/gas/all/sleb128-2.d: Likewise.
+ testsuite/gas/all/sleb128-4.d: Likewise.
+ testsuite/gas/all/sleb128-5.d: Likewise.
+ testsuite/gas/all/sleb128-7.d: Likewise.
+ testsuite/gas/elf/section11.d: Likewise.
+ testsuite/gas/all/gas.exp (diff1.s): Likewise.
+
2017-10-18 Nick Clifton <nickc@redhat.com>
PR gas/22304
#name: align
# The RX port will always replace zeros in any aligned area with NOPs,
# even if the user requested that they filled with zeros.
-#not-target: m32c-* rx-*
+# RISC-V handles alignment via relaxation and therefor won't have object files
+# with the expected alignment.
+#not-target: m32c-* riscv*-* rx-*
# Test the alignment pseudo-op.
&& ![istarget microblaze-*-*]
&& ![istarget mn10300-*-*]
&& ![istarget msp430*-*-*]
+ && ![istarget riscv*-*-*]
&& ![istarget rl78-*-*]
&& ![istarget rx-*-*] } then {
gas_test_error "diff1.s" "" "difference of two undefined symbols"
#objdump : -s -j .data -j "\$DATA\$"
#name : relax .uleb128
+# RISC-V doesn't support .sleb operands that are the difference of two symbols
+# because symbol values are not known until after linker relaxation has been
+# performed.
+#not-target : riscv*-*-*
.*: .*
#objdump : -s -j .data -j "\$DATA\$"
#name : .sleb128 tests (2)
+# RISC-V doesn't support .sleb operands that are the difference of two symbols
+# because symbol values are not known until after linker relaxation has been
+# performed.
+#not-target : riscv*-*-*
.*: .*
#objdump : -s -j .data -j "\$DATA\$"
#name : .sleb128 tests (4)
#skip: msp430*-*-*
+# RISC-V doesn't support .sleb operands that are the difference of two symbols
+# because symbol values are not known until after linker relaxation has been
+# performed.
+#not-target: riscv*-*-*
.*: .*
#objdump : -s -j .data -j "\$DATA\$"
#name : .sleb128 tests (5)
+# RISC-V doesn't support .sleb operands that are the difference of two symbols
+# because symbol values are not known until after linker relaxation has been
+# performed.
+#not-target : riscv*-*-*
.*: .*
#objdump : -s -j .data -j "\$DATA\$"
#name : .sleb128 tests (7)
+# RISC-V doesn't support .sleb operands that are the difference of two symbols
+# because symbol values are not known until after linker relaxation has been
+# performed.
+#not-target: riscv*-*-*
.*: .*
#name: Disabling section padding
# The RX port uses non standard section names.
#skip: rx-*-*
+# RISC-V handles alignment via linker relaxation, so object files don't have
+# the expected alignment.
+#not-target: riscv*-*-*
#...
\[ .\] .text[ ]+PROGBITS[ ]+0+00 0+[0-9a-f]+ 0+0(1|4|5) 00 AX 0 0 16