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-04.d
index 0efee3ce24a8c7a2da936f2d5239515177216a79..2328807086190abbd8147faf24c4d93423e3f65f 100644 (file)
@@ -3,4 +3,12 @@
 #source: attr-merge-priv-spec-c.s
 #as:
 #ld: -r
-#error: .*use privilege spec version 1.11.0 but the output use version 1.9.1.
+#warning: .*warning: .*use privilege spec version 1.11.0 but the output use version 1.9.1.
+#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.041541 seconds and 4 git commands to generate.