diff options
author | Alan Modra <amodra@gmail.com> | 2009-09-23 03:12:28 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2009-09-23 03:12:28 +0000 |
commit | f9272224cdd8ee09437255989d70d3f2284de413 (patch) | |
tree | 942833fc405688cc4f248a45c82ace9a32d6afdc /ld/testsuite/ld-elfvsb | |
parent | dfc3ab44df77a8842c24ab2fc6ea2aa3ad880aed (diff) | |
download | gdb-f9272224cdd8ee09437255989d70d3f2284de413.zip gdb-f9272224cdd8ee09437255989d70d3f2284de413.tar.gz gdb-f9272224cdd8ee09437255989d70d3f2284de413.tar.bz2 |
Tolerate some whitespace differences in readelf output.
Diffstat (limited to 'ld/testsuite/ld-elfvsb')
-rw-r--r-- | ld/testsuite/ld-elfvsb/hidden0.d | 3 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvsb/hidden1.d | 3 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvsb/hidden2.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvsb/internal0.d | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvsb/internal1.d | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvsb/protected0.d | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvsb/protected1.d | 4 |
7 files changed, 11 insertions, 13 deletions
diff --git a/ld/testsuite/ld-elfvsb/hidden0.d b/ld/testsuite/ld-elfvsb/hidden0.d index 46fc647..abd26a2 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 667f108..7820c21 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 14b0b30..6671794 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 a42ae02..9d37ae8 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 c110ac6..5cacdaf 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 48b7885..ea781dd 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 2f4931a..235db00 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 |