aboutsummaryrefslogtreecommitdiff
path: root/board/cogent
diff options
context:
space:
mode:
authorMarek Vasut2012-10-12 10:27:03 +0000
committerTom Rini2012-10-22 08:29:42 -0700
commit556751427b9b79266918e87f7399e1a6eea60096 (patch)
treee68dc07f778b9cfcd4e884e566ab23e6f9ea0752 /board/cogent
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 'board/cogent')
-rw-r--r--board/cogent/u-boot.lds5
-rw-r--r--board/cogent/u-boot.lds.debug5
2 files changed, 10 insertions, 0 deletions
diff --git a/board/cogent/u-boot.lds b/board/cogent/u-boot.lds
index 2393d8d8af6..f7137bda877 100644
--- a/board/cogent/u-boot.lds
+++ b/board/cogent/u-boot.lds
@@ -74,6 +74,11 @@ SECTIONS
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
+ . = ALIGN(4);
+ .u_boot_list : {
+ #include <u-boot.lst>
+ }
+
. = .;
__start___ex_table = .;
diff --git a/board/cogent/u-boot.lds.debug b/board/cogent/u-boot.lds.debug
index 99c48f28d4e..46f2f8f7b90 100644
--- a/board/cogent/u-boot.lds.debug
+++ b/board/cogent/u-boot.lds.debug
@@ -110,6 +110,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) }