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:
parent
300a10323a
commit
ea0a321df9
@ -34,6 +34,12 @@ vers15.c
|
|||||||
vers15.dsym
|
vers15.dsym
|
||||||
vers15.sym
|
vers15.sym
|
||||||
vers15.ver
|
vers15.ver
|
||||||
|
vers16.c
|
||||||
|
vers16.dsym
|
||||||
|
vers16.map
|
||||||
|
vers16a.c
|
||||||
|
vers16a.dsym
|
||||||
|
vers16a.ver
|
||||||
vers2.c
|
vers2.c
|
||||||
vers2.dsym
|
vers2.dsym
|
||||||
vers2.map
|
vers2.map
|
||||||
|
10
ld/testsuite/ld-elfvers/vers16.c
Normal file
10
ld/testsuite/ld-elfvers/vers16.c
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
int show_bar ()
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
extern int show_foo ();
|
||||||
|
|
||||||
|
int main ()
|
||||||
|
{
|
||||||
|
return show_foo ();
|
||||||
|
}
|
2
ld/testsuite/ld-elfvers/vers16.dsym
Normal file
2
ld/testsuite/ld-elfvers/vers16.dsym
Normal 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
|
3
ld/testsuite/ld-elfvers/vers16.map
Normal file
3
ld/testsuite/ld-elfvers/vers16.map
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
VERS_1.1 {
|
||||||
|
global: show_bar;
|
||||||
|
};
|
8
ld/testsuite/ld-elfvers/vers16a.c
Normal file
8
ld/testsuite/ld-elfvers/vers16a.c
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
int show_bar ()
|
||||||
|
{
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
int show_foo ()
|
||||||
|
{
|
||||||
|
return show_bar ();
|
||||||
|
}
|
3
ld/testsuite/ld-elfvers/vers16a.dsym
Normal file
3
ld/testsuite/ld-elfvers/vers16a.dsym
Normal 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
|
3
ld/testsuite/ld-elfvers/vers16a.ver
Normal file
3
ld/testsuite/ld-elfvers/vers16a.ver
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Version definitions:
|
||||||
|
1 0x01 0x0601cfbf tmpdir/vers16a.so
|
||||||
|
2 0x00 0x0a7927b1 VERS_1.1
|
Loading…
x
Reference in New Issue
Block a user