mirror of
https://review.haiku-os.org/buildtools
synced 2025-01-19 12:51:22 +01:00
b67b6a17a6
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15072 a95241bf-73f2-0310-859d-f6bbb57e9c96
10 lines
223 B
C
10 lines
223 B
C
/* Test whether .symver x, x@foo
|
|
causes relocations against x within the same shared library
|
|
to become dynamic relocations against x@foo. */
|
|
int x = 12;
|
|
__asm__ (".symver x, x@VERS.0");
|
|
void foo (void)
|
|
{
|
|
x = 24;
|
|
}
|