public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Fix for unexpected failure in ld-cris/warn3
@ 2005-03-01 16:14 Nick Clifton
  2005-03-01 16:57 ` Hans-Peter Nilsson
  0 siblings, 1 reply; 8+ messages in thread
From: Nick Clifton @ 2005-03-01 16:14 UTC (permalink / raw)
  To: binutils

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$

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-03-11  9:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-01 16:14 Fix for unexpected failure in ld-cris/warn3 Nick Clifton
2005-03-01 16:57 ` Hans-Peter Nilsson
2005-03-01 17:18   ` Nick Clifton
2005-03-01 17:34     ` Hans-Peter Nilsson
2005-03-08  4:34     ` Hans-Peter Nilsson
2005-03-08 15:00       ` Nick Clifton
2005-03-08 17:18         ` Hans-Peter Nilsson
2005-03-11  9:03           ` Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).