repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[PATCH 53/57][Arm][OBJDUMP] Add support for MVE instructions: vand, vbrsr, vcls,...
[binutils-gdb.git]
/
ld
/
testsuite
/
ld-size
/
size-8a.c
blob
78c57323498fd90f7080b041f41d48a3de2e5afd
1
#include <stdio.h>
2
3
extern
__thread
char
bar
[];
4
extern
char
size_of_bar
asm
(
"bar@SIZE"
);
5
extern
void
set_bar
(
int
,
int
);
6
7
int
8
main
()
9
{
10
set_bar
(
1
,
20
);
11
if
(
10
== (
long
) &
size_of_bar
&&
bar
[
1
] ==
20
)
12
printf
(
"OK
\n
"
);
13
14
return
0
;
15
}