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)
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 b86a82297fa..3cd28f7b35e 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 9bf8503640a..f0bad518f22 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 d9c70bce091..d204304cf4e 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 = .; */