Mon Sep 28 21:31:12 1998 Richard Henderson <rth@cygnus.com>

* ld-elfvers/vers.exp: Run tests on alpha-linux.
        * ld-elfvers/*.sym, ld-elfvers/*.dsym: Adjust patters to match
        Alpha's use of st_other.

1998-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

        * ld-elfvers/vers.exp (vers16, vers16a): New tests.
        * ld-elfvers/{vers16.*, vers16a.*}: New files.
This commit is contained in:
Richard Henderson 1998-09-29 04:34:32 +00:00
parent 300a10323a
commit ea0a321df9
7 changed files with 35 additions and 0 deletions

View File

@ -34,6 +34,12 @@ vers15.c
vers15.dsym
vers15.sym
vers15.ver
vers16.c
vers16.dsym
vers16.map
vers16a.c
vers16a.dsym
vers16a.ver
vers2.c
vers2.dsym
vers2.map

View File

@ -0,0 +1,10 @@
int show_bar ()
{
return 0;
}
extern int show_foo ();
int main ()
{
return show_foo ();
}

View File

@ -0,0 +1,2 @@
[0-9a-f]* g DF (\.text|\*ABS\*) [0-9a-f]* Base (0x[0-9a-f][0-9a-f] )?show_bar
[0-9a-f]* DF \*UND\* [0-9a-f]* (0x[0-9a-f][0-9a-f] )?show_foo

View File

@ -0,0 +1,3 @@
VERS_1.1 {
global: show_bar;
};

View File

@ -0,0 +1,8 @@
int show_bar ()
{
return 1;
}
int show_foo ()
{
return show_bar ();
}

View File

@ -0,0 +1,3 @@
[0-9a-f]* g DO (\.text|\*ABS\*) [0-9a-f]* VERS_1\.1 VERS_1\.1
[0-9a-f]* g DF (\.text|\*ABS\*) [0-9a-f]* VERS_1\.1 (0x[0-9a-f][0-9a-f] )?show_bar
[0-9a-f]* g DF (\.text|\*ABS\*) [0-9a-f]* Base (0x[0-9a-f][0-9a-f] )?show_foo

View File

@ -0,0 +1,3 @@
Version definitions:
1 0x01 0x0601cfbf tmpdir/vers16a.so
2 0x00 0x0a7927b1 VERS_1.1