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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [testsuite/] [ld-auto-import/] [dll.c] - Rev 866

Go to most recent revision | 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;
 

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.