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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr20203.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 688 jeremybenn
void *memset (void *, int, unsigned long);
2
 
3
typedef struct bfd_section
4
{
5
  unsigned long size;
6
  unsigned char *contents;
7
} asection;
8
 
9
int
10
_bfd_mips_elf_finish_dynamic_sections (asection *s)
11
{
12
  long long dummy_offset;
13
  dummy_offset = s->size - 16;
14
  memset (s->contents + dummy_offset, 0, 16);
15
  return 1;
16
}

powered by: WebSVN 2.1.0

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