diff options
author | Maciej W. Rozycki <macro@orcam.me.uk> | 2023-06-15 04:45:03 +0100 |
---|---|---|
committer | Maciej W. Rozycki <macro@orcam.me.uk> | 2023-06-15 04:45:03 +0100 |
commit | 0b46c1ec2d7d008d9650f0438835804b6b7b344c (patch) | |
tree | cb977cc49e5136ab0c24ee7fb0fe420afbb70542 /ld/testsuite/ld-plugin | |
parent | 0c5c669cefa7aea782abe98d5455cb7f54bbe944 (diff) | |
download | gdb-0b46c1ec2d7d008d9650f0438835804b6b7b344c.zip gdb-0b46c1ec2d7d008d9650f0438835804b6b7b344c.tar.gz gdb-0b46c1ec2d7d008d9650f0438835804b6b7b344c.tar.bz2 |
Revert "MIPS: fix some ld testcases with compiler"
This reverts commit a0631c1501c113c04891c9a24a9ff5276257f28d. It was
applied unapproved.
Diffstat (limited to 'ld/testsuite/ld-plugin')
-rw-r--r-- | ld/testsuite/ld-plugin/lto.exp | 11 | ||||
-rw-r--r-- | ld/testsuite/ld-plugin/plugin.exp | 15 |
2 files changed, 1 insertions, 25 deletions
diff --git a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp index a4b546d..e7e7952 100644 --- a/ld/testsuite/ld-plugin/lto.exp +++ b/ld/testsuite/ld-plugin/lto.exp @@ -557,7 +557,7 @@ if { ! [istarget "arm*-*-*"] } { # when using the LTO plugin. The HPPA target however requires an # executable stack for syscall restarts and signal returns, so we # skip this test for that target. -if { ! [istarget "hppa*-*-*"] && ! [istarget "mips*-linux*"] } { +if { ! [istarget "hppa*-*-*"] } { lappend lto_link_elf_tests \ [list "PR ld/12982" \ "-O2 -flto -fuse-linker-plugin" "-O2 -flto" \ @@ -909,10 +909,6 @@ if { [at_least_gcc_version 4 7] } { } } -set save_asflags $ASFLAGS -if { [istarget "mips*-*-linux*"] } { - append ASFLAGS " -KPIC" -} # Run "ld -r" to generate inputs for complex LTO tests. run_dump_test "lto-3r" remote_exec host "mv" "tmpdir/dump tmpdir/lto-3.o" @@ -926,12 +922,7 @@ run_ld_link_tests [list \ "-r tmpdir/pr19317.o" "" "" \ {dummy.s} {} "pr19317-r.o"] \ ] -set ASFLAGS $save_asflags -if { [istarget "mips*-*-linux*"] } { - set lto_run_tests [xfail_from_runlist $lto_run_tests "PR ld/15323 (4)"] - set lto_run_tests [xfail_from_runlist $lto_run_tests "PR ld/19317 (3)"] -} run_ld_link_exec_tests $lto_run_tests if { [is_elf_format] } { diff --git a/ld/testsuite/ld-plugin/plugin.exp b/ld/testsuite/ld-plugin/plugin.exp index ce7d406..bbb8ced 100644 --- a/ld/testsuite/ld-plugin/plugin.exp +++ b/ld/testsuite/ld-plugin/plugin.exp @@ -295,15 +295,6 @@ if { !$can_compile || $failed_compile } { return } -if { [istarget "mips*-*-linux*"] } { - set plugin_tests [xfail_from_runlist $plugin_tests "plugin claimfile lost symbol"] - set plugin_tests [xfail_from_runlist $plugin_tests "plugin claimfile replace symbol"] - set plugin_tests [xfail_from_runlist $plugin_tests "plugin claimfile resolve symbol"] - set plugin_tests [xfail_from_runlist $plugin_tests "plugin claimfile lost symbol with source"] - set plugin_tests [xfail_from_runlist $plugin_tests "plugin claimfile replace symbol with source"] - set plugin_tests [xfail_from_runlist $plugin_tests "plugin claimfile resolve symbol with source"] - set plugin_tests [xfail_from_runlist $plugin_tests "plugin claimfile resolve symbol with source"] -} run_ld_link_tests $plugin_tests if { [is_elf_format] \ @@ -364,12 +355,6 @@ if { [regexp "0+ T func" "$plugin_nm_output"] && # Check if ar --plugin works. file delete tmpdir/libfunc.a -if { [istarget "mips*-*-linux*"] } { - set plugin_src_tests [xfail_from_runlist $plugin_src_tests "plugin 2 with source lib"] - set plugin_src_tests [xfail_from_runlist $plugin_src_tests "load plugin 2 with source"] - set plugin_src_tests [xfail_from_runlist $plugin_src_tests "plugin 3 with source lib"] - set plugin_src_tests [xfail_from_runlist $plugin_src_tests "load plugin 3 with source"] -} if [ar_simple_create $ar "--plugin $plugin2_path" "tmpdir/libfunc.a" \ "tmpdir/main.o $srcdir/$subdir/func.c"] { set testname "ar --plugin" |