diff options
author | Marek Vasut <marex@denx.de> | 2012-10-12 10:27:03 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-10-22 15:29:42 (GMT) |
commit | 556751427b9b79266918e87f7399e1a6eea60096 (patch) | |
tree | e68dc07f778b9cfcd4e884e566ab23e6f9ea0752 /arch/powerpc/cpu/mpc85xx | |
parent | 42ebaae3a33b8393a37e7176234e71b5eada58d4 (diff) | |
download | u-boot-556751427b9b79266918e87f7399e1a6eea60096.tar.xz |
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/mpc85xx')
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/u-boot-nand.lds | 4 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds | 4 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/u-boot.lds | 5 |
3 files changed, 13 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/u-boot-nand.lds b/arch/powerpc/cpu/mpc85xx/u-boot-nand.lds index 8ba9399..29aabde 100644 --- a/arch/powerpc/cpu/mpc85xx/u-boot-nand.lds +++ b/arch/powerpc/cpu/mpc85xx/u-boot-nand.lds @@ -74,6 +74,10 @@ SECTIONS .u_boot_cmd : { *(.u_boot_cmd) } __u_boot_cmd_end = .; + .u_boot_list : { + #include <u-boot.lst> + } + . = .; __start___ex_table = .; __ex_table : { *(__ex_table) } diff --git a/arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds b/arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds index 668158f..46dbaed 100644 --- a/arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds +++ b/arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds @@ -53,6 +53,10 @@ SECTIONS } _edata = .; + .u_boot_list : { + #include <u-boot.lst> + } + . = ALIGN(8); __init_begin = .; __init_end = .; diff --git a/arch/powerpc/cpu/mpc85xx/u-boot.lds b/arch/powerpc/cpu/mpc85xx/u-boot.lds index efe34b7..49fe44d 100644 --- a/arch/powerpc/cpu/mpc85xx/u-boot.lds +++ b/arch/powerpc/cpu/mpc85xx/u-boot.lds @@ -81,6 +81,11 @@ SECTIONS .u_boot_cmd : { *(.u_boot_cmd) } __u_boot_cmd_end = .; + . = ALIGN(4); + .u_boot_list : { + #include <u-boot.lst> + } + . = .; __start___ex_table = .; __ex_table : { *(__ex_table) } |