aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr25749-1d.c
blob: 33b869deb5d90e4cc25c62f81a53f2f4084b7d72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <bfd_stdint.h>

extern void *_binary_pr25749_1_c_start;
extern void *_binary_pr25749_1_c_end;

intptr_t
size (void)
{
  return ((intptr_t) &_binary_pr25749_1_c_end
	  - (intptr_t) &_binary_pr25749_1_c_start);
}

extern void *_begin __attribute__ ((visibility("hidden")));

intptr_t
size_p (void)
{
  return (intptr_t) &_begin;
}