blob: e0305c382c35665a0fd2f61702a5f8da240018c5 [file] [log] [blame]
Simon Glass7f94e832017-11-12 21:52:25 -07001/*
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
Simon Glass24ad3652017-11-13 18:54:54 -07007 * by binutils. This is used by binman tests.
Simon Glass7f94e832017-11-12 21:52:25 -07008 */
9
10int bss_data[10];
11int __bss_size = sizeof(bss_data);
12
13int main()
14{
15 bss_data[2] = 2;
16
17 return 0;
18}