summaryrefslogtreecommitdiff
path: root/arch/sh
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-10-12 10:27:03 +0000
committerTom Rini <trini@ti.com>2012-10-22 08:29:42 -0700
commit556751427b9b79266918e87f7399e1a6eea60096 (patch)
treee68dc07f778b9cfcd4e884e566ab23e6f9ea0752 /arch/sh
parent42ebaae3a33b8393a37e7176234e71b5eada58d4 (diff)
downloadu-boot-imx-556751427b9b79266918e87f7399e1a6eea60096.zip
u-boot-imx-556751427b9b79266918e87f7399e1a6eea60096.tar.gz
u-boot-imx-556751427b9b79266918e87f7399e1a6eea60096.tar.bz2
common: Add .u_boot_list into all linker files
Add section for the linker-generated lists into all possible linker files, so that everyone can easily use these lists. This is mostly a mechanical adjustment. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Joe Hershberger <joe.hershberger@gmail.com> Cc: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/cpu/sh2/u-boot.lds4
-rw-r--r--arch/sh/cpu/sh3/u-boot.lds4
-rw-r--r--arch/sh/cpu/sh4/u-boot.lds4
3 files changed, 12 insertions, 0 deletions
diff --git a/arch/sh/cpu/sh2/u-boot.lds b/arch/sh/cpu/sh2/u-boot.lds
index b86a822..3cd28f7 100644
--- a/arch/sh/cpu/sh2/u-boot.lds
+++ b/arch/sh/cpu/sh2/u-boot.lds
@@ -80,6 +80,10 @@ SECTIONS
}
PROVIDE (__u_boot_cmd_end = .);
+ .u_boot_list : {
+ #include <u-boot.lst>
+ }
+
PROVIDE (reloc_dst_end = .);
PROVIDE (bss_start = .);
diff --git a/arch/sh/cpu/sh3/u-boot.lds b/arch/sh/cpu/sh3/u-boot.lds
index 9bf8503..f0bad51 100644
--- a/arch/sh/cpu/sh3/u-boot.lds
+++ b/arch/sh/cpu/sh3/u-boot.lds
@@ -86,6 +86,10 @@ SECTIONS
}
PROVIDE (__u_boot_cmd_end = .);
+ .u_boot_list : {
+ #include <u-boot.lst>
+ }
+
PROVIDE (reloc_dst_end = .);
/* _reloc_dst_end = .; */
diff --git a/arch/sh/cpu/sh4/u-boot.lds b/arch/sh/cpu/sh4/u-boot.lds
index d9c70bc..d204304 100644
--- a/arch/sh/cpu/sh4/u-boot.lds
+++ b/arch/sh/cpu/sh4/u-boot.lds
@@ -83,6 +83,10 @@ SECTIONS
}
PROVIDE (__u_boot_cmd_end = .);
+ .u_boot_list : {
+ #include <u-boot.lst>
+ }
+
PROVIDE (reloc_dst_end = .);
/* _reloc_dst_end = .; */