mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-11 03:52:59 +00:00
12 lines
230 B
C
12 lines
230 B
C
/* Test whether .symver x, x@foo
|
|
causes relocations against x within the same shared library
|
|
to become dynamic relocations against x@foo. */
|
|
#include "vers.h"
|
|
|
|
int x = 12;
|
|
SYMVER(x, x@VERS.0);
|
|
void foo (void)
|
|
{
|
|
x = 24;
|
|
}
|