mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-22 19:23:07 +00:00
e1ad57e7ef
Fix the check for the __bss_size symbol, since it may be 0. Unfortunately there was no test coverage for this. Signed-off-by: Simon Glass <sjg@chromium.org>
16 lines
268 B
C
16 lines
268 B
C
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright (c) 2016 Google, Inc
|
|
*
|
|
* Simple program to create a bss_data region so the symbol can be read
|
|
* by binutils. This is used by binman tests.
|
|
*/
|
|
|
|
int bss_data[10];
|
|
|
|
int main(void)
|
|
{
|
|
bss_data[2] = 2;
|
|
|
|
return 0;
|
|
}
|