OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [testsuite/] [ld-elfvers/] [vers24c.c] - Diff between revs 156 and 816

Only display areas with differences | Details | Blame | View Log

Rev 156 Rev 816
/* Test whether .symver x, x@foo
/* Test whether .symver x, x@foo
   causes relocations against x within the same shared library
   causes relocations against x within the same shared library
   to become dynamic relocations against x@foo.  */
   to become dynamic relocations against x@foo.  */
int x = 12;
int x = 12;
__asm__ (".symver x, x@VERS.0");
__asm__ (".symver x, x@VERS.0");
void foo (void)
void foo (void)
{
{
  x = 24;
  x = 24;
}
}
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.