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-06.d
index dab7eb6b34d82c1ca9e2dd942cad8345a6305d00..e77474888806586055827a1061157c4ae80e5311 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.023639 seconds and 4 git commands to generate.