From 556751427b9b79266918e87f7399e1a6eea60096 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Fri, 12 Oct 2012 10:27:03 +0000 Subject: 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 Cc: Joe Hershberger Cc: Mike Frysinger --- board/dbau1x00/u-boot.lds | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'board/dbau1x00') diff --git a/board/dbau1x00/u-boot.lds b/board/dbau1x00/u-boot.lds index 4a59cea80f..6992c0f571 100644 --- a/board/dbau1x00/u-boot.lds +++ b/board/dbau1x00/u-boot.lds @@ -60,6 +60,11 @@ SECTIONS __u_boot_cmd_end = .; } + . = ALIGN(4); + .u_boot_list : { + #include + } + uboot_end_data = .; num_got_entries = (__got_end - __got_start) >> 2; -- cgit From 8b493a52367623f36e628e4ab2cf8ee082b655e0 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Wed, 17 Oct 2012 00:45:46 +0000 Subject: common: Discard the __u_boot_cmd section The command declaration now uses the new LG-array method to generate list of commands. Thus the __u_boot_cmd section is now superseded and redundant and therefore can be removed. Also, remove externed symbols associated with this section from include/command.h . Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Mike Frysinger --- board/dbau1x00/u-boot.lds | 6 ------ 1 file changed, 6 deletions(-) (limited to 'board/dbau1x00') diff --git a/board/dbau1x00/u-boot.lds b/board/dbau1x00/u-boot.lds index 6992c0f571..8a871cff49 100644 --- a/board/dbau1x00/u-boot.lds +++ b/board/dbau1x00/u-boot.lds @@ -54,12 +54,6 @@ SECTIONS .sdata : { *(.sdata*) } - .u_boot_cmd : { - __u_boot_cmd_start = .; - *(.u_boot_cmd) - __u_boot_cmd_end = .; - } - . = ALIGN(4); .u_boot_list : { #include -- cgit