Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | 5650984 | 2017-11-12 21:52:25 -0700 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2016 Google, Inc |
| 4 | * |
Simon Glass | 5650984 | 2017-11-12 21:52:25 -0700 | [diff] [blame] | 5 | * 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] | 6 | * by binutils. This is used by binman tests. |
Simon Glass | 5650984 | 2017-11-12 21:52:25 -0700 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | int bss_data[10]; |
| 10 | int __bss_size = sizeof(bss_data); |
| 11 | |
| 12 | int main() |
| 13 | { |
| 14 | bss_data[2] = 2; |
| 15 | |
| 16 | return 0; |
| 17 | } |