blob: 79537c31b6587fbd4aece6e7fb75d7a38747da30 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Simon Glass56509842017-11-12 21:52:25 -07002/*
3 * Copyright (c) 2016 Google, Inc
4 *
Simon Glass56509842017-11-12 21:52:25 -07005 * Simple program to create a _dt_ucode_base_size symbol which can be read
Simon Glassb50e5612017-11-13 18:54:54 -07006 * by binutils. This is used by binman tests.
Simon Glass56509842017-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}