From 08d5f1b40ee1aa6487b3a5d114f76274257455a3 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 6 May 2003 15:55:09 +0000 Subject: 2003-05-06 H.J. Lu * 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. --- ld/testsuite/ChangeLog | 16 ++++++++++++++++ ld/testsuite/ld-elfvers/vers.exp | 6 +++++- ld/testsuite/ld-elfvers/vers25b.c | 1 + ld/testsuite/ld-elfvers/vers25b.dsym | 1 + ld/testsuite/ld-elfvers/vers25b.ver | 1 + ld/testsuite/ld-elfvers/vers26b.dsym | 1 + ld/testsuite/ld-elfvers/vers26b.ver | 1 + ld/testsuite/ld-elfvers/vers27b.dsym | 1 + ld/testsuite/ld-elfvers/vers27b.ver | 1 + ld/testsuite/ld-elfvers/vers27c.c | 1 + ld/testsuite/ld-elfvers/vers27c.dsym | 1 + ld/testsuite/ld-elfvers/vers27c.ver | 1 + 12 files changed, 31 insertions(+), 1 deletion(-) (limited to 'ld') 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 + + * 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 * 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 -- cgit v1.1