summaryrefslogtreecommitdiff
path: root/arch/arc/cpu/u-boot.lds
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2015-01-20 16:41:11 -0500
committerTom Rini <trini@ti.com>2015-01-20 16:41:11 -0500
commit768f6096f9c389b5ed36bee2957bee16b085fc4a (patch)
tree75d1efa0368647df87dfe4dbd16a101cbdecdc60 /arch/arc/cpu/u-boot.lds
parent1cd20006989532c0a688870a43727ace58997785 (diff)
parentfdff23702a361e89a153222233231af4d00d6e2a (diff)
downloadu-boot-imx-768f6096f9c389b5ed36bee2957bee16b085fc4a.zip
u-boot-imx-768f6096f9c389b5ed36bee2957bee16b085fc4a.tar.gz
u-boot-imx-768f6096f9c389b5ed36bee2957bee16b085fc4a.tar.bz2
Merge git://git.denx.de/u-boot-arc
Diffstat (limited to 'arch/arc/cpu/u-boot.lds')
-rw-r--r--arch/arc/cpu/u-boot.lds85
1 files changed, 85 insertions, 0 deletions
diff --git a/arch/arc/cpu/u-boot.lds b/arch/arc/cpu/u-boot.lds
new file mode 100644
index 0000000..ccddbf7
--- /dev/null
+++ b/arch/arc/cpu/u-boot.lds
@@ -0,0 +1,85 @@
+/*
+ * Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+OUTPUT_FORMAT("elf32-littlearc", "elf32-littlearc", "elf32-littlearc")
+OUTPUT_ARCH(arc)
+ENTRY(_start)
+SECTIONS
+{
+ . = ALIGN(4);
+ .text : {
+ *(.__text_start)
+ *(.__image_copy_start)
+ *(.text*)
+ }
+
+ . = ALIGN(4);
+ .text_end :
+ {
+ *(.__text_end)
+ }
+
+ . = ALIGN(1024);
+ .ivt_start : {
+ *(.__ivt_start)
+ }
+
+ .ivt :
+ {
+ *(.ivt)
+ }
+
+ .ivt_end : {
+ *(.__ivt_end)
+ }
+
+ . = ALIGN(4);
+ .rodata : {
+ *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
+ }
+
+ . = ALIGN(4);
+ .data : {
+ *(.data*)
+ }
+
+ . = ALIGN(4);
+ .u_boot_list : {
+ KEEP(*(SORT(.u_boot_list*)));
+ }
+
+ . = ALIGN(4);
+ .rel_dyn_start : {
+ *(.__rel_dyn_start)
+ }
+
+ .rela.dyn : {
+ *(.rela.dyn)
+ }
+
+ .rel_dyn_end : {
+ *(.__rel_dyn_end)
+ }
+
+ . = ALIGN(4);
+ .bss_start : {
+ *(.__bss_start);
+ }
+
+ .bss : {
+ *(.bss*)
+ }
+
+ .bss_end : {
+ *(.__bss_end);
+ }
+
+ . = ALIGN(4);
+ .image_copy_end : {
+ *(.__image_copy_end)
+ *(.__init_end)
+ }
+}