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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [gdb/] [testsuite/] [gdb.base/] [shreloc.c] - Blame information for rev 840

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
#if defined(_WIN32) || defined(__CYGWIN__)
2
# define ATTRIBUTES __attribute((__dllimport__))
3
#else
4
# define ATTRIBUTES
5
#endif
6
 
7
extern ATTRIBUTES void fn_1 (int);
8
extern ATTRIBUTES void fn_2 (int);
9
extern ATTRIBUTES int extern_var_1;
10
extern ATTRIBUTES int extern_var_2;
11
 
12
int main ()
13
{
14
  fn_1 (extern_var_1);
15
  fn_2 (extern_var_2);
16
 
17
  return 0;
18
}

powered by: WebSVN 2.1.0

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