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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [testsuite/] [ld-cygwin/] [testdll.c] - Rev 38

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

extern void exewrite (void);
__attribute((dllimport)) int  global_a;
 
void 
dllwrite (void)
{
  global_a = 3;
  exewrite ();
}
 
int _stdcall testdll_main(int p1, unsigned long p2, void* p3)
{
	return 1;
}
 

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

powered by: WebSVN 2.1.0

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