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

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [ld/] [testsuite/] [ld-pie/] [weakundef-data.c] - Blame information for rev 332

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

Line No. Rev Author Line
1 93 khays
#include <stdio.h>
2
 
3
#pragma weak undef_data
4
 
5
extern int undef_data;
6
int *ptr_to_data = &undef_data;
7
 
8
int
9
main (void)
10
{
11
  if (ptr_to_data == NULL)
12
    printf ("PASSED\n");
13
 
14
  return 0;
15
}

powered by: WebSVN 2.1.0

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