@@ -52,12 +52,7 @@ SECTIONS
*(.data)
}
- . = ALIGN(4);
-
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
. = ALIGN(4);
@@ -43,10 +43,7 @@ SECTIONS
*(.data)
}
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
. = ALIGN(4);
@@ -42,12 +42,7 @@ SECTIONS
.data : {
}
- . = ALIGN(4);
-
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
. = ALIGN(4);
@@ -47,10 +47,7 @@ SECTIONS
. = ALIGN(4);
.got : { *(.got) }
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
. = ALIGN(4);
__bss_start = .;
@@ -51,12 +51,7 @@ SECTIONS
*(.data)
}
- . = ALIGN(4);
-
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
. = ALIGN(4);
@@ -46,12 +46,7 @@ SECTIONS
*(.data)
}
- . = ALIGN(4);
-
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
. = ALIGN(4);
@@ -49,10 +49,7 @@ SECTIONS
*(.data)
}
- . = ALIGN(4);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
. = ALIGN(4);
@@ -43,12 +43,7 @@ SECTIONS
*(.data)
}
- . = ALIGN(4);
-
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
. = ALIGN(4);
@@ -43,12 +43,7 @@ SECTIONS
*(.data)
}
- . = ALIGN(4);
-
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
. = ALIGN(4);
@@ -43,12 +43,7 @@ SECTIONS
*(.data)
}
- . = ALIGN(4);
-
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
. = ALIGN(4);
@@ -31,6 +31,7 @@ SECTIONS
{
. = 0x00000000;
+
. = ALIGN(4);
.text :
{
@@ -46,12 +47,7 @@ SECTIONS
*(.data)
}
- . = ALIGN(4);
-
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
. = ALIGN(4);
@@ -43,12 +43,7 @@ SECTIONS
*(.data*)
}
- . = ALIGN(4);
-
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
. = ALIGN(4);
@@ -43,12 +43,7 @@ SECTIONS
*(.data)
}
- . = ALIGN(4);
-
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
. = ALIGN(4);
@@ -43,12 +43,7 @@ SECTIONS
*(.data)
}
- . = ALIGN(4);
-
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
. = ALIGN(4);
@@ -43,12 +43,7 @@ SECTIONS
*(.data)
}
- . = ALIGN(4);
-
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
. = ALIGN(4);
@@ -46,12 +46,7 @@ SECTIONS
*(.data)
}
- . = ALIGN(4);
-
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
. = ALIGN(4);
@@ -45,13 +45,7 @@ SECTIONS
*(.data)
*(.data.*)
}
-
- . = ALIGN(4);
- __u_boot_cmd_start = .;
- .u_boot_cmd : {
- KEEP(*(.u_boot_cmd))
- }
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
. = ALIGN(4);
_got = .;
@@ -30,6 +30,8 @@
#undef ALIGN
#undef ENTRY
+#define SYMBOL_PREFIX _
+
#ifndef LDS_BOARD_TEXT
# define LDS_BOARD_TEXT
#endif
@@ -61,15 +63,17 @@ OUTPUT_ARCH(bfin)
MEMORY
{
#if CONFIG_MEM_SIZE
- ram : ORIGIN = CONFIG_SYS_MONITOR_BASE, LENGTH = CONFIG_SYS_MONITOR_LEN
# define ram_code ram
# define ram_data ram
+ ram (rwx) : ORIGIN = CONFIG_SYS_MONITOR_BASE, LENGTH = CONFIG_SYS_MONITOR_LEN
+ l1_code : ORIGIN = L1_CODE_ORIGIN, LENGTH = L1_INST_SRAM_SIZE
+ l1_data : ORIGIN = L1_DATA_B_SRAM, LENGTH = L1_DATA_B_SRAM_SIZE
#else
# define ram_code l1_code
# define ram_data l1_data
+ l1_code (rx) : ORIGIN = L1_CODE_ORIGIN, LENGTH = L1_INST_SRAM_SIZE
+ l1_data (!rx) : ORIGIN = L1_DATA_B_SRAM, LENGTH = L1_DATA_B_SRAM_SIZE
#endif
- l1_code : ORIGIN = L1_CODE_ORIGIN, LENGTH = L1_INST_SRAM_SIZE
- l1_data : ORIGIN = L1_DATA_B_SRAM, LENGTH = L1_DATA_B_SRAM_SIZE
}
ENTRY(_start)
@@ -112,12 +116,7 @@ SECTIONS
CONSTRUCTORS
} >ram_data
- .u_boot_cmd :
- {
- ___u_boot_cmd_start = .;
- *(.u_boot_cmd)
- ___u_boot_cmd_end = .;
- } >ram_data
+#include <u-boot-common.lds>
.text_l1 :
{
@@ -51,10 +51,7 @@ SECTIONS
__got_end = .;
}
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
. = ALIGN(4);
@@ -45,13 +45,9 @@ SECTIONS
* the initialization code relocates the command table as
* well -- admittedly, this is just pure laziness ;-)
*/
- __u_boot_cmd_start = .;
- .u_boot_cmd :
- {
- *(.u_boot_cmd)
- }
+#include <u-boot-common.lds>
+
. = ALIGN(4);
- __u_boot_cmd_end = .;
/* INIT DATA sections - "Small" data (see the gcc -G option)
* is always gp-relative. Here we make all init data sections
@@ -61,16 +61,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -56,16 +56,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -64,16 +64,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -65,16 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -59,16 +59,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -58,16 +58,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -59,16 +59,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -58,16 +58,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -57,16 +57,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -68,15 +68,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -76,15 +76,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -63,15 +63,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -77,15 +77,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -24,9 +24,7 @@
SECTIONS
{
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
__bss_start = .;
}
@@ -72,13 +72,8 @@ SECTIONS
}
PROVIDE (_egot = .);
- PROVIDE (__u_boot_cmd_start = .);
- .u_boot_cmd :
- {
- *(.u_boot_cmd)
- . = ALIGN(4);
- }
- PROVIDE (__u_boot_cmd_end = .);
+#include <u-boot-common.lds>
+ . = ALIGN(4);
PROVIDE (reloc_dst_end = .);
@@ -78,13 +78,9 @@ SECTIONS
}
PROVIDE (_egot = .);
- PROVIDE (__u_boot_cmd_start = .);
- .u_boot_cmd :
- {
- *(.u_boot_cmd)
- . = ALIGN(4);
- }
- PROVIDE (__u_boot_cmd_end = .);
+#include <u-boot-common.lds>
+
+ . = ALIGN(4);
PROVIDE (reloc_dst_end = .);
/* _reloc_dst_end = .; */
@@ -75,14 +75,9 @@ SECTIONS
}
PROVIDE (_egot = .);
- PROVIDE (__u_boot_cmd_start = .);
- .u_boot_cmd :
- {
- *(.u_boot_cmd)
- . = ALIGN(4);
- }
- PROVIDE (__u_boot_cmd_end = .);
+#include <u-boot-common.lds>
+ . = ALIGN(4);
PROVIDE (reloc_dst_end = .);
/* _reloc_dst_end = .; */
@@ -32,11 +32,7 @@ SECTIONS
__text_start = .;
.text : { *(.text*); }
- . = ALIGN(4);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- . = ALIGN(4);
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
. = ALIGN(4);
.rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
@@ -64,15 +64,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -85,15 +85,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -115,9 +115,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -65,16 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -106,14 +106,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -65,16 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -106,14 +106,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -65,16 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -106,14 +106,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -70,16 +70,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -53,12 +53,8 @@ SECTIONS
.got : {
*(.got)
}
- . =.;
- __u_boot_cmd_start =.;
- .u_boot_cmd : {
- *(.u_boot_cmd)
- }
- __u_boot_cmd_end =.;
+
+#include <u-boot-common.lds>
. = ALIGN (4);
.rel.dyn : {
@@ -53,12 +53,8 @@ SECTIONS
.got : {
*(.got)
}
- . =.;
- __u_boot_cmd_start =.;
- .u_boot_cmd : {
- *(.u_boot_cmd)
- }
- __u_boot_cmd_end =.;
+
+#include <u-boot-common.lds>
. = ALIGN (4);
.rel.dyn : {
@@ -53,12 +53,8 @@ SECTIONS
.got : {
*(.got)
}
- . =.;
- __u_boot_cmd_start =.;
- .u_boot_cmd : {
- *(.u_boot_cmd)
- }
- __u_boot_cmd_end =.;
+
+#include <u-boot-common.lds>
. = ALIGN (4);
.rel.dyn : {
@@ -61,16 +61,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -46,13 +46,9 @@ SECTIONS
* the initialization code relocates the command table as
* well -- admittedly, this is just pure laziness ;-)
*/
- __u_boot_cmd_start = .;
- .u_boot_cmd :
- {
- *(.u_boot_cmd)
- }
+#include <u-boot-common.lds>
+
. = ALIGN(4);
- __u_boot_cmd_end = .;
/* INIT DATA sections - "Small" data (see the gcc -G option)
* is always gp-relative. Here we make all init data sections
@@ -71,16 +71,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -72,16 +72,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -72,16 +72,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -71,16 +71,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -72,16 +72,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -63,16 +63,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -67,14 +67,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -108,16 +108,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -73,16 +73,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -106,14 +106,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -67,15 +67,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -69,16 +69,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -106,14 +106,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -106,14 +106,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -73,15 +73,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -54,11 +54,7 @@ SECTIONS
.sdata : { *(.sdata*) }
- .u_boot_cmd : {
- __u_boot_cmd_start = .;
- *(.u_boot_cmd)
- __u_boot_cmd_end = .;
- }
+#include <u-boot-common.lds>
uboot_end_data = .;
num_got_entries = (__got_end - __got_start) >> 2;
@@ -53,12 +53,8 @@ SECTIONS
.got : {
*(.got)
}
- . =.;
- __u_boot_cmd_start =.;
- .u_boot_cmd : {
- *(.u_boot_cmd)
- }
- __u_boot_cmd_end =.;
+
+#include <u-boot-common.lds>
. = ALIGN (4);
.rel.dyn : {
@@ -65,16 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -106,14 +106,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -65,17 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
-
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -107,9 +107,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -61,16 +61,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -72,16 +72,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -101,16 +101,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -64,15 +64,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -74,16 +74,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -75,16 +75,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -69,16 +69,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -67,16 +67,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -65,16 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -106,14 +106,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -68,15 +68,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -67,15 +67,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -67,15 +67,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -67,15 +67,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -68,15 +68,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -67,15 +67,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -67,15 +67,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -67,15 +67,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -67,15 +67,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -64,15 +64,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -70,15 +70,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -68,15 +68,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -68,15 +68,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -65,15 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -65,15 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -65,15 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -65,15 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -56,10 +56,7 @@ SECTIONS
*(.data)
}
- . = ALIGN(4);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
. = ALIGN(4);
@@ -84,11 +84,7 @@ SECTIONS
_etext = .;
/* CMD Table */
-
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- . = ALIGN(4);
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
.data :
{
@@ -84,11 +84,7 @@ SECTIONS
_etext = .;
/* CMD Table */
-
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- . = ALIGN(4);
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
.data :
{
@@ -84,11 +84,7 @@ SECTIONS
_etext = .;
/* CMD Table */
-
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- . = ALIGN(4);
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
.data :
{
@@ -83,11 +83,7 @@ SECTIONS
_etext = .;
/* CMD Table */
-
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- . = ALIGN(4);
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
.data :
{
@@ -83,11 +83,7 @@ SECTIONS
_etext = .;
/* CMD Table */
-
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- . = ALIGN(4);
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
.data :
{
@@ -70,15 +70,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -70,16 +70,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -79,16 +79,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -107,14 +107,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -54,11 +54,7 @@ SECTIONS
.sdata : { *(.sdata*) }
- .u_boot_cmd : {
- __u_boot_cmd_start = .;
- *(.u_boot_cmd)
- __u_boot_cmd_end = .;
- }
+#include <u-boot-common.lds>
uboot_end_data = .;
num_got_entries = (__got_end - __got_start) >> 2;
@@ -71,16 +71,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -106,14 +106,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -109,16 +109,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -106,14 +106,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -65,16 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -107,14 +107,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -64,15 +64,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -54,11 +54,7 @@ SECTIONS
.sdata : { *(.sdata*) }
- .u_boot_cmd : {
- __u_boot_cmd_start = .;
- *(.u_boot_cmd)
- __u_boot_cmd_end = .;
- }
+#include <u-boot-common.lds>
uboot_end_data = .;
num_got_entries = (__got_end - __got_start) >> 2;
@@ -65,16 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -107,14 +107,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -65,16 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -107,14 +107,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -45,11 +45,7 @@ SECTIONS
. = ALIGN(4);
.got : { *(.got) }
-
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
. = ALIGN(4);
__bss_start = .;
@@ -107,16 +107,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -65,16 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -106,14 +106,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -65,16 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -106,14 +106,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -74,16 +74,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -106,14 +106,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -65,16 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -107,14 +107,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -68,16 +68,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -73,16 +73,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -65,16 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -107,14 +107,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -52,12 +52,7 @@ SECTIONS
. = ALIGN(4);
.sdata : { *(.sdata*) }
- . = ALIGN(4);
- .u_boot_cmd : {
- __u_boot_cmd_start = .;
- *(.u_boot_cmd)
- __u_boot_cmd_end = .;
- }
+#include <u-boot-common.lds>
. = ALIGN(4);
uboot_end_data = .;
@@ -63,16 +63,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -106,14 +106,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -59,16 +59,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -85,14 +85,7 @@ SECTIONS
} > ram
*/
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) } > ram
- __stop___ex_table = .;
-
+#include <u-boot-common.lds>
.ppcenv :
{
@@ -102,13 +102,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -106,14 +106,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -69,16 +69,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -65,16 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -106,14 +106,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -65,16 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -106,14 +106,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -65,16 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -106,14 +106,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -65,16 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -106,14 +106,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -65,16 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -106,14 +106,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -26,9 +26,7 @@ SECTIONS
_endtext = .;
} > ram
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) } > ram
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
.rodata : {
*(.rodata);
@@ -54,11 +54,7 @@ SECTIONS
.sdata : { *(.sdata*) }
- .u_boot_cmd : {
- __u_boot_cmd_start = .;
- *(.u_boot_cmd)
- __u_boot_cmd_end = .;
- }
+#include <u-boot-common.lds>
uboot_end_data = .;
num_got_entries = (__got_end - __got_start) >> 2;
@@ -55,12 +55,7 @@ SECTIONS
. = ALIGN(4);
.sdata : { *(.sdata*) }
- . = .;
- .u_boot_cmd : {
- __u_boot_cmd_start = .;
- *(.u_boot_cmd)
- __u_boot_cmd_end = .;
- }
+#include <u-boot-common.lds>
uboot_end_data = .;
num_got_entries = (__got_end - __got_start) >> 2;
@@ -47,9 +47,7 @@ SECTIONS
.sdata : { *(.sdata*) }
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
uboot_end_data = .;
num_got_entries = (__got_end - __got_start) >> 2;
@@ -65,16 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -106,9 +106,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -67,16 +67,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -76,15 +76,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -77,13 +77,9 @@ SECTIONS
}
PROVIDE (_egot = .);
- PROVIDE (__u_boot_cmd_start = .);
- .u_boot_cmd :
- {
- *(.u_boot_cmd)
- . = ALIGN(4);
- }
- PROVIDE (__u_boot_cmd_end = .);
+#include <u-boot-common.lds>
+
+ . = ALIGN(4);
PROVIDE (reloc_dst_end = .);
/* _reloc_dst_end = .; */
@@ -96,16 +96,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -47,9 +47,7 @@ SECTIONS
. = ALIGN(4);
.got : { *(.got) }
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
. = ALIGN(4);
.mmudata : { *(.mmudata) }
@@ -115,14 +115,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -115,14 +115,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -67,16 +67,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -74,16 +74,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -65,16 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -68,16 +68,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -65,16 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -65,16 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -74,16 +74,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -107,14 +107,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -65,16 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -106,14 +106,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -82,16 +82,7 @@ SECTIONS
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -106,9 +106,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -82,16 +82,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -65,16 +65,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -106,14 +106,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -74,16 +74,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- . = .;
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -107,14 +107,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(4096);
__init_begin = .;
@@ -111,14 +111,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
-
-
- __start___ex_table = .;
- __ex_table : { *(__ex_table) }
- __stop___ex_table = .;
+#include <u-boot-common.lds>
. = ALIGN(256);
__init_begin = .;
@@ -49,13 +49,7 @@ SECTIONS
__data_end = .;
}
- .u_boot_cmd ALIGN(0x4):
- {
- . = .;
- __u_boot_cmd_start = .;
- *(.u_boot_cmd)
- __u_boot_cmd_end = .;
- }
+#include <u-boot-common.lds>
.bss ALIGN(0x4):
{
@@ -44,10 +44,7 @@ SECTIONS
. = ALIGN(4);
.got : { *(.got) }
- . = .;
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
. = ALIGN(4);
__bss_start = .;
@@ -29,3 +29,8 @@ by writing in u-boot.lds ($(TOPDIR)/board/boardname/u-boot.lds) these
__u_boot_cmd_start = .;
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
+
+ or
+
+#include <u-boot-common.lds>
+
new file mode 100644
@@ -0,0 +1,21 @@
+#ifndef SYMBOL_PREFIX
+#define U_BOOT_LDS_SYMBOL(sym) sym
+#else
+#define PASTE2(x,y) x##y
+#define PASTE(x,y) PASTE2(x,y)
+#define U_BOOT_LDS_SYMBOL(sym) PASTE(SYMBOL_PREFIX, sym)
+#endif
+ . = ALIGN(4);
+ U_BOOT_LDS_SYMBOL(__u_boot_cmd_start) = .;
+ .u_boot_cmd : {
+ KEEP(*(.u_boot_cmd))
+ }
+ U_BOOT_LDS_SYMBOL(__u_boot_cmd_end) = .;
+
+ /* powerpc specific, but harmless for others */
+ . = ALIGN(4);
+ U_BOOT_LDS_SYMBOL(__start___ex_table) = .;
+ __ex_table : {
+ KEEP(*(__ex_table))
+ }
+ U_BOOT_LDS_SYMBOL(__stop___ex_table) = .;
@@ -45,10 +45,7 @@ SECTIONS
*(.data)
}
- . = ALIGN(4);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
. = ALIGN(4);
@@ -45,10 +45,7 @@ SECTIONS
*(.data)
}
- . = ALIGN(4);
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
. = ALIGN(4);
@@ -50,9 +50,7 @@ SECTIONS
. = ALIGN(4);
.got : { *(.got) }
- __u_boot_cmd_start = .;
- .u_boot_cmd : { *(.u_boot_cmd) }
- __u_boot_cmd_end = .;
+#include <u-boot-common.lds>
. = ALIGN(4);
This makes adding linker defined tables easier as only 1 lds file (include/u-boot-common.lds) will need to be touched instead of 193 files. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> --- arch/arm/cpu/arm1136/u-boot.lds | 7 +------ arch/arm/cpu/arm1176/u-boot.lds | 5 +---- arch/arm/cpu/arm720t/u-boot.lds | 7 +------ arch/arm/cpu/arm920t/ep93xx/u-boot.lds | 5 +---- arch/arm/cpu/arm920t/u-boot.lds | 7 +------ arch/arm/cpu/arm925t/u-boot.lds | 7 +------ arch/arm/cpu/arm926ejs/mx28/u-boot-spl.lds | 5 +---- arch/arm/cpu/arm926ejs/u-boot.lds | 7 +------ arch/arm/cpu/arm946es/u-boot.lds | 7 +------ arch/arm/cpu/arm_intcm/u-boot.lds | 7 +------ arch/arm/cpu/armv7/u-boot.lds | 8 ++------ arch/arm/cpu/ixp/u-boot.lds | 7 +------ arch/arm/cpu/lh7a40x/u-boot.lds | 7 +------ arch/arm/cpu/pxa/u-boot.lds | 7 +------ arch/arm/cpu/s3c44b0/u-boot.lds | 7 +------ arch/arm/cpu/sa1100/u-boot.lds | 7 +------ arch/avr32/cpu/u-boot.lds | 8 +------- arch/blackfin/cpu/u-boot.lds | 17 ++++++++--------- arch/nds32/cpu/n1213/u-boot.lds | 5 +---- arch/nios2/cpu/u-boot.lds | 8 ++------ arch/powerpc/cpu/74xx_7xx/u-boot.lds | 11 +---------- arch/powerpc/cpu/mpc512x/u-boot.lds | 11 +---------- arch/powerpc/cpu/mpc5xx/u-boot.lds | 11 +---------- arch/powerpc/cpu/mpc5xxx/u-boot-customlayout.lds | 11 +---------- arch/powerpc/cpu/mpc5xxx/u-boot.lds | 11 +---------- arch/powerpc/cpu/mpc8220/u-boot.lds | 11 +---------- arch/powerpc/cpu/mpc824x/u-boot.lds | 11 +---------- arch/powerpc/cpu/mpc8260/u-boot.lds | 11 +---------- arch/powerpc/cpu/mpc83xx/u-boot.lds | 11 +---------- arch/powerpc/cpu/mpc85xx/u-boot-nand.lds | 10 +--------- arch/powerpc/cpu/mpc85xx/u-boot.lds | 10 +--------- arch/powerpc/cpu/mpc86xx/u-boot.lds | 10 +--------- arch/powerpc/cpu/ppc4xx/u-boot.lds | 10 +--------- arch/sandbox/cpu/u-boot.lds | 4 +--- arch/sh/cpu/sh2/u-boot.lds | 9 ++------- arch/sh/cpu/sh3/u-boot.lds | 10 +++------- arch/sh/cpu/sh4/u-boot.lds | 9 ++------- arch/x86/cpu/u-boot.lds | 6 +----- board/BuS/EB+MCF-EV123/u-boot.lds | 10 +--------- board/LEOX/elpt860/u-boot.lds | 10 +--------- board/LEOX/elpt860/u-boot.lds.debug | 4 +--- board/RPXClassic/u-boot.lds | 11 +---------- board/RPXClassic/u-boot.lds.debug | 9 +-------- board/RPXlite/u-boot.lds | 11 +---------- board/RPXlite/u-boot.lds.debug | 9 +-------- board/RPXlite_dw/u-boot.lds | 11 +---------- board/RPXlite_dw/u-boot.lds.debug | 9 +-------- board/RRvision/u-boot.lds | 11 +---------- board/actux1/u-boot.lds | 8 ++------ board/actux2/u-boot.lds | 8 ++------ board/actux3/u-boot.lds | 8 ++------ board/adder/u-boot.lds | 11 +---------- board/altera/nios2-generic/u-boot.lds | 8 ++------ board/amcc/acadia/u-boot-nand.lds | 11 +---------- board/amcc/bamboo/u-boot-nand.lds | 11 +---------- board/amcc/canyonlands/u-boot-nand.lds | 11 +---------- board/amcc/kilauea/u-boot-nand.lds | 11 +---------- board/amcc/sequoia/u-boot-nand.lds | 11 +---------- board/amcc/sequoia/u-boot-ram.lds | 11 +---------- board/amirix/ap1000/u-boot.lds | 9 +-------- board/astro/mcf5373l/u-boot.lds | 11 +---------- board/c2mon/u-boot.lds | 11 +---------- board/c2mon/u-boot.lds.debug | 9 +-------- board/cobra5272/u-boot.lds | 10 +--------- board/cogent/u-boot.lds | 11 +---------- board/cogent/u-boot.lds.debug | 9 +-------- board/cray/L1/u-boot.lds.debug | 9 +-------- board/dave/PPChameleonEVB/u-boot.lds | 10 +--------- board/dbau1x00/u-boot.lds | 6 +----- board/dvlhost/u-boot.lds | 8 ++------ board/eltec/mhpc/u-boot.lds | 11 +---------- board/eltec/mhpc/u-boot.lds.debug | 9 +-------- board/emk/top860/u-boot.lds | 12 +----------- board/emk/top860/u-boot.lds.debug | 4 +--- board/ep88x/u-boot.lds | 11 +---------- board/esd/dasa_sim/u-boot.lds | 11 +---------- board/esd/pmc440/u-boot-nand.lds | 11 +---------- board/esd/tasreg/u-boot.lds | 10 +--------- board/esteem192e/u-boot.lds | 11 +---------- board/etx094/u-boot.lds | 11 +---------- board/evb64260/u-boot.lds | 11 +---------- board/fads/u-boot.lds | 11 +---------- board/flagadm/u-boot.lds | 11 +---------- board/flagadm/u-boot.lds.debug | 9 +-------- board/freescale/m5208evbe/u-boot.lds | 10 +--------- board/freescale/m52277evb/u-boot.lds | 10 +--------- board/freescale/m5235evb/u-boot.lds | 10 +--------- board/freescale/m5249evb/u-boot.lds | 10 +--------- board/freescale/m5253demo/u-boot.lds | 10 +--------- board/freescale/m5253evbe/u-boot.lds | 10 +--------- board/freescale/m5271evb/u-boot.lds | 10 +--------- board/freescale/m5272c3/u-boot.lds | 10 +--------- board/freescale/m5275evb/u-boot.lds | 10 +--------- board/freescale/m5282evb/u-boot.lds | 10 +--------- board/freescale/m53017evb/u-boot.lds | 10 +--------- board/freescale/m5329evb/u-boot.lds | 10 +--------- board/freescale/m5373evb/u-boot.lds | 10 +--------- board/freescale/m54451evb/u-boot.lds | 10 +--------- board/freescale/m54455evb/u-boot.lds | 10 +--------- board/freescale/m547xevb/u-boot.lds | 10 +--------- board/freescale/m548xevb/u-boot.lds | 10 +--------- board/freescale/mx31ads/u-boot.lds | 5 +---- board/gaisler/gr_cpci_ax2000/u-boot.lds | 6 +----- board/gaisler/gr_ep2s60/u-boot.lds | 6 +----- board/gaisler/gr_xc3s_1500/u-boot.lds | 6 +----- board/gaisler/grsim/u-boot.lds | 6 +----- board/gaisler/grsim_leon2/u-boot.lds | 6 +----- board/gen860t/u-boot-flashenv.lds | 10 +--------- board/gen860t/u-boot.lds | 11 +---------- board/genietv/u-boot.lds | 11 +---------- board/genietv/u-boot.lds.debug | 9 +-------- board/gth2/u-boot.lds | 6 +----- board/hermes/u-boot.lds | 11 +---------- board/hermes/u-boot.lds.debug | 9 +-------- board/hymod/u-boot.lds | 11 +---------- board/hymod/u-boot.lds.debug | 9 +-------- board/icu862/u-boot.lds | 11 +---------- board/icu862/u-boot.lds.debug | 9 +-------- board/idmr/u-boot.lds | 10 +--------- board/incaip/u-boot.lds | 6 +----- board/ip860/u-boot.lds | 11 +---------- board/ip860/u-boot.lds.debug | 9 +-------- board/ivm/u-boot.lds | 11 +---------- board/ivm/u-boot.lds.debug | 9 +-------- board/jornada/u-boot.lds | 6 +----- board/korat/u-boot-F7FC.lds | 11 +---------- board/kup/kup4k/u-boot.lds | 11 +---------- board/kup/kup4k/u-boot.lds.debug | 9 +-------- board/kup/kup4x/u-boot.lds | 11 +---------- board/kup/kup4x/u-boot.lds.debug | 9 +-------- board/lantec/u-boot.lds | 11 +---------- board/lantec/u-boot.lds.debug | 9 +-------- board/lwmon/u-boot.lds | 11 +---------- board/lwmon/u-boot.lds.debug | 9 +-------- board/manroland/uc100/u-boot.lds | 11 +---------- board/matrix_vision/mvsmr/u-boot.lds | 11 +---------- board/mbx8xx/u-boot.lds | 11 +---------- board/mbx8xx/u-boot.lds.debug | 9 +-------- board/micronas/vct/u-boot.lds | 7 +------ board/ml2/u-boot.lds | 11 +---------- board/ml2/u-boot.lds.debug | 9 +-------- board/mousse/u-boot.lds | 11 +---------- board/mousse/u-boot.lds.ram | 9 +-------- board/mousse/u-boot.lds.rom | 8 +------- board/mpl/pip405/u-boot.lds.debug | 9 +-------- board/mvblue/u-boot.lds | 11 +---------- board/netphone/u-boot.lds | 11 +---------- board/netphone/u-boot.lds.debug | 9 +-------- board/netta/u-boot.lds | 11 +---------- board/netta/u-boot.lds.debug | 9 +-------- board/netta2/u-boot.lds | 11 +---------- board/netta2/u-boot.lds.debug | 9 +-------- board/netvia/u-boot.lds | 11 +---------- board/netvia/u-boot.lds.debug | 9 +-------- board/nx823/u-boot.lds | 11 +---------- board/nx823/u-boot.lds.debug | 9 +-------- board/openrisc/openrisc-generic/u-boot.lds | 4 +--- board/pb1x00/u-boot.lds | 6 +----- board/qemu-mips/u-boot.lds | 7 +------ board/qi/qi_lb60/u-boot.lds | 4 +--- board/quantum/u-boot.lds | 11 +---------- board/quantum/u-boot.lds.debug | 4 +--- board/r360mpi/u-boot.lds | 11 +---------- board/rbc823/u-boot.lds | 10 +--------- board/renesas/sh7757lcr/u-boot.lds | 10 +++------- board/rsdproto/u-boot.lds | 11 +---------- board/samsung/smdk6400/u-boot-nand.lds | 4 +--- board/sandburst/karef/u-boot.lds.debug | 9 +-------- board/sandburst/metrobox/u-boot.lds.debug | 9 +-------- board/sandpoint/u-boot.lds | 11 +---------- board/siemens/IAD210/u-boot.lds | 11 +---------- board/sixnet/u-boot.lds | 11 +---------- board/snmc/qs850/u-boot.lds | 11 +---------- board/snmc/qs860t/u-boot.lds | 11 +---------- board/spc1920/u-boot.lds | 11 +---------- board/spd8xx/u-boot.lds | 11 +---------- board/spd8xx/u-boot.lds.debug | 9 +-------- board/stx/stxxtc/u-boot.lds | 11 +---------- board/stx/stxxtc/u-boot.lds.debug | 9 +-------- board/svm_sc8xx/u-boot.lds | 11 +---------- board/svm_sc8xx/u-boot.lds.debug | 4 +--- board/tqc/tqm8xx/u-boot.lds | 11 +---------- board/v37/u-boot.lds | 11 +---------- board/w7o/u-boot.lds.debug | 9 +-------- board/westel/amx860/u-boot.lds | 11 +---------- board/westel/amx860/u-boot.lds.debug | 9 +-------- board/xes/xpedite1000/u-boot.lds.debug | 9 +-------- board/xilinx/microblaze-generic/u-boot.lds | 8 +------- board/zipitz2/u-boot.lds | 5 +---- doc/README.commands | 5 +++++ include/u-boot-common.lds | 21 +++++++++++++++++++++ nand_spl/board/freescale/mx31pdk/u-boot.lds | 5 +---- nand_spl/board/karo/tx25/u-boot.lds | 5 +---- nand_spl/board/samsung/smdk6400/u-boot.lds | 4 +--- 194 files changed, 238 insertions(+), 1550 deletions(-) create mode 100644 include/u-boot-common.lds