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]

Limit some SH tests to sh-elf; committed.


These tests weren't generic enough to run for sh*-*-linux*, due
to e.g. different linker scripts (no, it's not just the file
format).  Better say they just run on sh-elf; generalizing them
may make sense but I'm not really inclined to put that extra
work into it.  Committed.

	* ld-sh/sub2l-1.d, ld-sh/shared-1.d, ld-sh/weak1.d: Only run on
	sh*-*-elf.

Index: weak1.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-sh/weak1.d,v
retrieving revision 1.1
diff -p -c -r1.1 weak1.d
*** weak1.d	2001/10/14 15:18:11	1.1
--- weak1.d	2001/10/15 00:05:45
***************
*** 2,7 ****
--- 2,8 ----
  #as: -little
  #ld: -e 0x1000 -EL
  #objdump: -ts
+ #target: sh*-*-elf

  .*:     file format elf32-shl

Index: sub2l-1.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-sh/sub2l-1.d,v
retrieving revision 1.1
diff -p -c -r1.1 sub2l-1.d
*** sub2l-1.d	2001/10/14 15:18:11	1.1
--- sub2l-1.d	2001/10/15 00:05:45
***************
*** 2,8 ****
  #as: -little
  #ld: -EL -e 0x1000
  #objdump: -st
!

  .*/dump:     file format elf32-shl

--- 2,8 ----
  #as: -little
  #ld: -EL -e 0x1000
  #objdump: -st
! #target: sh*-*-elf

  .*/dump:     file format elf32-shl

Index: shared-1.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-sh/shared-1.d,v
retrieving revision 1.1
diff -p -c -r1.1 shared-1.d
*** shared-1.d	2001/10/14 15:18:11	1.1
--- shared-1.d	2001/10/15 00:05:45
***************
*** 3,9 ****
  #as: -little
  #ld: -shared -EL
  #readelf: -r -x4 -x5
! #target: sh*-*-elf sh*-*-linux*

  # Make sure relocations against global and local symbols with relative and
  # absolute 32-bit relocs don't come out wrong after ld -r.  Remember that
--- 3,9 ----
  #as: -little
  #ld: -shared -EL
  #readelf: -r -x4 -x5
! #target: sh*-*-elf

  # Make sure relocations against global and local symbols with relative and
  # absolute 32-bit relocs don't come out wrong after ld -r.  Remember that

brgds, H-P


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