diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2003-05-06 15:55:09 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2003-05-06 15:55:09 +0000 |
commit | 08d5f1b40ee1aa6487b3a5d114f76274257455a3 (patch) | |
tree | f82c6c33cf5cbe5c9c798c9713e6c7b46a6a9e2d | |
parent | daea6f0bf5770796558c5000ab973afd4e8b505d (diff) | |
download | gdb-08d5f1b40ee1aa6487b3a5d114f76274257455a3.zip gdb-08d5f1b40ee1aa6487b3a5d114f76274257455a3.tar.gz gdb-08d5f1b40ee1aa6487b3a5d114f76274257455a3.tar.bz2 |
2003-05-06 H.J. Lu <hjl@gnu.org>
* ld-elfvers/vers.exp (objdump_versionstuff): Support comment
in expected version file.
* ld-elfvers/vers25b.c: Add a line of comment.
* ld-elfvers/vers25b.dsym: Likwise.
* ld-elfvers/vers25b.ver: Likwise.
* ld-elfvers/vers26b.dsym: Likwise.
* ld-elfvers/vers26b.ver: Likwise.
* ld-elfvers/vers27b.dsym: Likwise.
* ld-elfvers/vers27b.ver: Likwise.
* ld-elfvers/vers27c.c: Likwise.
* ld-elfvers/vers27c.dsym: Likwise.
* ld-elfvers/vers27c.ver: Likwise.
-rw-r--r-- | ld/testsuite/ChangeLog | 16 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvers/vers.exp | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvers/vers25b.c | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvers/vers25b.dsym | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvers/vers25b.ver | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvers/vers26b.dsym | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvers/vers26b.ver | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvers/vers27b.dsym | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvers/vers27b.ver | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvers/vers27c.c | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvers/vers27c.dsym | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvers/vers27c.ver | 1 |
12 files changed, 31 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 10d1ddd..0e79c0f 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,19 @@ +2003-05-06 H.J. Lu <hjl@gnu.org> + + * ld-elfvers/vers.exp (objdump_versionstuff): Support comment + in expected version file. + + * ld-elfvers/vers25b.c: Add a line of comment. + * ld-elfvers/vers25b.dsym: Likwise. + * ld-elfvers/vers25b.ver: Likwise. + * ld-elfvers/vers26b.dsym: Likwise. + * ld-elfvers/vers26b.ver: Likwise. + * ld-elfvers/vers27b.dsym: Likwise. + * ld-elfvers/vers27b.ver: Likwise. + * ld-elfvers/vers27c.c: Likwise. + * ld-elfvers/vers27c.dsym: Likwise. + * ld-elfvers/vers27c.ver: Likwise. + 2003-05-04 H.J. Lu <hjl@gnu.org> * ld-elfvsb/main.c: Updated. diff --git a/ld/testsuite/ld-elfvers/vers.exp b/ld/testsuite/ld-elfvers/vers.exp index a26927e..c28733e 100644 --- a/ld/testsuite/ld-elfvers/vers.exp +++ b/ld/testsuite/ld-elfvers/vers.exp @@ -457,7 +457,11 @@ proc objdump_versionstuff { objdump object expectfile } { set f1 [open $tmpdir/objdump.out r] set f2 [open $expectfile r] - gets $f2 l2 + while { [gets $f2 l2] != -1 } { + if { ![regexp "^#.*$" $l2] } then { + break + } + } while { [gets $f1 l1] != -1 } { if { [string match $l2 $l1] } then { if { [gets $f2 l2] == -1 } then { diff --git a/ld/testsuite/ld-elfvers/vers25b.c b/ld/testsuite/ld-elfvers/vers25b.c index e69de29..b119c69 100644 --- a/ld/testsuite/ld-elfvers/vers25b.c +++ b/ld/testsuite/ld-elfvers/vers25b.c @@ -0,0 +1 @@ +/* Empty file */ diff --git a/ld/testsuite/ld-elfvers/vers25b.dsym b/ld/testsuite/ld-elfvers/vers25b.dsym index e69de29..71923c3 100644 --- a/ld/testsuite/ld-elfvers/vers25b.dsym +++ b/ld/testsuite/ld-elfvers/vers25b.dsym @@ -0,0 +1 @@ +# Empty file. diff --git a/ld/testsuite/ld-elfvers/vers25b.ver b/ld/testsuite/ld-elfvers/vers25b.ver index e69de29..932b798 100644 --- a/ld/testsuite/ld-elfvers/vers25b.ver +++ b/ld/testsuite/ld-elfvers/vers25b.ver @@ -0,0 +1 @@ +# Empty file diff --git a/ld/testsuite/ld-elfvers/vers26b.dsym b/ld/testsuite/ld-elfvers/vers26b.dsym index e69de29..932b798 100644 --- a/ld/testsuite/ld-elfvers/vers26b.dsym +++ b/ld/testsuite/ld-elfvers/vers26b.dsym @@ -0,0 +1 @@ +# Empty file diff --git a/ld/testsuite/ld-elfvers/vers26b.ver b/ld/testsuite/ld-elfvers/vers26b.ver index e69de29..932b798 100644 --- a/ld/testsuite/ld-elfvers/vers26b.ver +++ b/ld/testsuite/ld-elfvers/vers26b.ver @@ -0,0 +1 @@ +# Empty file diff --git a/ld/testsuite/ld-elfvers/vers27b.dsym b/ld/testsuite/ld-elfvers/vers27b.dsym index e69de29..932b798 100644 --- a/ld/testsuite/ld-elfvers/vers27b.dsym +++ b/ld/testsuite/ld-elfvers/vers27b.dsym @@ -0,0 +1 @@ +# Empty file diff --git a/ld/testsuite/ld-elfvers/vers27b.ver b/ld/testsuite/ld-elfvers/vers27b.ver index e69de29..932b798 100644 --- a/ld/testsuite/ld-elfvers/vers27b.ver +++ b/ld/testsuite/ld-elfvers/vers27b.ver @@ -0,0 +1 @@ +# Empty file diff --git a/ld/testsuite/ld-elfvers/vers27c.c b/ld/testsuite/ld-elfvers/vers27c.c index e69de29..b119c69 100644 --- a/ld/testsuite/ld-elfvers/vers27c.c +++ b/ld/testsuite/ld-elfvers/vers27c.c @@ -0,0 +1 @@ +/* Empty file */ diff --git a/ld/testsuite/ld-elfvers/vers27c.dsym b/ld/testsuite/ld-elfvers/vers27c.dsym index e69de29..932b798 100644 --- a/ld/testsuite/ld-elfvers/vers27c.dsym +++ b/ld/testsuite/ld-elfvers/vers27c.dsym @@ -0,0 +1 @@ +# Empty file diff --git a/ld/testsuite/ld-elfvers/vers27c.ver b/ld/testsuite/ld-elfvers/vers27c.ver index e69de29..932b798 100644 --- a/ld/testsuite/ld-elfvers/vers27c.ver +++ b/ld/testsuite/ld-elfvers/vers27c.ver @@ -0,0 +1 @@ +# Empty file |