xref: /openbmc/u-boot/tools/binman/test/bss_data.c (revision 278b90ce)
1 /*
2  * Copyright (c) 2016 Google, Inc
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  *
6  * Simple program to create a _dt_ucode_base_size symbol which can be read
7  * by binutils. This is used by binman tests.
8  */
9 
10 int bss_data[10];
11 int __bss_size = sizeof(bss_data);
12 
13 int main()
14 {
15 	bss_data[2] = 2;
16 
17 	return 0;
18 }
19