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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20010320-1.c] - Blame information for rev 688

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
typedef struct sec {
2
const char *name;
3
int id;
4
int index;
5
struct sec *next;
6
unsigned int flags;
7
unsigned int user_set_vma : 1;
8
unsigned int reloc_done : 1;
9
unsigned int linker_mark : 1;
10
unsigned int gc_mark : 1;
11
unsigned int segment_mark : 1;
12
unsigned long long vma; } asection;
13
 
14
static void pe_print_pdata (asection *section)
15
{
16
  unsigned long long i;
17
  unsigned long long start = 0, stop = 0;
18
  int onaline = (3*8) ;
19
 
20
  for (i = start; i < stop; i += onaline)
21
    {
22
      if (i + (3*8)  > stop)
23
        break;
24
 
25
      f (((unsigned long) (((   i + section->vma  ) >> 32) & 0xffffffff)) , ((unsigned long) (((   i + section->vma  ) & 0xffffffff))) ) ;
26
    }
27
}
28
 

powered by: WebSVN 2.1.0

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