summaryrefslogtreecommitdiff
path: root/tools/binman/test/bss_data.c
blob: f865a9d9f6732e7a6dbb272fd9d649edf4fe3ab1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Copyright (c) 2016 Google, Inc
 *
 * SPDX-License-Identifier:     GPL-2.0+
 *
 * Simple program to create a _dt_ucode_base_size symbol which can be read
 * by 'nm'. This is used by binman tests.
 */

int bss_data[10];
int __bss_size = sizeof(bss_data);

int main()
{
	bss_data[2] = 2;

	return 0;
}