Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | 7f94e83 | 2017-11-12 21:52:25 -0700 | [diff] [blame] | 2 | /* |
3 | * Copyright (c) 2016 Google, Inc | ||||
4 | * | ||||
Simon Glass | a4e259e | 2021-11-03 21:09:16 -0600 | [diff] [blame] | 5 | * Simple program to create a bss_data region so the symbol can be read |
Simon Glass | 24ad365 | 2017-11-13 18:54:54 -0700 | [diff] [blame] | 6 | * by binutils. This is used by binman tests. |
Simon Glass | 7f94e83 | 2017-11-12 21:52:25 -0700 | [diff] [blame] | 7 | */ |
8 | |||||
9 | int bss_data[10]; | ||||
Simon Glass | 7f94e83 | 2017-11-12 21:52:25 -0700 | [diff] [blame] | 10 | |
Simon Glass | 2cbd8a5 | 2023-07-18 07:24:00 -0600 | [diff] [blame] | 11 | int main(void) |
Simon Glass | 7f94e83 | 2017-11-12 21:52:25 -0700 | [diff] [blame] | 12 | { |
13 | bss_data[2] = 2; | ||||
14 | |||||
15 | return 0; | ||||
16 | } |