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

17 lines
308 B
C

#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
extern char bss_in_mbind0;
extern char data_in_mbind3;
int
main (void)
{
if (((intptr_t) &bss_in_mbind0 & (0x4000 - 1)) != 0)
abort ();
if (((intptr_t) &data_in_mbind3 & (0x4000 - 1)) != 0)
abort ();
printf ("PASS\n");
return 0;
}