-#objdump : -s -j .data
+#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.
+#notarget: riscv*-*-*
.*: .*
-Contents of section \.data:
+Contents of section (\.data|\$DATA\$):
.* cb012ac5 012acb01 2ac5012a.*