aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorLulu Cai <cailulu@loongson.cn>2024-07-11 19:00:43 +0800
committerliuzhensong <liuzhensong@loongson.cn>2024-07-13 10:00:02 +0800
commit7478277414bf2ef6a711e7cb3120ff16f417c871 (patch)
tree74ae4ec5670809aff355fc74cc5af88df8df6a9e /ld
parente8fbf31961466e7f99628e86c56e91135956c9ef (diff)
downloadgdb-7478277414bf2ef6a711e7cb3120ff16f417c871.zip
gdb-7478277414bf2ef6a711e7cb3120ff16f417c871.tar.gz
gdb-7478277414bf2ef6a711e7cb3120ff16f417c871.tar.bz2
LoongArch: Fix dwarf3 test cases from XPASS to PASS
In the past, the .align directive generated a label that did not match the regular expression, and we set it to XFAIL. But now it matches fine so it becomes XPASS. We fix it with PASS.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ld-elf/dwarf.exp5
1 files changed, 0 insertions, 5 deletions
diff --git a/ld/testsuite/ld-elf/dwarf.exp b/ld/testsuite/ld-elf/dwarf.exp
index 1ca1ec5..670551f 100644
--- a/ld/testsuite/ld-elf/dwarf.exp
+++ b/ld/testsuite/ld-elf/dwarf.exp
@@ -52,9 +52,6 @@ set build_tests {
{"DWARF parse during linker error"
"" "-g -fno-toplevel-reorder"
{dwarf2a.c dwarf2b.c} {{error_output "dwarf2.err"}} "dwarf2.x"}
-}
-
-set build_tests_dwarf3 {
{"Handle no DWARF information"
"" "-g0"
{dwarf3.c} {{error_output "dwarf3.err"}} "dwarf3.x"}
@@ -75,8 +72,6 @@ set run_tests {
set old_CFLAGS "$CFLAGS_FOR_TARGET"
append CFLAGS_FOR_TARGET " $NOSANITIZE_CFLAGS"
run_cc_link_tests $build_tests
-setup_xfail loongarch*-*-*
-run_cc_link_tests $build_tests_dwarf3
run_ld_link_exec_tests $run_tests
set CFLAGS_FOR_TARGET "$old_CFLAGS"