aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-01-08 09:38:17 +0000
committerNick Clifton <nickc@redhat.com>2011-01-08 09:38:17 +0000
commitfc31e83becaf77cfc50cf40f160197bfd4a1646e (patch)
tree8faa6edd82d213987d1f3c024096d0469be2f159
parentb670013cd7c8e09d5c7c929d8d74eda63533672b (diff)
downloadgdb-fc31e83becaf77cfc50cf40f160197bfd4a1646e.zip
gdb-fc31e83becaf77cfc50cf40f160197bfd4a1646e.tar.gz
gdb-fc31e83becaf77cfc50cf40f160197bfd4a1646e.tar.bz2
PR ld/13258
PR ld/13259 * ld-elf/textaddr2.d: Fix regexp to work with hppa64 targets. * ld-elf/textaddr6.d: Fix regexp to work with hppa64 targets.
-rw-r--r--ld/testsuite/ChangeLog7
-rw-r--r--ld/testsuite/ld-elf/textaddr2.d2
-rw-r--r--ld/testsuite/ld-elf/textaddr6.d2
3 files changed, 9 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index ed2b094..66a3d7d 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2011-01-08 Nick Clifton <nickc@redhat.com>
+
+ PR ld/13258
+ PR ld/13259
+ * ld-elf/textaddr2.d: Fix regexp to work with hppa64 targets.
+ * ld-elf/textaddr6.d: Fix regexp to work with hppa64 targets.
+
2011-01-06 H.J. Lu <hongjiu.lu@intel.com>
PR ld/12366
diff --git a/ld/testsuite/ld-elf/textaddr2.d b/ld/testsuite/ld-elf/textaddr2.d
index 60632d0..bcd3658 100644
--- a/ld/testsuite/ld-elf/textaddr2.d
+++ b/ld/testsuite/ld-elf/textaddr2.d
@@ -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
diff --git a/ld/testsuite/ld-elf/textaddr6.d b/ld/testsuite/ld-elf/textaddr6.d
index 6e5f658..584784b 100644
--- a/ld/testsuite/ld-elf/textaddr6.d
+++ b/ld/testsuite/ld-elf/textaddr6.d
@@ -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