]> git.sur5r.net Git - u-boot/blob - tools/binman/test/u_boot_binman_syms.lds
binman: Add tests binaries with binman symbols
[u-boot] / tools / binman / test / u_boot_binman_syms.lds
1 /*
2  * Copyright (c) 2016 Google, Inc
3  *
4  * SPDX-License-Identifier:      GPL-2.0+
5  */
6
7 OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
8 OUTPUT_ARCH(i386)
9 ENTRY(_start)
10
11 SECTIONS
12 {
13         . = 0x00000000;
14         _start = .;
15
16         . = ALIGN(4);
17         .text :
18         {
19                 __image_copy_start = .;
20                 *(.text*)
21         }
22
23         . = ALIGN(4);
24         .binman_sym_table : {
25                 __binman_sym_start = .;
26                 KEEP(*(SORT(.binman_sym*)));
27                 __binman_sym_end = .;
28         }
29
30 }