Simon Glass | 5650984 | 2017-11-12 21:52:25 -0700 | [diff] [blame] | 1 | /* |
2 | * Copyright (c) 2016 Google, Inc | ||||
3 | * | ||||
4 | * SPDX-License-Identifier: GPL-2.0+ | ||||
5 | * | ||||
6 | * Simple program to create a _dt_ucode_base_size symbol which can be read | ||||
Simon Glass | b50e561 | 2017-11-13 18:54:54 -0700 | [diff] [blame^] | 7 | * by binutils. This is used by binman tests. |
Simon Glass | 5650984 | 2017-11-12 21:52:25 -0700 | [diff] [blame] | 8 | */ |
9 | |||||
10 | int bss_data[10]; | ||||
11 | int __bss_size = sizeof(bss_data); | ||||
12 | |||||
13 | int main() | ||||
14 | { | ||||
15 | bss_data[2] = 2; | ||||
16 | |||||
17 | return 0; | ||||
18 | } |