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]

PATCH: LD: Fix textaddr[26].d regexps


Hi Guys,

  I have checked in the small patch below to fix the regexps in the
  textaddr2.d and textaddr6.d linker tests so that they will work with
  hppa64 targets.

Cheers
  Nick

ld/testsuite/ChangeLog
2011-01-08  Nick Clifton  <nickc@redhat.com>

	PR ld/12358
	PR ld/12359
	* ld-elf/textaddr2.d: Fix regexp to work with hppa64 targets.
	* ld-elf/textaddr6.d: Fix regexp to work with hppa64 targets.

Index: ld/testsuite/ld-elf/textaddr2.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-elf/textaddr2.d,v
retrieving revision 1.2
diff -u -3 -p -r1.2 textaddr2.d
--- ld/testsuite/ld-elf/textaddr2.d	8 Nov 2010 06:43:37 -0000	1.2
+++ ld/testsuite/ld-elf/textaddr2.d	8 Jan 2011 09:33:39 -0000
@@ -4,5 +4,5 @@
 #target: *-*-linux-gnu *-*-gnu*
 
 #...
-  LOAD +0x0+ 0x0*7000000 0x0*7000000 0x0*[0-9a-f][0-9a-f][0-9a-f] 0x0*[0-9a-f][0-9a-f][0-9a-f] R E 0x200000
+  LOAD +0x0+ 0x0*7000000 0x0*7000000 0x0*[0-9a-f]+ 0x0*[0-9a-f]+ R[ W]E 0x200000
 #pass

Index: ld/testsuite/ld-elf/textaddr2.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-elf/textaddr2.d,v
retrieving revision 1.2
diff -u -3 -p -r1.2 textaddr2.d
--- ld/testsuite/ld-elf/textaddr2.d	8 Nov 2010 06:43:37 -0000	1.2
+++ ld/testsuite/ld-elf/textaddr2.d	8 Jan 2011 09:33:39 -0000
@@ -4,5 +4,5 @@
 #target: *-*-linux-gnu *-*-gnu*
 
 #...
-  LOAD +0x0+ 0x0*10000 0x0*10000 0x0*[0-9a-f][0-9a-f][0-9a-f] 0x0*[0-9a-f][0-9a-f][0-9a-f] R E 0x10000
+  LOAD +0x0+ 0x0*10000 0x0*10000 0x0*[0-9a-f]+ 0x0*[0-9a-f]+ R[ W]E 0x10000
 #pass


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