RISC-V: Report warning when linking the objects with different priv specs.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-riscv-elf / attr-merge-priv-spec-failed-05.d
index 5b9b8d08edc53547182f9b5e4d7d8c7edd4345df..cabaab68f54607ae21572bbf15369e8d2d7eabec 100644 (file)
@@ -3,4 +3,12 @@
 #source: attr-merge-priv-spec-a.s
 #as:
 #ld: -r
-#error: .*use privilege spec version 1.9.1 but the output use version 1.11.0.
+#warning: .*warning: .*use privilege spec version 1.9.1 but the output use version 1.11.0.
+#warning: .*warning: .*privilege spec version 1.9.1 can not be linked with other spec versions.
+#readelf: -A
+
+Attribute Section: riscv
+File Attributes
+  Tag_RISCV_arch: [a-zA-Z0-9_\"].*
+  Tag_RISCV_priv_spec: 1
+  Tag_RISCV_priv_spec_minor: 11
This page took 0.023904 seconds and 4 git commands to generate.