summaryrefslogtreecommitdiff
path: root/bcc/misc/sformat
blob: 3dcb0c454d236279f3f5ae16690ce964329cd591 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
int x;
.comm _x,2

int x = 1;
.global _x  
.data
_x:
1

static int x;
.bss
_x:
.=.+2

static int x = 1;
.bss						| implicit
.data
_x:
1

char x[10];
.comm _x,12

char x[10] = "1";
.globl _x
.data
_x:
.byte 61,0
.=.+10

static char x[10];
.bss;
_cc:
.=.+12

static char x[10] = "1";
.data
_x:
.byte 61,0
.=.+10

test()
.globl _test
.text
_test:

{
static int x;
.bss
L3:
.=.+2

static int x = 1;
.bss
.data
L5:1