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]

Fix for unexpected failure in ld-cris/warn3


Hi Guys,

  I am applying the patch below to remove an unexpected warning from
  the linker testsuite for the cris-elf target.  It appears that the
  ld-cris/warn[34].d files were intended to be different versions of
  the same test, one for ELF based ports and one for AOUT.
  Unfortunately the code discriminate between them was not working and
  this patch fixes that.

Cheers
  Nick

ld/testsuite/ChangeLog
2005-03-01  Nick Clifton  <nickc@redhat.com>

	* ld-cris/warn3.d: Only run this version of the test for cris-aout
	targets.
	* ld-cris/warn4.d: Only run this version of the test for cris-elf
	targets.

Index: ld/testsuite/ld-cris/warn3.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/warn3.d,v
retrieving revision 1.1
diff -c -3 -p -r1.1 warn3.d
*** ld/testsuite/ld-cris/warn3.d	7 Feb 2005 03:16:43 -0000	1.1
--- ld/testsuite/ld-cris/warn3.d	1 Mar 2005 16:10:50 -0000
***************
*** 1,7 ****
  #source: start1.s
  #source: globsym1ref.s
  #source: globsymw2.s
! #target: cris-*-*elf* cris-*-*aout*
  #as: --em=crisaout
  #ld: -mcrisaout
  #warning: warning: isatty is not implemented and will always fail$
--- 1,7 ----
  #source: start1.s
  #source: globsym1ref.s
  #source: globsymw2.s
! #target: cris-*-*aout*
  #as: --em=crisaout
  #ld: -mcrisaout
  #warning: warning: isatty is not implemented and will always fail$
Index: ld/testsuite/ld-cris/warn4.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/warn4.d,v
retrieving revision 1.1
diff -c -3 -p -r1.1 warn4.d
*** ld/testsuite/ld-cris/warn4.d	7 Feb 2005 03:16:43 -0000	1.1
--- ld/testsuite/ld-cris/warn4.d	1 Mar 2005 16:10:50 -0000
***************
*** 1,7 ****
  #source: start1.s
  #source: globsym1ref.s
  #source: globsymw2.s
! #target: cris-*-*elf* cris-*-*aout*
  #as: --em=criself
  #ld: -mcriself
  #warning: warning: isatty is not implemented and will always fail$
--- 1,7 ----
  #source: start1.s
  #source: globsym1ref.s
  #source: globsymw2.s
! #target: cris-*-*elf*
  #as: --em=criself
  #ld: -mcriself
  #warning: warning: isatty is not implemented and will always fail$


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