Simon Glass | 056f0ef | 2021-11-03 21:09:16 -0600 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright 2021 Google LLC |
| 4 | * |
| 5 | * Simple program including some embedded data that can be accessed by binman. |
| 6 | * This is used by binman tests. |
| 7 | */ |
| 8 | |
| 9 | int first[10] = {1}; |
Simon Glass | 060a65e | 2023-01-23 11:29:41 -0700 | [diff] [blame] | 10 | int before[2] __attribute__((section(".embed"))) = {2, 3}; |
Simon Glass | 056f0ef | 2021-11-03 21:09:16 -0600 | [diff] [blame] | 11 | int embed[3] __attribute__((section(".embed"))) = {0x1234, 0x5678}; |
| 12 | int second[10] = {1}; |
| 13 | |
| 14 | int main(void) |
| 15 | { |
| 16 | return 0; |
| 17 | } |