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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [ld/] [testsuite/] [ld-elf/] [dynbss1.c] - Blame information for rev 156

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
#include <stdio.h>
2
#include <stdlib.h>
3
#include "data1.h"
4
 
5
int
6
main (void)
7
{
8
  if ((((long) (&a1)) & (ALIGNMENT1 - 1)))
9
    abort ();
10
  if ((((long) (&a2)) & (ALIGNMENT2 - 1)))
11
    abort ();
12
  if ((((long) (&a2)) & (ALIGNMENT3 - 1)))
13
    abort ();
14
  if ((((long) (&a3)) & (ALIGNMENT4 - 1)))
15
    abort ();
16
 
17
  printf ("PASS\n");
18
 
19
  return(0) ;
20
}

powered by: WebSVN 2.1.0

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