mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 05:42:58 +00:00
5650984300
Add a test that we can pad the BSS with zero bytes. Signed-off-by: Simon Glass <sjg@chromium.org>
18 lines
305 B
C
18 lines
305 B
C
/*
|
|
* Copyright (c) 2016 Google, Inc
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*
|
|
* Simple program to create a _dt_ucode_base_size symbol which can be read
|
|
* by 'nm'. This is used by binman tests.
|
|
*/
|
|
|
|
int bss_data[10];
|
|
int __bss_size = sizeof(bss_data);
|
|
|
|
int main()
|
|
{
|
|
bss_data[2] = 2;
|
|
|
|
return 0;
|
|
}
|