This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ld-i386 tests bomb for coff, aout


.../tlspic1.s: Assembler messages:
.../tlspic1.s:1: Warning: rest of line ignored; first ignored character is `"'
.../tlspic1.s:4: Error: unknown pseudo-op: `.hidden'
.../tlspic1.s:31: Warning: .type pseudo-op used outside of .def/.endef ignored.
.../tlspic1.s:31: Warning: rest of line ignored; first ignored character is `f'
ERROR: --32 .../tlspic1.s: assembly failed
etc.

ld/testsuite/ChangeLog
	* ld-i386/i386.exp: Only run tests on ELF targets.

Index: ld/testsuite/ld-i386/i386.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-i386/i386.exp,v
retrieving revision 1.1
diff -u -p -r1.1 i386.exp
--- ld/testsuite/ld-i386/i386.exp	19 Sep 2002 19:01:15 -0000	1.1
+++ ld/testsuite/ld-i386/i386.exp	20 Sep 2002 06:05:03 -0000
@@ -19,7 +19,10 @@
 # Test i386 linking; all types of relocs.  This tests the assembler and
 # tools like objdump as well as the linker.
 
-if ![istarget i?86-*-*] {
+if { !([istarget "i?86-*-elf*"]		
+       || ([istarget "i?86-*-linux*"]
+	   && ![istarget "*-*-*aout*"]
+	   && ![istarget "*-*-*oldld*"])) } {
     return
 }
 

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]