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

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [ld/] [testsuite/] [ld-auto-import/] [dll.c] - Rev 35

Compare with Previous | Blame | View Log

int var = 123;
int foo = 121;
 
int var2[2]= { 123, 456 };
 
#include <stdio.h>
 
void
print_var (void)
{
  printf ("DLL sees var = %d\n", var);
}
 
void
print_foo (void)
{
  printf ("DLL sees foo = %d\n", foo);
}
 
void (* func_ptr)(void) = print_foo;
 

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.