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