This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ld SORT_BY_* tests
- From: "H. J. Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Date: Wed, 13 Oct 2004 11:48:50 -0700
- Subject: Re: ld SORT_BY_* tests
- References: <20041011110353.GB5336@bubble.modra.org>
On Mon, Oct 11, 2004 at 08:33:53PM +0930, Alan Modra wrote:
> Hi HJ,
> Practically all non-ELF targets are failing on the new tests. Would
> you please look into it?
>
I don't have good solutions except for creating another set of expected
outputs for each format which is different from ELF. Since this feature
is format independent and ELF is the most widely used target, testing
it on ELF should be sufficient.
H.J.
----
2004-10-13 H.J. Lu <hongjiu.lu@intel.com>
* ld-scripts/sort.exp: Run for ELF targets only.
--- ld/testsuite/ld-scripts/sort.exp.sec 2004-10-04 09:45:51.000000000 -0700
+++ ld/testsuite/ld-scripts/sort.exp 2004-10-13 11:44:20.753722581 -0700
@@ -17,6 +17,11 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# FIXME: The expected outputs are correct only for ELF.
+if ![is_elf_format] {
+ return
+}
+
load_lib ld-lib.exp
set sort_test_list [lsort [glob -nocomplain $srcdir/$subdir/sort*.d]]