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/lwmon/u-boot.lds.debug | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'board/lwmon/u-boot.lds.debug') diff --git a/board/lwmon/u-boot.lds.debug b/board/lwmon/u-boot.lds.debug index 241223481b..8fcdb90919 100644 --- a/board/lwmon/u-boot.lds.debug +++ b/board/lwmon/u-boot.lds.debug @@ -111,6 +111,11 @@ SECTIONS .u_boot_cmd : { *(.u_boot_cmd) } __u_boot_cmd_end = .; + . = ALIGN(4); + .u_boot_list : { + #include + } + __start___ex_table = .; __ex_table : { *(__ex_table) } -- cgit v1.2.1 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/lwmon/u-boot.lds.debug | 3 --- 1 file changed, 3 deletions(-) (limited to 'board/lwmon/u-boot.lds.debug') diff --git a/board/lwmon/u-boot.lds.debug b/board/lwmon/u-boot.lds.debug index 8fcdb90919..0a3e6466a9 100644 --- a/board/lwmon/u-boot.lds.debug +++ b/board/lwmon/u-boot.lds.debug @@ -107,9 +107,6 @@ SECTIONS _edata = .; PROVIDE (edata = .); - __u_boot_cmd_start = .; - .u_boot_cmd : { *(.u_boot_cmd) } - __u_boot_cmd_end = .; . = ALIGN(4); .u_boot_list : { -- cgit v1.2.1