This is the mail archive of the binutils@sourceware.org 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]

Committed: Allow non-Linux ports to run binutils strip-10 test


Hi Guys,

  I am applying the patch below to allow non-Linux based ports to run
  the new binutils strip-10 test.  For these ports readelf will report
  the gnu_unique symbol type as "<OS specific>: 10".

Cheers
  Nick

binutils/testsuite/ChangeLog
2009-08-17  Nick Clifton  <nickc@redhat.com>

	* binutils-all/strip-10.d: Accept "<OS specific>: 10" for the type
	of the UNIQUE symbol.

Index: binutils/testsuite/binutils-all/strip-10.d
===================================================================
RCS file: /cvs/src/src/binutils/testsuite/binutils-all/strip-10.d,v
retrieving revision 1.1
diff -c -3 -p -r1.1 strip-10.d
*** binutils/testsuite/binutils-all/strip-10.d	6 Aug 2009 16:22:36 -0000	1.1
--- binutils/testsuite/binutils-all/strip-10.d	17 Aug 2009 09:12:08 -0000
***************
*** 5,8 ****
  #name: strip on STB_GNU_UNIQUE
  
  #...
! [ 	]+[0-9]+:[ 	]+[0-9a-f]+[ 	]+[0-9]+[ 	]+OBJECT[	 ]+UNIQUE DEFAULT[ 	]+[1-9] foo
--- 5,8 ----
  #name: strip on STB_GNU_UNIQUE
  
  #...
! [ 	]+[0-9]+:[ 	]+[0-9a-f]+[ 	]+[0-9]+[ 	]+OBJECT[	 ]+(UNIQUE|<OS specific>: 10) DEFAULT[ 	]+[1-9] foo


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