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

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [ld/] [testsuite/] [ld-elfvers/] [vers7a.c] - Blame information for rev 58

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 58 khays
/*
2
 * Test supplied by Ulrich.  Verify that we can correctly force 'a'
3
 * to local scope.
4
 */
5
#include "vers.h"
6
 
7
int
8
__a_internal (int e)
9
{
10
  return e + 10;
11
}
12
 
13
int
14
__b_internal (int e)
15
{
16
  return e + 42;
17
}
18
 
19
SYMVER(__a_internal, hide_a@@VERS_1);
20
SYMVER(__b_internal, show_b@@VERS_1);

powered by: WebSVN 2.1.0

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