From af1a266670d040d2f4083ff309d732d648afba2a Mon Sep 17 00:00:00 2001 From: Angelos Mouzakitis Date: Tue, 10 Oct 2023 14:33:42 +0000 Subject: Add submodule dependency files Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec --- roms/u-boot/tools/binman/test/bss_data.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 roms/u-boot/tools/binman/test/bss_data.c (limited to 'roms/u-boot/tools/binman/test/bss_data.c') diff --git a/roms/u-boot/tools/binman/test/bss_data.c b/roms/u-boot/tools/binman/test/bss_data.c new file mode 100644 index 000000000..79537c31b --- /dev/null +++ b/roms/u-boot/tools/binman/test/bss_data.c @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (c) 2016 Google, Inc + * + * Simple program to create a _dt_ucode_base_size symbol which can be read + * by binutils. This is used by binman tests. + */ + +int bss_data[10]; +int __bss_size = sizeof(bss_data); + +int main() +{ + bss_data[2] = 2; + + return 0; +} -- cgit