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]

Re: coff testsuite failures


Hi Chris,

>>FAIL: APP with macro without NO_APP
>>FAIL: APP with macro then NO_APP
>>FAIL: APP with macro then NO_APP then more code
>>FAIL: included file with .if 0 wrapped in APP/NO_APP, no final NO_APP, macro in main file

> Has it been fixed? This message suggests it
> (http://sources.redhat.com/ml/binutils/2003-06/msg00384.html),
> but I'm still seeing them, with targets z8k-coff and m68k-coff (didn't
> try others).

The failures are still there.

I am checking in the patch below which should fix these tests for
nearly all targets.  According to my checks the tests still fail for:

  alpha-unknown-osf4.0  : Reports the symbols as having type 'N' not 't'.
  iq2000-elf            : Cannot handle the '#' character in the source file.
  rs6000-aix4.3.3       : Does not emit the 'b' symbol.

Cheers
        Nick

gas/testsuite/ChangeLog
2003-10-06  Nick Clifton  <nickc@redhat.com>

	* gas/macros/app1.d: Skip sections symbols (if present).
	* gas/macros/app2.d: Likewise.
	* gas/macros/app3.d: Likewise.
	* gas/macros/app4.d: Likewise.

Index: gas/testsuite/gas/macros/app1.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/macros/app1.d,v
retrieving revision 1.2
diff -c -3 -p -r1.2 app1.d
*** gas/testsuite/gas/macros/app1.d	11 Jun 2003 05:56:14 -0000	1.2
--- gas/testsuite/gas/macros/app1.d	6 Oct 2003 10:13:04 -0000
***************
*** 2,5 ****
--- 2,7 ----
  #name: APP with macro without NO_APP
  #...
  0+ t a
+ #...
  0+[1-f] t b
+ #pass

Index: gas/testsuite/gas/macros/app2.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/macros/app2.d,v
retrieving revision 1.2
diff -c -3 -p -r1.2 app2.d
*** gas/testsuite/gas/macros/app2.d	11 Jun 2003 05:56:14 -0000	1.2
--- gas/testsuite/gas/macros/app2.d	6 Oct 2003 10:13:04 -0000
***************
*** 2,5 ****
--- 2,7 ----
  #name: APP with macro then NO_APP
  #...
  0+ t a
+ #...
  0+[1-f] t b
+ #pass

Index: gas/testsuite/gas/macros/app3.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/macros/app3.d,v
retrieving revision 1.2
diff -c -3 -p -r1.2 app3.d
*** gas/testsuite/gas/macros/app3.d	11 Jun 2003 05:56:14 -0000	1.2
--- gas/testsuite/gas/macros/app3.d	6 Oct 2003 10:13:04 -0000
***************
*** 2,6 ****
--- 2,9 ----
  #name: APP with macro then NO_APP then more code
  #...
  0+ t a
+ #...
  0+[1-f] t b
+ #...
  0+[2-f] t c
+ #pass

Index: gas/testsuite/gas/macros/app4.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/macros/app4.d,v
retrieving revision 1.2
diff -c -3 -p -r1.2 app4.d
*** gas/testsuite/gas/macros/app4.d	11 Jun 2003 05:56:14 -0000	1.2
--- gas/testsuite/gas/macros/app4.d	6 Oct 2003 10:13:04 -0000
***************
*** 3,7 ****
--- 3,10 ----
  #name: included file with .if 0 wrapped in APP/NO_APP, no final NO_APP, macro in main file
  #...
  0+ t d
+ #...
  0+[1-f] t a
+ #...
  0+[2-f] t b
+ #pass



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