repo.or.cz
/
binutils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
[binutils.git]
/
ld
/
testsuite
/
ld-elfvers
/
vers7a.c
blob
7bee8c70bfe3707ce7235cccad4aef5d1a795b98
1
/*
2
* Test supplied by Ulrich. Verify that we can correctly force 'a'
3
* to local scope.
4
*/
5
int
6
__a_internal
(
int
e
)
7
{
8
return
e
+
10
;
9
}
10
11
int
12
__b_internal
(
int
e
)
13
{
14
return
e
+
42
;
15
}
16
17
asm
(
".symver __a_internal,hide_a@@VERS_1"
);
18
asm
(
".symver __b_internal,show_b@@VERS_1"
);