[PATCH 40/57][Arm][OBJDUMP] Add support for MVE instructions: vdup, veor, vfma, vfms...
[binutils-gdb.git] / ld / testsuite / ld-size / size-5b.c
bloba9450a5c868ee4861ee7f053a51a6d6fa911e2aa
1 extern __thread char bar[];
2 extern char size_of_bar asm ("bar@SIZE");
4 char *bar_size_1 = &size_of_bar;
5 static char *bar_size_2 = &size_of_bar;
7 char *
8 bar_size1 (void)
10 bar[2] = 3;
11 return bar_size_1;
14 char *
15 bar_size2 (void)
17 return bar_size_2;
20 extern __thread char foo[];
21 extern char size_of_foo asm ("foo@SIZE");
23 char *foo_size_1 = &size_of_foo;
24 static char *foo_size_2 = &size_of_foo;
26 char *
27 foo_size1 (void)
29 foo[3] = 4;
30 return foo_size_1;
33 char *
34 foo_size2 (void)
36 return foo_size_2;