mirror of
https://github.com/autc04/Retro68.git
synced 2025-01-23 23:32:21 +00:00
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;
|
|
}
|