aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKito Cheng <kito.cheng@sifive.com>2019-07-23 01:47:55 -0700
committerKito Cheng <kito.cheng@sifive.com>2019-07-23 01:48:44 -0700
commit490bb249f38c5cf82e13490b0ebc12c0eb2b6f81 (patch)
treeed4de273fa7996a4fc31dfbac0fa08ade549308b /test
parent07f5d751f84a18c549a74358967c7ed346a48524 (diff)
downloadriscv-gnu-toolchain-490bb249f38c5cf82e13490b0ebc12c0eb2b6f81.zip
riscv-gnu-toolchain-490bb249f38c5cf82e13490b0ebc12c0eb2b6f81.tar.gz
riscv-gnu-toolchain-490bb249f38c5cf82e13490b0ebc12c0eb2b6f81.tar.bz2
Apply new whitelist scheme for binutils
Diffstat (limited to 'test')
-rw-r--r--test/binutils-linux/rv32imac-ilp32.log14
-rw-r--r--test/binutils-linux/rv32imafdc-ilp32.log14
-rw-r--r--test/binutils-linux/rv32imafdc-ilp32d.log4
-rw-r--r--test/binutils-linux/rv64imac-lp64.log14
-rw-r--r--test/binutils-linux/rv64imafdc-lp64.log14
-rw-r--r--test/binutils-linux/rv64imafdc-lp64d.log4
-rw-r--r--test/binutils-newlib/rv32i-ilp32.log14
-rw-r--r--test/binutils-newlib/rv32iac-ilp32.log14
-rw-r--r--test/binutils-newlib/rv32im-ilp32.log14
-rw-r--r--test/binutils-newlib/rv32imac-ilp32.log14
-rw-r--r--test/binutils-newlib/rv32imafc-ilp32f.log14
-rw-r--r--test/binutils-newlib/rv64imac-lp64.log14
-rw-r--r--test/binutils-newlib/rv64imafdc-lp64d.log4
-rw-r--r--test/whitelist/binutils/common.log18
-rw-r--r--test/whitelist/binutils/glibc.log6
-rw-r--r--test/whitelist/binutils/newlib.log9
16 files changed, 33 insertions, 152 deletions
diff --git a/test/binutils-linux/rv32imac-ilp32.log b/test/binutils-linux/rv32imac-ilp32.log
deleted file mode 100644
index c02de75..0000000
--- a/test/binutils-linux/rv32imac-ilp32.log
+++ /dev/null
@@ -1,14 +0,0 @@
-build-binutils-linux/ld/ld.sum:FAIL: Build pr22263-1
-build-binutils-linux/ld/ld.sum:FAIL: --gc-sections with --defsym
-build-binutils-linux/ld/ld.sum:FAIL: --gc-sections with KEEP
-build-binutils-linux/ld/ld.sum:FAIL: --gc-sections with __start_SECTIONNAME
-build-binutils-linux/ld/ld.sum:FAIL: indirect5c dynsym
-build-binutils-linux/ld/ld.sum:FAIL: indirect5d dynsym
-build-binutils-linux/ld/ld.sum:FAIL: ld-plugin/lto-3r
-build-binutils-linux/ld/ld.sum:FAIL: ld-plugin/lto-5r
-build-binutils-linux/ld/ld.sum:FAIL: ld-scripts/size-1
-build-binutils-linux/ld/ld.sum:FAIL: LTO 3b
-build-binutils-linux/ld/ld.sum:FAIL: LTO 5
-build-binutils-linux/ld/ld.sum:FAIL: LTO 5 symbol
-build-binutils-linux/ld/ld.sum:FAIL: PR ld/19317 (2)
-build-binutils-linux/ld/ld.sum:FAIL: PR ld/19317 (3)
diff --git a/test/binutils-linux/rv32imafdc-ilp32.log b/test/binutils-linux/rv32imafdc-ilp32.log
deleted file mode 100644
index c02de75..0000000
--- a/test/binutils-linux/rv32imafdc-ilp32.log
+++ /dev/null
@@ -1,14 +0,0 @@
-build-binutils-linux/ld/ld.sum:FAIL: Build pr22263-1
-build-binutils-linux/ld/ld.sum:FAIL: --gc-sections with --defsym
-build-binutils-linux/ld/ld.sum:FAIL: --gc-sections with KEEP
-build-binutils-linux/ld/ld.sum:FAIL: --gc-sections with __start_SECTIONNAME
-build-binutils-linux/ld/ld.sum:FAIL: indirect5c dynsym
-build-binutils-linux/ld/ld.sum:FAIL: indirect5d dynsym
-build-binutils-linux/ld/ld.sum:FAIL: ld-plugin/lto-3r
-build-binutils-linux/ld/ld.sum:FAIL: ld-plugin/lto-5r
-build-binutils-linux/ld/ld.sum:FAIL: ld-scripts/size-1
-build-binutils-linux/ld/ld.sum:FAIL: LTO 3b
-build-binutils-linux/ld/ld.sum:FAIL: LTO 5
-build-binutils-linux/ld/ld.sum:FAIL: LTO 5 symbol
-build-binutils-linux/ld/ld.sum:FAIL: PR ld/19317 (2)
-build-binutils-linux/ld/ld.sum:FAIL: PR ld/19317 (3)
diff --git a/test/binutils-linux/rv32imafdc-ilp32d.log b/test/binutils-linux/rv32imafdc-ilp32d.log
deleted file mode 100644
index bbe67b5..0000000
--- a/test/binutils-linux/rv32imafdc-ilp32d.log
+++ /dev/null
@@ -1,4 +0,0 @@
-build-binutils-linux/ld/ld.sum:FAIL: Build pr22263-1
-build-binutils-linux/ld/ld.sum:FAIL: indirect5c dynsym
-build-binutils-linux/ld/ld.sum:FAIL: indirect5d dynsym
-build-binutils-linux/ld/ld.sum:FAIL: ld-scripts/size-1
diff --git a/test/binutils-linux/rv64imac-lp64.log b/test/binutils-linux/rv64imac-lp64.log
deleted file mode 100644
index c02de75..0000000
--- a/test/binutils-linux/rv64imac-lp64.log
+++ /dev/null
@@ -1,14 +0,0 @@
-build-binutils-linux/ld/ld.sum:FAIL: Build pr22263-1
-build-binutils-linux/ld/ld.sum:FAIL: --gc-sections with --defsym
-build-binutils-linux/ld/ld.sum:FAIL: --gc-sections with KEEP
-build-binutils-linux/ld/ld.sum:FAIL: --gc-sections with __start_SECTIONNAME
-build-binutils-linux/ld/ld.sum:FAIL: indirect5c dynsym
-build-binutils-linux/ld/ld.sum:FAIL: indirect5d dynsym
-build-binutils-linux/ld/ld.sum:FAIL: ld-plugin/lto-3r
-build-binutils-linux/ld/ld.sum:FAIL: ld-plugin/lto-5r
-build-binutils-linux/ld/ld.sum:FAIL: ld-scripts/size-1
-build-binutils-linux/ld/ld.sum:FAIL: LTO 3b
-build-binutils-linux/ld/ld.sum:FAIL: LTO 5
-build-binutils-linux/ld/ld.sum:FAIL: LTO 5 symbol
-build-binutils-linux/ld/ld.sum:FAIL: PR ld/19317 (2)
-build-binutils-linux/ld/ld.sum:FAIL: PR ld/19317 (3)
diff --git a/test/binutils-linux/rv64imafdc-lp64.log b/test/binutils-linux/rv64imafdc-lp64.log
deleted file mode 100644
index c02de75..0000000
--- a/test/binutils-linux/rv64imafdc-lp64.log
+++ /dev/null
@@ -1,14 +0,0 @@
-build-binutils-linux/ld/ld.sum:FAIL: Build pr22263-1
-build-binutils-linux/ld/ld.sum:FAIL: --gc-sections with --defsym
-build-binutils-linux/ld/ld.sum:FAIL: --gc-sections with KEEP
-build-binutils-linux/ld/ld.sum:FAIL: --gc-sections with __start_SECTIONNAME
-build-binutils-linux/ld/ld.sum:FAIL: indirect5c dynsym
-build-binutils-linux/ld/ld.sum:FAIL: indirect5d dynsym
-build-binutils-linux/ld/ld.sum:FAIL: ld-plugin/lto-3r
-build-binutils-linux/ld/ld.sum:FAIL: ld-plugin/lto-5r
-build-binutils-linux/ld/ld.sum:FAIL: ld-scripts/size-1
-build-binutils-linux/ld/ld.sum:FAIL: LTO 3b
-build-binutils-linux/ld/ld.sum:FAIL: LTO 5
-build-binutils-linux/ld/ld.sum:FAIL: LTO 5 symbol
-build-binutils-linux/ld/ld.sum:FAIL: PR ld/19317 (2)
-build-binutils-linux/ld/ld.sum:FAIL: PR ld/19317 (3)
diff --git a/test/binutils-linux/rv64imafdc-lp64d.log b/test/binutils-linux/rv64imafdc-lp64d.log
deleted file mode 100644
index bbe67b5..0000000
--- a/test/binutils-linux/rv64imafdc-lp64d.log
+++ /dev/null
@@ -1,4 +0,0 @@
-build-binutils-linux/ld/ld.sum:FAIL: Build pr22263-1
-build-binutils-linux/ld/ld.sum:FAIL: indirect5c dynsym
-build-binutils-linux/ld/ld.sum:FAIL: indirect5d dynsym
-build-binutils-linux/ld/ld.sum:FAIL: ld-scripts/size-1
diff --git a/test/binutils-newlib/rv32i-ilp32.log b/test/binutils-newlib/rv32i-ilp32.log
deleted file mode 100644
index 966cf6d..0000000
--- a/test/binutils-newlib/rv32i-ilp32.log
+++ /dev/null
@@ -1,14 +0,0 @@
-build-binutils-newlib/ld/ld.sum:FAIL: Build libpr23818.so
-build-binutils-newlib/ld/ld.sum:FAIL: Build libpr23958.so
-build-binutils-newlib/ld/ld.sum:FAIL: Build pr22983
-build-binutils-newlib/ld/ld.sum:FAIL: --gc-sections with --defsym
-build-binutils-newlib/ld/ld.sum:FAIL: --gc-sections with KEEP
-build-binutils-newlib/ld/ld.sum:FAIL: --gc-sections with __start_SECTIONNAME
-build-binutils-newlib/ld/ld.sum:FAIL: ld-plugin/lto-3r
-build-binutils-newlib/ld/ld.sum:FAIL: ld-plugin/lto-5r
-build-binutils-newlib/ld/ld.sum:FAIL: ld-scripts/size-1
-build-binutils-newlib/ld/ld.sum:FAIL: LTO 3b
-build-binutils-newlib/ld/ld.sum:FAIL: LTO 5
-build-binutils-newlib/ld/ld.sum:FAIL: LTO 5 symbol
-build-binutils-newlib/ld/ld.sum:FAIL: PR ld/19317 (2)
-build-binutils-newlib/ld/ld.sum:FAIL: PR ld/19317 (3)
diff --git a/test/binutils-newlib/rv32iac-ilp32.log b/test/binutils-newlib/rv32iac-ilp32.log
deleted file mode 100644
index 966cf6d..0000000
--- a/test/binutils-newlib/rv32iac-ilp32.log
+++ /dev/null
@@ -1,14 +0,0 @@
-build-binutils-newlib/ld/ld.sum:FAIL: Build libpr23818.so
-build-binutils-newlib/ld/ld.sum:FAIL: Build libpr23958.so
-build-binutils-newlib/ld/ld.sum:FAIL: Build pr22983
-build-binutils-newlib/ld/ld.sum:FAIL: --gc-sections with --defsym
-build-binutils-newlib/ld/ld.sum:FAIL: --gc-sections with KEEP
-build-binutils-newlib/ld/ld.sum:FAIL: --gc-sections with __start_SECTIONNAME
-build-binutils-newlib/ld/ld.sum:FAIL: ld-plugin/lto-3r
-build-binutils-newlib/ld/ld.sum:FAIL: ld-plugin/lto-5r
-build-binutils-newlib/ld/ld.sum:FAIL: ld-scripts/size-1
-build-binutils-newlib/ld/ld.sum:FAIL: LTO 3b
-build-binutils-newlib/ld/ld.sum:FAIL: LTO 5
-build-binutils-newlib/ld/ld.sum:FAIL: LTO 5 symbol
-build-binutils-newlib/ld/ld.sum:FAIL: PR ld/19317 (2)
-build-binutils-newlib/ld/ld.sum:FAIL: PR ld/19317 (3)
diff --git a/test/binutils-newlib/rv32im-ilp32.log b/test/binutils-newlib/rv32im-ilp32.log
deleted file mode 100644
index 966cf6d..0000000
--- a/test/binutils-newlib/rv32im-ilp32.log
+++ /dev/null
@@ -1,14 +0,0 @@
-build-binutils-newlib/ld/ld.sum:FAIL: Build libpr23818.so
-build-binutils-newlib/ld/ld.sum:FAIL: Build libpr23958.so
-build-binutils-newlib/ld/ld.sum:FAIL: Build pr22983
-build-binutils-newlib/ld/ld.sum:FAIL: --gc-sections with --defsym
-build-binutils-newlib/ld/ld.sum:FAIL: --gc-sections with KEEP
-build-binutils-newlib/ld/ld.sum:FAIL: --gc-sections with __start_SECTIONNAME
-build-binutils-newlib/ld/ld.sum:FAIL: ld-plugin/lto-3r
-build-binutils-newlib/ld/ld.sum:FAIL: ld-plugin/lto-5r
-build-binutils-newlib/ld/ld.sum:FAIL: ld-scripts/size-1
-build-binutils-newlib/ld/ld.sum:FAIL: LTO 3b
-build-binutils-newlib/ld/ld.sum:FAIL: LTO 5
-build-binutils-newlib/ld/ld.sum:FAIL: LTO 5 symbol
-build-binutils-newlib/ld/ld.sum:FAIL: PR ld/19317 (2)
-build-binutils-newlib/ld/ld.sum:FAIL: PR ld/19317 (3)
diff --git a/test/binutils-newlib/rv32imac-ilp32.log b/test/binutils-newlib/rv32imac-ilp32.log
deleted file mode 100644
index 966cf6d..0000000
--- a/test/binutils-newlib/rv32imac-ilp32.log
+++ /dev/null
@@ -1,14 +0,0 @@
-build-binutils-newlib/ld/ld.sum:FAIL: Build libpr23818.so
-build-binutils-newlib/ld/ld.sum:FAIL: Build libpr23958.so
-build-binutils-newlib/ld/ld.sum:FAIL: Build pr22983
-build-binutils-newlib/ld/ld.sum:FAIL: --gc-sections with --defsym
-build-binutils-newlib/ld/ld.sum:FAIL: --gc-sections with KEEP
-build-binutils-newlib/ld/ld.sum:FAIL: --gc-sections with __start_SECTIONNAME
-build-binutils-newlib/ld/ld.sum:FAIL: ld-plugin/lto-3r
-build-binutils-newlib/ld/ld.sum:FAIL: ld-plugin/lto-5r
-build-binutils-newlib/ld/ld.sum:FAIL: ld-scripts/size-1
-build-binutils-newlib/ld/ld.sum:FAIL: LTO 3b
-build-binutils-newlib/ld/ld.sum:FAIL: LTO 5
-build-binutils-newlib/ld/ld.sum:FAIL: LTO 5 symbol
-build-binutils-newlib/ld/ld.sum:FAIL: PR ld/19317 (2)
-build-binutils-newlib/ld/ld.sum:FAIL: PR ld/19317 (3)
diff --git a/test/binutils-newlib/rv32imafc-ilp32f.log b/test/binutils-newlib/rv32imafc-ilp32f.log
deleted file mode 100644
index 966cf6d..0000000
--- a/test/binutils-newlib/rv32imafc-ilp32f.log
+++ /dev/null
@@ -1,14 +0,0 @@
-build-binutils-newlib/ld/ld.sum:FAIL: Build libpr23818.so
-build-binutils-newlib/ld/ld.sum:FAIL: Build libpr23958.so
-build-binutils-newlib/ld/ld.sum:FAIL: Build pr22983
-build-binutils-newlib/ld/ld.sum:FAIL: --gc-sections with --defsym
-build-binutils-newlib/ld/ld.sum:FAIL: --gc-sections with KEEP
-build-binutils-newlib/ld/ld.sum:FAIL: --gc-sections with __start_SECTIONNAME
-build-binutils-newlib/ld/ld.sum:FAIL: ld-plugin/lto-3r
-build-binutils-newlib/ld/ld.sum:FAIL: ld-plugin/lto-5r
-build-binutils-newlib/ld/ld.sum:FAIL: ld-scripts/size-1
-build-binutils-newlib/ld/ld.sum:FAIL: LTO 3b
-build-binutils-newlib/ld/ld.sum:FAIL: LTO 5
-build-binutils-newlib/ld/ld.sum:FAIL: LTO 5 symbol
-build-binutils-newlib/ld/ld.sum:FAIL: PR ld/19317 (2)
-build-binutils-newlib/ld/ld.sum:FAIL: PR ld/19317 (3)
diff --git a/test/binutils-newlib/rv64imac-lp64.log b/test/binutils-newlib/rv64imac-lp64.log
deleted file mode 100644
index 966cf6d..0000000
--- a/test/binutils-newlib/rv64imac-lp64.log
+++ /dev/null
@@ -1,14 +0,0 @@
-build-binutils-newlib/ld/ld.sum:FAIL: Build libpr23818.so
-build-binutils-newlib/ld/ld.sum:FAIL: Build libpr23958.so
-build-binutils-newlib/ld/ld.sum:FAIL: Build pr22983
-build-binutils-newlib/ld/ld.sum:FAIL: --gc-sections with --defsym
-build-binutils-newlib/ld/ld.sum:FAIL: --gc-sections with KEEP
-build-binutils-newlib/ld/ld.sum:FAIL: --gc-sections with __start_SECTIONNAME
-build-binutils-newlib/ld/ld.sum:FAIL: ld-plugin/lto-3r
-build-binutils-newlib/ld/ld.sum:FAIL: ld-plugin/lto-5r
-build-binutils-newlib/ld/ld.sum:FAIL: ld-scripts/size-1
-build-binutils-newlib/ld/ld.sum:FAIL: LTO 3b
-build-binutils-newlib/ld/ld.sum:FAIL: LTO 5
-build-binutils-newlib/ld/ld.sum:FAIL: LTO 5 symbol
-build-binutils-newlib/ld/ld.sum:FAIL: PR ld/19317 (2)
-build-binutils-newlib/ld/ld.sum:FAIL: PR ld/19317 (3)
diff --git a/test/binutils-newlib/rv64imafdc-lp64d.log b/test/binutils-newlib/rv64imafdc-lp64d.log
deleted file mode 100644
index 4635488..0000000
--- a/test/binutils-newlib/rv64imafdc-lp64d.log
+++ /dev/null
@@ -1,4 +0,0 @@
-build-binutils-newlib/ld/ld.sum:FAIL: Build libpr23818.so
-build-binutils-newlib/ld/ld.sum:FAIL: Build libpr23958.so
-build-binutils-newlib/ld/ld.sum:FAIL: Build pr22983
-build-binutils-newlib/ld/ld.sum:FAIL: ld-scripts/size-1
diff --git a/test/whitelist/binutils/common.log b/test/whitelist/binutils/common.log
new file mode 100644
index 0000000..c9cda0b
--- /dev/null
+++ b/test/whitelist/binutils/common.log
@@ -0,0 +1,18 @@
+#
+# Following fail cases is cause by mismatch ABI,
+# because -march/-mabi didn't pass to as/ld.
+#
+FAIL: --gc-sections with --defsym
+FAIL: --gc-sections with KEEP
+FAIL: --gc-sections with __start_SECTIONNAME
+FAIL: ld-plugin/lto-3r
+FAIL: ld-plugin/lto-5r
+FAIL: PR ld/19317 (2)
+FAIL: PR ld/19317 (3)
+FAIL: LTO 5 symbol
+FAIL: LTO 3b
+FAIL: LTO 5
+#
+# .align insert nop cause unexpected size.
+#
+FAIL: ld-scripts/size-1
diff --git a/test/whitelist/binutils/glibc.log b/test/whitelist/binutils/glibc.log
new file mode 100644
index 0000000..fa7eb24
--- /dev/null
+++ b/test/whitelist/binutils/glibc.log
@@ -0,0 +1,6 @@
+#
+# XXX: Unknwon.
+#
+FAIL: indirect5c dynsym
+FAIL: indirect5d dynsym
+FAIL: Build pr22263-1
diff --git a/test/whitelist/binutils/newlib.log b/test/whitelist/binutils/newlib.log
new file mode 100644
index 0000000..79b9698
--- /dev/null
+++ b/test/whitelist/binutils/newlib.log
@@ -0,0 +1,9 @@
+#
+# -shared unsupported on bare-metal toolchain
+#
+FAIL: Build libpr23818.so
+FAIL: Build libpr23958.so
+#
+# XXX: Unknown reason.
+#
+FAIL: Build pr22983