blob: 4f9b64cef9ef02716b538bbdfdb216d6bacd43e2 [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 Glassa4e259e2021-11-03 21:09:16 -06005 * Simple program to create a bss_data region so the symbol 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}