aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/tools/binman/test/u_boot_binman_syms.lds
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/tools/binman/test/u_boot_binman_syms.lds')
-rw-r--r--roms/u-boot/tools/binman/test/u_boot_binman_syms.lds30
1 files changed, 30 insertions, 0 deletions
diff --git a/roms/u-boot/tools/binman/test/u_boot_binman_syms.lds b/roms/u-boot/tools/binman/test/u_boot_binman_syms.lds
new file mode 100644
index 000000000..825fc3f64
--- /dev/null
+++ b/roms/u-boot/tools/binman/test/u_boot_binman_syms.lds
@@ -0,0 +1,30 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (c) 2016 Google, Inc
+ */
+
+OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
+OUTPUT_ARCH(i386)
+ENTRY(_start)
+
+SECTIONS
+{
+ . = 0x00000010;
+ _start = .;
+
+ . = ALIGN(4);
+ .text :
+ {
+ __image_copy_start = .;
+ *(.text*)
+ }
+
+ . = ALIGN(4);
+ .binman_sym_table : {
+ __binman_sym_start = .;
+ KEEP(*(SORT(.binman_sym*)));
+ __binman_sym_end = .;
+ }
+ .interp : { *(.interp*) }
+
+}