0038-RISC-V-Remove-ld-testcases-which-should-be-better-to.patch 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. From 31eeed0afbce4c38d140b48cda1c379d18a67bef Mon Sep 17 00:00:00 2001
  2. From: Nelson Chu <nelson.chu@sifive.com>
  3. Date: Thu, 3 Dec 2020 16:17:40 +0800
  4. Subject: [PATCH 38/48] RISC-V: Remove ld testcases which should be better to
  5. put into gas.
  6. ---
  7. ld/testsuite/ld-riscv-elf/attr-dupl-arch-z-failed-01.d | 3 ---
  8. ld/testsuite/ld-riscv-elf/attr-dupl-arch-z-failed-01.s | 1 -
  9. ld/testsuite/ld-riscv-elf/attr-order-arch-z-failed-01.d | 3 ---
  10. ld/testsuite/ld-riscv-elf/attr-order-arch-z-failed-01.s | 1 -
  11. ld/testsuite/ld-riscv-elf/attr-order-arch-z-failed-02.d | 3 ---
  12. ld/testsuite/ld-riscv-elf/attr-order-arch-z-failed-02.s | 1 -
  13. ld/testsuite/ld-riscv-elf/attr-tooshort-arch-z-failed-01.d | 3 ---
  14. ld/testsuite/ld-riscv-elf/attr-tooshort-arch-z-failed-01.s | 1 -
  15. ld/testsuite/ld-riscv-elf/attr-unknown-arch-z-failed-01.d | 3 ---
  16. ld/testsuite/ld-riscv-elf/attr-unknown-arch-z-failed-01.s | 1 -
  17. ld/testsuite/ld-riscv-elf/ld-riscv-elf.exp | 6 ------
  18. 11 files changed, 26 deletions(-)
  19. delete mode 100644 ld/testsuite/ld-riscv-elf/attr-dupl-arch-z-failed-01.d
  20. delete mode 100644 ld/testsuite/ld-riscv-elf/attr-dupl-arch-z-failed-01.s
  21. delete mode 100644 ld/testsuite/ld-riscv-elf/attr-order-arch-z-failed-01.d
  22. delete mode 100644 ld/testsuite/ld-riscv-elf/attr-order-arch-z-failed-01.s
  23. delete mode 100644 ld/testsuite/ld-riscv-elf/attr-order-arch-z-failed-02.d
  24. delete mode 100644 ld/testsuite/ld-riscv-elf/attr-order-arch-z-failed-02.s
  25. delete mode 100644 ld/testsuite/ld-riscv-elf/attr-tooshort-arch-z-failed-01.d
  26. delete mode 100644 ld/testsuite/ld-riscv-elf/attr-tooshort-arch-z-failed-01.s
  27. delete mode 100644 ld/testsuite/ld-riscv-elf/attr-unknown-arch-z-failed-01.d
  28. delete mode 100644 ld/testsuite/ld-riscv-elf/attr-unknown-arch-z-failed-01.s
  29. diff --git a/ld/testsuite/ld-riscv-elf/attr-dupl-arch-z-failed-01.d b/ld/testsuite/ld-riscv-elf/attr-dupl-arch-z-failed-01.d
  30. deleted file mode 100644
  31. index 20b4530f0a..0000000000
  32. --- a/ld/testsuite/ld-riscv-elf/attr-dupl-arch-z-failed-01.d
  33. +++ /dev/null
  34. @@ -1,3 +0,0 @@
  35. -#source: attr-dupl-arch-z-failed-01.s
  36. -#as: -march-attr
  37. -#error: -march=rv32i2p0_zbc_zbc: Duplicate Z ISA extension: 'zbc'
  38. diff --git a/ld/testsuite/ld-riscv-elf/attr-dupl-arch-z-failed-01.s b/ld/testsuite/ld-riscv-elf/attr-dupl-arch-z-failed-01.s
  39. deleted file mode 100644
  40. index 96d67e1833..0000000000
  41. --- a/ld/testsuite/ld-riscv-elf/attr-dupl-arch-z-failed-01.s
  42. +++ /dev/null
  43. @@ -1 +0,0 @@
  44. - .attribute arch, "rv32i2p0_zbc_zbc"
  45. diff --git a/ld/testsuite/ld-riscv-elf/attr-order-arch-z-failed-01.d b/ld/testsuite/ld-riscv-elf/attr-order-arch-z-failed-01.d
  46. deleted file mode 100644
  47. index 809d8ba607..0000000000
  48. --- a/ld/testsuite/ld-riscv-elf/attr-order-arch-z-failed-01.d
  49. +++ /dev/null
  50. @@ -1,3 +0,0 @@
  51. -#source: attr-order-arch-z-failed-01.s
  52. -#as: -march-attr
  53. -#error: -march=rv32i2p0_zbc_zbb: Z ISA extension not in alphabetical order: 'zbb' must come before 'zbc'.
  54. diff --git a/ld/testsuite/ld-riscv-elf/attr-order-arch-z-failed-01.s b/ld/testsuite/ld-riscv-elf/attr-order-arch-z-failed-01.s
  55. deleted file mode 100644
  56. index e31e3766ca..0000000000
  57. --- a/ld/testsuite/ld-riscv-elf/attr-order-arch-z-failed-01.s
  58. +++ /dev/null
  59. @@ -1 +0,0 @@
  60. - .attribute arch, "rv32i2p0_zbc_zbb"
  61. diff --git a/ld/testsuite/ld-riscv-elf/attr-order-arch-z-failed-02.d b/ld/testsuite/ld-riscv-elf/attr-order-arch-z-failed-02.d
  62. deleted file mode 100644
  63. index 19a5482300..0000000000
  64. --- a/ld/testsuite/ld-riscv-elf/attr-order-arch-z-failed-02.d
  65. +++ /dev/null
  66. @@ -1,3 +0,0 @@
  67. -#source: attr-order-arch-z-failed-02.s
  68. -#as: -march-attr
  69. -#error: -march=rv32i2p0_xsillyname_zbb: unexpected ISA string at end: zbb
  70. diff --git a/ld/testsuite/ld-riscv-elf/attr-order-arch-z-failed-02.s b/ld/testsuite/ld-riscv-elf/attr-order-arch-z-failed-02.s
  71. deleted file mode 100644
  72. index b1abe26891..0000000000
  73. --- a/ld/testsuite/ld-riscv-elf/attr-order-arch-z-failed-02.s
  74. +++ /dev/null
  75. @@ -1 +0,0 @@
  76. - .attribute arch, "rv32i2p0_xsillyname_zbb"
  77. diff --git a/ld/testsuite/ld-riscv-elf/attr-tooshort-arch-z-failed-01.d b/ld/testsuite/ld-riscv-elf/attr-tooshort-arch-z-failed-01.d
  78. deleted file mode 100644
  79. index 4a6885db5e..0000000000
  80. --- a/ld/testsuite/ld-riscv-elf/attr-tooshort-arch-z-failed-01.d
  81. +++ /dev/null
  82. @@ -1,3 +0,0 @@
  83. -#source: attr-tooshort-arch-z-failed-01.s
  84. -#as: -march-attr
  85. -#error: -march=rv32i2p0_z: Literal 'z' is an invalid Z ISA extension specifier.
  86. diff --git a/ld/testsuite/ld-riscv-elf/attr-tooshort-arch-z-failed-01.s b/ld/testsuite/ld-riscv-elf/attr-tooshort-arch-z-failed-01.s
  87. deleted file mode 100644
  88. index 7ca87fabf4..0000000000
  89. --- a/ld/testsuite/ld-riscv-elf/attr-tooshort-arch-z-failed-01.s
  90. +++ /dev/null
  91. @@ -1 +0,0 @@
  92. - .attribute arch, "rv32i2p0_z"
  93. diff --git a/ld/testsuite/ld-riscv-elf/attr-unknown-arch-z-failed-01.d b/ld/testsuite/ld-riscv-elf/attr-unknown-arch-z-failed-01.d
  94. deleted file mode 100644
  95. index 343db87a41..0000000000
  96. --- a/ld/testsuite/ld-riscv-elf/attr-unknown-arch-z-failed-01.d
  97. +++ /dev/null
  98. @@ -1,3 +0,0 @@
  99. -#source: attr-unknown-arch-z-failed-01.s
  100. -#as: -march-attr
  101. -#error: -march=rv32i2p0_zsillyname: Unknown Z ISA extension: 'zsillyname'
  102. diff --git a/ld/testsuite/ld-riscv-elf/attr-unknown-arch-z-failed-01.s b/ld/testsuite/ld-riscv-elf/attr-unknown-arch-z-failed-01.s
  103. deleted file mode 100644
  104. index 6e16bef91d..0000000000
  105. --- a/ld/testsuite/ld-riscv-elf/attr-unknown-arch-z-failed-01.s
  106. +++ /dev/null
  107. @@ -1 +0,0 @@
  108. - .attribute arch, "rv32i2p0_zsillyname"
  109. diff --git a/ld/testsuite/ld-riscv-elf/ld-riscv-elf.exp b/ld/testsuite/ld-riscv-elf/ld-riscv-elf.exp
  110. index 4df5d740e1..2c008d4c35 100644
  111. --- a/ld/testsuite/ld-riscv-elf/ld-riscv-elf.exp
  112. +++ b/ld/testsuite/ld-riscv-elf/ld-riscv-elf.exp
  113. @@ -47,12 +47,6 @@ if [istarget "riscv*-*-*"] {
  114. run_dump_test "attr-merge-priv-spec-failed-04"
  115. run_dump_test "attr-merge-priv-spec-failed-05"
  116. run_dump_test "attr-merge-priv-spec-failed-06"
  117. - run_dump_test "attr-merge-arch-z-failed-01"
  118. - run_dump_test "attr-dupl-arch-z-failed-01"
  119. - run_dump_test "attr-order-arch-z-failed-01"
  120. - run_dump_test "attr-order-arch-z-failed-02"
  121. - run_dump_test "attr-tooshort-arch-z-failed-01"
  122. - run_dump_test "attr-unknown-arch-z-failed-01"
  123. run_ld_link_tests {
  124. { "Weak reference 32" "-T weakref.ld -melf32lriscv" ""
  125. "-march=rv32i -mabi=ilp32" {weakref32.s}
  126. --
  127. 2.33.0