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

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [ld/] [testsuite/] [ld-elfweak/] [main.c] - Blame information for rev 184

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

Line No. Rev Author Line
1 60 khays
#include <stdio.h>
2
 
3
#pragma weak foo
4
 
5
extern void foo ();
6
extern void foobar ();
7
 
8
void
9
foo ()
10
{
11
  printf ("weak foo\n");
12
}
13
 
14
int
15
main ()
16
{
17
  foobar ();
18
  return 0;
19
}

powered by: WebSVN 2.1.0

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