From 1298463902e9c367c8a3751c11d9cc9ecd0b015b Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 15 Jun 2020 12:58:26 +0930 Subject: Unnecessary load_lib in ld testsuite ld-lib.exp is loaded in config/defaults.exp * testsuite/ld-scripts/include.exp: Don't load ld-lib.exp. * testsuite/ld-scripts/phdrs3.exp: Likewise. * testsuite/ld-scripts/rgn-at.exp: Likewise. * testsuite/ld-scripts/rgn-over.exp: Likewise. * testsuite/ld-scripts/sort.exp: Likewise. * testsuite/ld-discard/discard.exp: Likewise. Use is_elf_format. --- ld/testsuite/ld-scripts/rgn-at.exp | 2 -- 1 file changed, 2 deletions(-) (limited to 'ld/testsuite/ld-scripts/rgn-at.exp') diff --git a/ld/testsuite/ld-scripts/rgn-at.exp b/ld/testsuite/ld-scripts/rgn-at.exp index c0308a0..2d246be 100644 --- a/ld/testsuite/ld-scripts/rgn-at.exp +++ b/ld/testsuite/ld-scripts/rgn-at.exp @@ -22,8 +22,6 @@ if ![is_elf_format] { return } -load_lib ld-lib.exp - set test_list [lsort [glob -nocomplain $srcdir/$subdir/rgn-at*.d]] foreach test_file $test_list { set test_name [file rootname $test_file] -- cgit v1.1