mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-07-05 02:36:39 +09:00
![Simon Glass](/assets/img/avatar_default.png)
Add a test that we can pad the BSS with zero bytes. Signed-off-by: Simon Glass <sjg@chromium.org>
19 lines
305 B
C
19 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;
|
|
}
|