gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / gold / testsuite / script_test_11a.c
CommitLineData
5b2af7dd
L
1#include "script_test_11.h"
2
502e8a84
CC
3static unsigned int buffer1[256] __attribute((used));
4static unsigned int buffer2[256] __attribute((used)) = { 1 };
5
6unsigned int foo __attribute__((section(".foo")));
7extern char __foo_start;
8extern char __foo_end;
9
10int
11main (void)
12{
13 if (&__foo_end - &__foo_start != sizeof(foo))
14 return 1;
5b2af7dd 15 if (!ptr_equal(&__foo_start, (char *)&foo))
502e8a84
CC
16 return 2;
17 return 0;
18}
This page took 0.373293 seconds and 4 git commands to generate.