aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfvsb
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-09-23 03:12:28 +0000
committerAlan Modra <amodra@gmail.com>2009-09-23 03:12:28 +0000
commitf9272224cdd8ee09437255989d70d3f2284de413 (patch)
tree942833fc405688cc4f248a45c82ace9a32d6afdc /ld/testsuite/ld-elfvsb
parentdfc3ab44df77a8842c24ab2fc6ea2aa3ad880aed (diff)
Tolerate some whitespace differences in readelf output.
Diffstat (limited to 'ld/testsuite/ld-elfvsb')
-rw-r--r--ld/testsuite/ld-elfvsb/hidden0.d3
-rw-r--r--ld/testsuite/ld-elfvsb/hidden1.d3
-rw-r--r--ld/testsuite/ld-elfvsb/hidden2.d2
-rw-r--r--ld/testsuite/ld-elfvsb/internal0.d4
-rw-r--r--ld/testsuite/ld-elfvsb/internal1.d4
-rw-r--r--ld/testsuite/ld-elfvsb/protected0.d4
-rw-r--r--ld/testsuite/ld-elfvsb/protected1.d4
7 files changed, 11 insertions, 13 deletions
diff --git a/ld/testsuite/ld-elfvsb/hidden0.d b/ld/testsuite/ld-elfvsb/hidden0.d
index 46fc647568..abd26a2b22 100644
--- a/ld/testsuite/ld-elfvsb/hidden0.d
+++ b/ld/testsuite/ld-elfvsb/hidden0.d
@@ -4,7 +4,6 @@
#readelf: -s
Symbol table '.symtab' contains .* entries:
- Num: Value[ ]+Size Type Bind Vis Ndx Name
#...
-[ ]*[0-9]+: [0-9a-fA-F]* 0 OBJECT GLOBAL HIDDEN . hidden
+[ ]*[0-9]+: [0-9a-fA-F]* +0 +OBJECT +GLOBAL +HIDDEN +. hidden
#pass
diff --git a/ld/testsuite/ld-elfvsb/hidden1.d b/ld/testsuite/ld-elfvsb/hidden1.d
index 667f1088a8..7820c21450 100644
--- a/ld/testsuite/ld-elfvsb/hidden1.d
+++ b/ld/testsuite/ld-elfvsb/hidden1.d
@@ -3,7 +3,6 @@
#readelf: -s
Symbol table '.symtab' contains .* entries:
- Num: Value[ ]+Size Type Bind Vis Ndx Name
#...
-[ ]*[0-9]+: [0-9a-fA-F]* 0 NOTYPE GLOBAL HIDDEN UND hidden
+[ ]*[0-9]+: [0-9a-fA-F]* +0 +NOTYPE +GLOBAL +HIDDEN +UND hidden
#pass
diff --git a/ld/testsuite/ld-elfvsb/hidden2.d b/ld/testsuite/ld-elfvsb/hidden2.d
index 14b0b30c93..6671794ade 100644
--- a/ld/testsuite/ld-elfvsb/hidden2.d
+++ b/ld/testsuite/ld-elfvsb/hidden2.d
@@ -5,5 +5,5 @@
Symbol table for image:
#...
-[ ]*[0-9]+ +[0-9]+: [0-9a-fA-F]* +0 OBJECT LOCAL HIDDEN +ABS foo
+[ ]*[0-9]+ +[0-9]+: [0-9a-fA-F]* +0 +OBJECT +LOCAL +HIDDEN +ABS foo
#pass
diff --git a/ld/testsuite/ld-elfvsb/internal0.d b/ld/testsuite/ld-elfvsb/internal0.d
index a42ae02ffb..9d37ae8e66 100644
--- a/ld/testsuite/ld-elfvsb/internal0.d
+++ b/ld/testsuite/ld-elfvsb/internal0.d
@@ -4,7 +4,7 @@
#readelf: -s
Symbol table '.symtab' contains .* entries:
- Num: Value[ ]+Size Type Bind Vis Ndx Name
+ +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
#...
-[ ]*[0-9]+: [0-9a-fA-F]* 0 OBJECT GLOBAL INTERNAL . internal
+ +[0-9]+: [0-9a-fA-F]+ +0 +OBJECT +GLOBAL +INTERNAL +. internal
#pass
diff --git a/ld/testsuite/ld-elfvsb/internal1.d b/ld/testsuite/ld-elfvsb/internal1.d
index c110ac62f4..5cacdafed8 100644
--- a/ld/testsuite/ld-elfvsb/internal1.d
+++ b/ld/testsuite/ld-elfvsb/internal1.d
@@ -3,7 +3,7 @@
#readelf: -s
Symbol table '.symtab' contains .* entries:
- Num: Value[ ]+Size Type Bind Vis Ndx Name
+ +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
#...
-[ ]*[0-9]+: [0-9a-fA-F]* 0 NOTYPE GLOBAL INTERNAL UND internal
+ +[0-9]+: [0-9a-fA-F]+ +0 +NOTYPE +GLOBAL +INTERNAL +UND internal
#pass
diff --git a/ld/testsuite/ld-elfvsb/protected0.d b/ld/testsuite/ld-elfvsb/protected0.d
index 48b7885e45..ea781dd3db 100644
--- a/ld/testsuite/ld-elfvsb/protected0.d
+++ b/ld/testsuite/ld-elfvsb/protected0.d
@@ -4,7 +4,7 @@
#readelf: -s
Symbol table '.symtab' contains .* entries:
- Num: Value[ ]+Size Type Bind Vis Ndx Name
+ +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
#...
-[ ]*[0-9]+: [0-9a-fA-F]* 0 OBJECT GLOBAL PROTECTED . protected
+ +[0-9]+: [0-9a-fA-F]* +0 +OBJECT +GLOBAL +PROTECTED +. protected
#pass
diff --git a/ld/testsuite/ld-elfvsb/protected1.d b/ld/testsuite/ld-elfvsb/protected1.d
index 2f4931ae42..235db0011a 100644
--- a/ld/testsuite/ld-elfvsb/protected1.d
+++ b/ld/testsuite/ld-elfvsb/protected1.d
@@ -3,7 +3,7 @@
#readelf: -s
Symbol table '.symtab' contains .* entries:
- Num: Value[ ]+Size Type Bind Vis Ndx Name
+ +Num: +Value +Size Type +Bind +Vis +Ndx +Name
#...
-[ ]*[0-9]+: [0-9a-fA-F]* 0 NOTYPE GLOBAL PROTECTED UND protected
+ +[0-9]+: [0-9a-fA-F]* +0 +NOTYPE +GLOBAL +PROTECTED +UND protected
#pass