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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.1/] [gdb/] [testsuite/] [gdb.base/] [shreloc.c] - Blame information for rev 252

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 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.