blob: 79537c31b6587fbd4aece6e7fb75d7a38747da30 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Simon Glass7f94e832017-11-12 21:52:25 -07002/*
3 * Copyright (c) 2016 Google, Inc
4 *
Simon Glass7f94e832017-11-12 21:52:25 -07005 * Simple program to create a _dt_ucode_base_size symbol which can be read
Simon Glass24ad3652017-11-13 18:54:54 -07006 * by binutils. This is used by binman tests.
Simon Glass7f94e832017-11-12 21:52:25 -07007 */
8
9int bss_data[10];
10int __bss_size = sizeof(bss_data);
11
12int main()
13{
14 bss_data[2] = 2;
15
16 return 0;
17}