This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Committed: Allow non-Linux ports to run binutils strip-10 test
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sourceware dot org
- Date: Mon, 17 Aug 2009 10:18:23 +0100
- Subject: 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