Commit 55675142 authored by Marek Vasut's avatar Marek Vasut Committed by Tom Rini
Browse files

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: default avatarMarek Vasut <marex@denx.de>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
Cc: Mike Frysinger <vapier@gentoo.org>
parent 42ebaae3
......@@ -52,6 +52,11 @@ SECTIONS
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
. = ALIGN(4);
.u_boot_list : {
#include <u-boot.lst>
}
. = ALIGN(4);
__bss_start = .;
.bss : { *(.bss) }
......
......@@ -54,6 +54,10 @@ SECTIONS
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
.u_boot_list : {
#include <u-boot.lst>
}
. = ALIGN(4);
.rel.dyn : {
......
......@@ -54,6 +54,10 @@ SECTIONS
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
.u_boot_list : {
#include <u-boot.lst>
}
. = ALIGN(4);
.rel.dyn : {
......
......@@ -47,6 +47,11 @@ SECTIONS
. = ALIGN(4);
.data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram
.u_boot_list : {
#include <u-boot.lst>
}
. = ALIGN(4);
__image_copy_end = .;
_end = .;
......
......@@ -50,6 +50,11 @@ SECTIONS
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
. = ALIGN(4);
.u_boot_list : {
#include <u-boot.lst>
}
. = ALIGN(4);
.rel.dyn : {
......
......@@ -53,6 +53,11 @@ SECTIONS
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
. = ALIGN(4);
.u_boot_list : {
#include <u-boot.lst>
}
. = ALIGN(4);
__image_copy_end = .;
......
......@@ -53,6 +53,11 @@ SECTIONS
}
__u_boot_cmd_end = .;
. = ALIGN(4);
.u_boot_list : {
#include <u-boot.lst>
}
. = ALIGN(4);
_got = .;
.got : {
......
......@@ -119,6 +119,10 @@ SECTIONS
___u_boot_cmd_end = .;
} >ram_data
.u_boot_list : {
#include <u-boot.lst>
} >ram_data
.text_l1 :
{
. = ALIGN(4);
......
......@@ -58,6 +58,11 @@ SECTIONS
__u_boot_cmd_end = .;
}
. = ALIGN(4);
.u_boot_list : {
#include <u-boot.lst>
}
.bss ALIGN(0x4):
{
__bss_start = .;
......
......@@ -56,6 +56,11 @@ SECTIONS
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
. = ALIGN(4);
.u_boot_list : {
#include <u-boot.lst>
}
. = ALIGN(4);
_end = .;
......
......@@ -53,6 +53,11 @@ SECTIONS
. = ALIGN(4);
__u_boot_cmd_end = .;
. = ALIGN(4);
.u_boot_list : {
#include <u-boot.lst>
}
/* INIT DATA sections - "Small" data (see the gcc -G option)
* is always gp-relative. Here we make all init data sections
* adjacent to simplify the startup code -- and provide
......
......@@ -66,6 +66,11 @@ SECTIONS
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
. = ALIGN(4);
.u_boot_list : {
#include <u-boot.lst>
}
. = .;
__start___ex_table = .;
......
......@@ -61,6 +61,11 @@ SECTIONS
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
. = ALIGN(4);
.u_boot_list : {
#include <u-boot.lst>
}
. = .;
__start___ex_table = .;
......
......@@ -69,6 +69,11 @@ SECTIONS
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
. = ALIGN(4);
.u_boot_list : {
#include <u-boot.lst>
}
. = .;
__start___ex_table = .;
......
......@@ -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 = .;
......
......@@ -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 = .;
......
......@@ -63,6 +63,11 @@ SECTIONS
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
. = ALIGN(4);
.u_boot_list : {
#include <u-boot.lst>
}
. = .;
__start___ex_table = .;
......
......@@ -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 = .;
......
......@@ -63,6 +63,11 @@ SECTIONS
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
. = ALIGN(4);
.u_boot_list : {
#include <u-boot.lst>
}
. = .;
__start___ex_table = .;
......
......@@ -62,6 +62,11 @@ SECTIONS
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
. = ALIGN(4);
.u_boot_list : {
#include <u-boot.lst>
}
. = .;
__start___ex_table = .;
......
......@@ -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) }
......
......@@ -53,6 +53,10 @@ SECTIONS
}
_edata = .;
.u_boot_list : {
#include <u-boot.lst>
}
. = ALIGN(8);
__init_begin = .;
__init_end = .;
......
......@@ -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) }
......
......@@ -68,6 +68,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) }
......
......@@ -82,6 +82,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) }
......
......@@ -28,6 +28,11 @@ SECTIONS
_u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
. = ALIGN(4);
.u_boot_list : {
#include <u-boot.lst>
}
__u_boot_sandbox_option_start = .;
_u_boot_sandbox_getopt : { *(.u_boot_sandbox_getopt) }
__u_boot_sandbox_option_end = .;
......
......@@ -80,6 +80,10 @@ SECTIONS
}
PROVIDE (__u_boot_cmd_end = .);
.u_boot_list : {
#include <u-boot.lst>
}
PROVIDE (reloc_dst_end = .);
PROVIDE (bss_start = .);
......
......@@ -86,6 +86,10 @@ SECTIONS
}
PROVIDE (__u_boot_cmd_end = .);
.u_boot_list : {
#include <u-boot.lst>
}
PROVIDE (reloc_dst_end = .);
/* _reloc_dst_end = .; */
......
......@@ -83,6 +83,10 @@ SECTIONS
}
PROVIDE (__u_boot_cmd_end = .);
.u_boot_list : {
#include <u-boot.lst>
}
PROVIDE (reloc_dst_end = .);
/* _reloc_dst_end = .; */
......
......@@ -38,6 +38,11 @@ SECTIONS
. = ALIGN(4);
__u_boot_cmd_end = .;
. = ALIGN(4);
.u_boot_list : {
#include <u-boot.lst>
}
. = ALIGN(4);
.rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
......
......@@ -69,6 +69,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) }
......
......@@ -90,6 +90,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) }
......
......@@ -70,6 +70,11 @@ SECTIONS
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
. = ALIGN(4);
.u_boot_list : {
#include <u-boot.lst>
}
. = .;
__start___ex_table = .;
......
......@@ -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) }
......
......@@ -70,6 +70,11 @@ SECTIONS
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
. = ALIGN(4);
.u_boot_list : {
#include <u-boot.lst>
}
. = .;
__start___ex_table = .;
......
......@@ -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) }
......
......@@ -70,6 +70,11 @@ SECTIONS
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
. = ALIGN(4);
.u_boot_list : {
#include <u-boot.lst>
}
. = .;
__start___ex_table = .;
......
......@@ -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) }
......
......@@ -75,6 +75,11 @@ SECTIONS
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
. = ALIGN(4);
.u_boot_list : {
#include <u-boot.lst>
}
. = .;
__start___ex_table = .;
......
......@@ -60,6 +60,11 @@ SECTIONS
}
__u_boot_cmd_end =.;
. = ALIGN(4);
.u_boot_list : {
#include <u-boot.lst>
}
. = ALIGN (4);
.rel.dyn : {
__rel_dyn_start = .;
......
......@@ -60,6 +60,11 @@ SECTIONS
}
__u_boot_cmd_end =.;
. = ALIGN(4);
.u_boot_list : {
#include <u-boot.lst>
}
. = ALIGN (4);
.rel.dyn : {
__rel_dyn_start = .;
......
......@@ -60,6 +60,11 @@ SECTIONS
}
__u_boot_cmd_end =.;
. = ALIGN(4);
.u_boot_list : {
#include <u-boot.lst>
}
. = ALIGN (4);
.rel.dyn : {
__rel_dyn_start = .;
......
......@@ -66,6 +66,11 @@ SECTIONS
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
. = ALIGN(4);
.u_boot_list : {
#include <u-boot.lst>
}
. = .;
__start___ex_table = .;
......
......@@ -48,6 +48,10 @@ SECTIONS
. = ALIGN(4);
.data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram
. = ALIGN(4);
.u_boot_list : {
#include <u-boot.lst>
} >.sram
. = ALIGN(4);
.rel.dyn : {
__rel_dyn_start = .;
*(.rel*)
......
......@@ -54,6 +54,11 @@ SECTIONS
. = ALIGN(4);
__u_boot_cmd_end = .;
. = ALIGN(4);
.u_boot_list : {
#include <u-boot.lst>
}
/* INIT DATA sections - "Small" data (see the gcc -G option)
* is always gp-relative. Here we make all init data sections
* adjacent to simplify the startup code -- and provide
......
......@@ -76,6 +76,9 @@ SECTIONS
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
.u_boot_list : {
#include <u-boot.lst>
}
. = .;
__start___ex_table = .;
......
......@@ -77,6 +77,9 @@ SECTIONS
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
.u_boot_list : {
#include <u-boot.lst>
}
. = .;
__start___ex_table = .;
......
......@@ -77,6 +77,9 @@ SECTIONS
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
.u_boot_list : {
#include <u-boot.lst>
}
. = .;
__start___ex_table = .;
......
......@@ -76,6 +76,9 @@ SECTIONS
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
.u_boot_list : {
#include <u-boot.lst>
}
. = .;
__start___ex_table = .;
......
......@@ -77,6 +77,9 @@ SECTIONS
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
.u_boot_list : {