summaryrefslogtreecommitdiff
path: root/tools/binman/test/bss_data.lds
diff options
context:
space:
mode:
Diffstat (limited to 'tools/binman/test/bss_data.lds')
-rw-r--r--tools/binman/test/bss_data.lds16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/binman/test/bss_data.lds b/tools/binman/test/bss_data.lds
new file mode 100644
index 0000000000..6b2fe09d35
--- /dev/null
+++ b/tools/binman/test/bss_data.lds
@@ -0,0 +1,16 @@
+/*
+ * 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 = .;
+ __bss_size = 10;
+}