summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/mpc5xxx
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/powerpc/cpu/mpc5xxx
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/powerpc/cpu/mpc5xxx')
-rw-r--r--arch/powerpc/cpu/mpc5xxx/u-boot-customlayout.lds3
-rw-r--r--arch/powerpc/cpu/mpc5xxx/u-boot.lds5
2 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc5xxx/u-boot-customlayout.lds b/arch/powerpc/cpu/mpc5xxx/u-boot-customlayout.lds
index 0c6c54e..acddf5f 100644
--- a/arch/powerpc/cpu/mpc5xxx/u-boot-customlayout.lds
+++ b/arch/powerpc/cpu/mpc5xxx/u-boot-customlayout.lds
@@ -70,6 +70,9 @@ SECTIONS
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
+ .u_boot_list : {
+ #include <u-boot.lst>
+ }
. = .;
__start___ex_table = .;
diff --git a/arch/powerpc/cpu/mpc5xxx/u-boot.lds b/arch/powerpc/cpu/mpc5xxx/u-boot.lds
index 5dcaec1..998221e 100644
--- a/arch/powerpc/cpu/mpc5xxx/u-boot.lds
+++ b/arch/powerpc/cpu/mpc5xxx/u-boot.lds
@@ -64,6 +64,11 @@ SECTIONS
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
+ . = ALIGN(4);
+ .u_boot_list : {
+ #include <u-boot.lst>
+ }
+
. = .;
__start___ex_table = .;