]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/testsuite/gas/elf/elf.exp
Add support for RISC-V architecture.
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / elf / elf.exp
index 3e85ae21646699c3e02c465331e2ba6cffe0ee23..df9f4ba7b0fc287434c81d80e422d6a6bed70271 100644 (file)
@@ -120,12 +120,14 @@ if { [is_elf_format] } then {
     run_dump_test "group2"
     case $target_triplet in {
        { hppa64*-*-hpux* } { }
+       { riscv*-*-* } { }
        default {
            run_dump_test "groupautoa"
        }
     }
     case $target_triplet in {
        { hppa64*-*-hpux* } { }
+       { riscv*-*-* } { }
        { xtensa*-*-* } { }
        default {
            run_dump_test "groupautob"
@@ -144,6 +146,7 @@ if { [is_elf_format] } then {
        { mn10300-*-* } { }
        { msp43*-*-* } { }
        { rl78-*-* } { }
+       { riscv*-*-* } { }
        { rx-*-* } { }
        default {
            # The next test can fail if the target does not convert fixups
@@ -184,12 +187,12 @@ if { [is_elf_format] } then {
     # The non-eabi ARM ports sets it to ELFOSABI_ARM.
     # So for these targets we cannot include an IFUNC symbol type
     # in the symbol type test.
-    # The Alpha FreeBSD target does not support unique objects.
+    # We also need to exclude targets that do not support unique objects.
     if {    [istarget "*-*-hpux*"]
-        || [istarget "alpha*-*-*freebsd*"]
         || [istarget "arm*-*-*"]
         || [istarget "msp*-*-*"]
         || [istarget "visium-*-*"]
+        || ![supports_gnu_unique]
      } then {
        # hppa64 has a non-standard common directive
        if { ![istarget "hppa64*-*-hpux*"] } then {