Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-elf/dynbss1.c
2023-03-06 14:48:14 +01:00

20 lines
344 B
C

#include <stdio.h>
#include <stdlib.h>
#include "data1.h"
int
main (void)
{
if ((((long) (&a1)) & (ALIGNMENT1 - 1)))
abort ();
if ((((long) (&a2)) & (ALIGNMENT2 - 1)))
abort ();
if ((((long) (&a2)) & (ALIGNMENT3 - 1)))
abort ();
if ((((long) (&a3)) & (ALIGNMENT4 - 1)))
abort ();
printf ("PASS\n");
return(0) ;
}