aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/mbind2b.c
blob: 10922a1f046240a5752121f472ef04b3a4a3972a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdio.h>
#include <stdlib.h>
#include <bfd_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;
}