summaryrefslogtreecommitdiff
path: root/tools/binman/test/u_boot_ucode_ptr.lds
diff options
context:
space:
mode:
Diffstat (limited to 'tools/binman/test/u_boot_ucode_ptr.lds')
-rw-r--r--tools/binman/test/u_boot_ucode_ptr.lds18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/binman/test/u_boot_ucode_ptr.lds b/tools/binman/test/u_boot_ucode_ptr.lds
new file mode 100644
index 0000000..167debf
--- /dev/null
+++ b/tools/binman/test/u_boot_ucode_ptr.lds
@@ -0,0 +1,18 @@
+/*
+ * Copyright (c) 2016 Google, Inc
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
+OUTPUT_ARCH(i386)
+ENTRY(_start)
+
+SECTIONS
+{
+ . = 0xfffffdf0;
+ _start = .;
+ .ucode : {
+ *(.ucode)
+ }
+}