ld SORT_BY_* tests
H. J. Lu
hjl@lucon.org
Wed Oct 13 18:48:00 GMT 2004
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]]
More information about the Binutils
mailing list