summaryrefslogtreecommitdiff
path: root/tools/binman/test/embed_data.c
blob: 47d8c38248cc7790447eb98c4ecd5bd44f81ac11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright 2021 Google LLC
 *
 * Simple program including some embedded data that can be accessed by binman.
 * This is used by binman tests.
 */

int first[10] = {1};
int embed[3] __attribute__((section(".embed"))) = {0x1234, 0x5678};
int second[10] = {1};

int main(void)
{
	return 0;
}