RFC: create u-boot-common.lds
Subsystems (9)
PATCH v2 1/2 RFC: create u-boot-common.lds
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.
--- 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
arch/arm/cpu/arm1136/u-boot.lds +1 -6
@@ -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);
arch/arm/cpu/arm1176/u-boot.lds +1 -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);
arch/arm/cpu/arm720t/u-boot.lds +1 -6
@@ -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);
arch/arm/cpu/arm920t/ep93xx/u-boot.lds +1 -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 = .;
arch/arm/cpu/arm920t/u-boot.lds +1 -6
@@ -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);
arch/arm/cpu/arm925t/u-boot.lds +1 -6
@@ -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);
arch/arm/cpu/arm926ejs/mx28/u-boot-spl.lds +1 -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);
arch/arm/cpu/arm926ejs/u-boot.lds +1 -6
@@ -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);
arch/arm/cpu/arm946es/u-boot.lds +1 -6
@@ -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);
arch/arm/cpu/arm_intcm/u-boot.lds +1 -6
@@ -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);
arch/arm/cpu/armv7/u-boot.lds +2 -6
@@ -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);
arch/arm/cpu/ixp/u-boot.lds +1 -6
@@ -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);
arch/arm/cpu/lh7a40x/u-boot.lds +1 -6
@@ -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);
arch/arm/cpu/pxa/u-boot.lds +1 -6
@@ -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);
arch/arm/cpu/s3c44b0/u-boot.lds +1 -6
@@ -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);
arch/arm/cpu/sa1100/u-boot.lds +1 -6
@@ -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);
arch/avr32/cpu/u-boot.lds +1 -7
@@ -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 = .;
arch/blackfin/cpu/u-boot.lds +8 -9
@@ -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 : {
arch/nds32/cpu/n1213/u-boot.lds +1 -4
@@ -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);
arch/nios2/cpu/u-boot.lds +2 -6
@@ -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
arch/powerpc/cpu/74xx_7xx/u-boot.lds +1 -10
@@ -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 = .;
arch/powerpc/cpu/mpc512x/u-boot.lds +1 -10
@@ -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 = .;
arch/powerpc/cpu/mpc5xx/u-boot.lds +1 -10
@@ -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 = .;
arch/powerpc/cpu/mpc5xxx/u-boot-customlayout.lds +1 -10
@@ -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 = .;
arch/powerpc/cpu/mpc5xxx/u-boot.lds +1 -10
@@ -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 = .;
arch/powerpc/cpu/mpc8220/u-boot.lds +1 -10
@@ -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 = .;
arch/powerpc/cpu/mpc824x/u-boot.lds +1 -10
@@ -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 = .;
arch/powerpc/cpu/mpc8260/u-boot.lds +1 -10
@@ -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 = .;
arch/powerpc/cpu/mpc83xx/u-boot.lds +1 -10
@@ -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 = .;
arch/powerpc/cpu/mpc85xx/u-boot-nand.lds +1 -9
@@ -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 = .;
arch/powerpc/cpu/mpc85xx/u-boot.lds +1 -9
@@ -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 = .;
arch/powerpc/cpu/mpc86xx/u-boot.lds +1 -9
@@ -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 = .;
arch/powerpc/cpu/ppc4xx/u-boot.lds +1 -9
@@ -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 = .;
arch/sandbox/cpu/u-boot.lds +1 -3
@@ -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 = .; }
arch/sh/cpu/sh2/u-boot.lds +2 -7
@@ -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 = .);
arch/sh/cpu/sh3/u-boot.lds +3 -7
@@ -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 = .; */
arch/sh/cpu/sh4/u-boot.lds +2 -7
@@ -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 = .; */
arch/x86/cpu/u-boot.lds +1 -5
@@ -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*))) }
board/BuS/EB+MCF-EV123/u-boot.lds +1 -9
@@ -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 = .;
board/LEOX/elpt860/u-boot.lds +1 -9
@@ -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 = .;
board/LEOX/elpt860/u-boot.lds.debug +1 -3
@@ -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 = .;
board/RPXClassic/u-boot.lds +1 -10
@@ -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 = .;
board/RPXClassic/u-boot.lds.debug +1 -8
@@ -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 = .;
board/RPXlite/u-boot.lds +1 -10
@@ -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 = .;
board/RPXlite/u-boot.lds.debug +1 -8
@@ -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 = .;
board/RPXlite_dw/u-boot.lds +1 -10
@@ -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 = .;
board/RPXlite_dw/u-boot.lds.debug +1 -8
@@ -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 = .;
board/RRvision/u-boot.lds +1 -10
@@ -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 = .;
board/actux1/u-boot.lds +2 -6
@@ -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 : {
board/actux2/u-boot.lds +2 -6
@@ -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 : {
board/actux3/u-boot.lds +2 -6
@@ -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 : {
board/adder/u-boot.lds +1 -10
@@ -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 = .;
board/altera/nios2-generic/u-boot.lds +2 -6
@@ -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
board/amcc/acadia/u-boot-nand.lds +1 -10
@@ -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 = .;
board/amcc/bamboo/u-boot-nand.lds +1 -10
@@ -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 = .;
board/amcc/canyonlands/u-boot-nand.lds +1 -10
@@ -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 = .;
board/amcc/kilauea/u-boot-nand.lds +1 -10
@@ -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 = .;
board/amcc/sequoia/u-boot-nand.lds +1 -10
@@ -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 = .;
board/amcc/sequoia/u-boot-ram.lds +1 -10
@@ -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 = .;
board/amirix/ap1000/u-boot.lds +1 -8
@@ -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 = .;
board/astro/mcf5373l/u-boot.lds +1 -10
@@ -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 = .;
board/c2mon/u-boot.lds +1 -10
@@ -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 = .;
board/c2mon/u-boot.lds.debug +1 -8
@@ -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 = .;
board/cobra5272/u-boot.lds +1 -9
@@ -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 = .;
board/cogent/u-boot.lds +1 -10
@@ -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 = .;
board/cogent/u-boot.lds.debug +1 -8
@@ -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 = .;
board/cray/L1/u-boot.lds.debug +1 -8
@@ -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 = .;
board/dave/PPChameleonEVB/u-boot.lds +1 -9
@@ -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 = .;
board/dbau1x00/u-boot.lds +1 -5
@@ -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;
board/dvlhost/u-boot.lds +2 -6
@@ -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 : {
board/eltec/mhpc/u-boot.lds +1 -10
@@ -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 = .;
board/eltec/mhpc/u-boot.lds.debug +1 -8
@@ -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 = .;
board/emk/top860/u-boot.lds +1 -11
@@ -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 = .;
board/emk/top860/u-boot.lds.debug +1 -3
@@ -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 = .;
board/ep88x/u-boot.lds +1 -10
@@ -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 = .;
board/esd/dasa_sim/u-boot.lds +1 -10
@@ -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 = .;
board/esd/pmc440/u-boot-nand.lds +1 -10
@@ -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 = .;
board/esd/tasreg/u-boot.lds +1 -9
@@ -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 = .;
board/esteem192e/u-boot.lds +1 -10
@@ -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 = .;
board/etx094/u-boot.lds +1 -10
@@ -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 = .;
board/evb64260/u-boot.lds +1 -10
@@ -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 = .;
board/fads/u-boot.lds +1 -10
@@ -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 = .;
board/flagadm/u-boot.lds +1 -10
@@ -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 = .;
board/flagadm/u-boot.lds.debug +1 -8
@@ -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 = .;
board/freescale/m5208evbe/u-boot.lds +1 -9
@@ -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 = .;
board/freescale/m52277evb/u-boot.lds +1 -9
@@ -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 = .;
board/freescale/m5235evb/u-boot.lds +1 -9
@@ -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 = .;
board/freescale/m5249evb/u-boot.lds +1 -9
@@ -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 = .;
board/freescale/m5253demo/u-boot.lds +1 -9
@@ -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 = .;
board/freescale/m5253evbe/u-boot.lds +1 -9
@@ -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 = .;
board/freescale/m5271evb/u-boot.lds +1 -9
@@ -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 = .;
board/freescale/m5272c3/u-boot.lds +1 -9
@@ -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 = .;
board/freescale/m5275evb/u-boot.lds +1 -9
@@ -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 = .;
board/freescale/m5282evb/u-boot.lds +1 -9
@@ -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 = .;
board/freescale/m53017evb/u-boot.lds +1 -9
@@ -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 = .;
board/freescale/m5329evb/u-boot.lds +1 -9
@@ -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 = .;
board/freescale/m5373evb/u-boot.lds +1 -9
@@ -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 = .;
board/freescale/m54451evb/u-boot.lds +1 -9
@@ -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 = .;
board/freescale/m54455evb/u-boot.lds +1 -9
@@ -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 = .;
board/freescale/m547xevb/u-boot.lds +1 -9
@@ -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 = .;
board/freescale/m548xevb/u-boot.lds +1 -9
@@ -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 = .;
board/freescale/mx31ads/u-boot.lds +1 -4
@@ -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);
board/gaisler/gr_cpci_ax2000/u-boot.lds +1 -5
@@ -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 : {
board/gaisler/gr_ep2s60/u-boot.lds +1 -5
@@ -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 : {
board/gaisler/gr_xc3s_1500/u-boot.lds +1 -5
@@ -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 : {
board/gaisler/grsim/u-boot.lds +1 -5
@@ -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 : {
board/gaisler/grsim_leon2/u-boot.lds +1 -5
@@ -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 : {
board/gen860t/u-boot-flashenv.lds +1 -9
@@ -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 = .;
board/gen860t/u-boot.lds +1 -10
@@ -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 = .;
board/genietv/u-boot.lds +1 -10
@@ -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 = .;
board/genietv/u-boot.lds.debug +1 -8
@@ -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 = .;
board/gth2/u-boot.lds +1 -5
@@ -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;
board/hermes/u-boot.lds +1 -10
@@ -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 = .;
board/hermes/u-boot.lds.debug +1 -8
@@ -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 = .;
board/hymod/u-boot.lds +1 -10
@@ -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 = .;
board/hymod/u-boot.lds.debug +1 -8
@@ -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 = .;
board/icu862/u-boot.lds +1 -10
@@ -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 = .;
board/icu862/u-boot.lds.debug +1 -8
@@ -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 = .;
board/idmr/u-boot.lds +1 -9
@@ -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 = .;
board/incaip/u-boot.lds +1 -5
@@ -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;
board/ip860/u-boot.lds +1 -10
@@ -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 = .;
board/ip860/u-boot.lds.debug +1 -8
@@ -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 = .;
board/ivm/u-boot.lds +1 -10
@@ -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 = .;
board/ivm/u-boot.lds.debug +1 -8
@@ -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 = .;
board/jornada/u-boot.lds +1 -5
@@ -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 = .;
board/korat/u-boot-F7FC.lds +1 -10
@@ -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 = .;
board/kup/kup4k/u-boot.lds +1 -10
@@ -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 = .;
board/kup/kup4k/u-boot.lds.debug +1 -8
@@ -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 = .;
board/kup/kup4x/u-boot.lds +1 -10
@@ -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 = .;
board/kup/kup4x/u-boot.lds.debug +1 -8
@@ -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 = .;
board/lantec/u-boot.lds +1 -10
@@ -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 = .;
board/lantec/u-boot.lds.debug +1 -8
@@ -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 = .;
board/lwmon/u-boot.lds +1 -10
@@ -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 = .;
board/lwmon/u-boot.lds.debug +1 -8
@@ -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 = .;
board/manroland/uc100/u-boot.lds +1 -10
@@ -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 = .;
board/matrix_vision/mvsmr/u-boot.lds +1 -10
@@ -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 = .;
board/mbx8xx/u-boot.lds +1 -10
@@ -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 = .;
board/mbx8xx/u-boot.lds.debug +1 -8
@@ -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 = .;
board/micronas/vct/u-boot.lds +1 -6
@@ -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 = .;
board/ml2/u-boot.lds +1 -10
@@ -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 = .;
board/ml2/u-boot.lds.debug +1 -8
@@ -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 = .;
board/mousse/u-boot.lds +1 -10
@@ -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 = .;
board/mousse/u-boot.lds.ram +1 -8
@@ -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 : {
board/mousse/u-boot.lds.rom +1 -7
@@ -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 = .;
board/mpl/pip405/u-boot.lds.debug +1 -8
@@ -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 = .;
board/mvblue/u-boot.lds +1 -10
@@ -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 = .;
board/netphone/u-boot.lds +1 -10
@@ -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 = .;
board/netphone/u-boot.lds.debug +1 -8
@@ -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 = .;
board/netta/u-boot.lds +1 -10
@@ -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 = .;
board/netta/u-boot.lds.debug +1 -8
@@ -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 = .;
board/netta2/u-boot.lds +1 -10
@@ -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 = .;
board/netta2/u-boot.lds.debug +1 -8
@@ -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 = .;
board/netvia/u-boot.lds +1 -10
@@ -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 = .;
board/netvia/u-boot.lds.debug +1 -8
@@ -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 = .;
board/nx823/u-boot.lds +1 -10
@@ -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 = .;
board/nx823/u-boot.lds.debug +1 -8
@@ -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 = .;
board/openrisc/openrisc-generic/u-boot.lds +1 -3
@@ -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);
board/pb1x00/u-boot.lds +1 -5
@@ -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;
board/qemu-mips/u-boot.lds +1 -6
@@ -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;
board/qi/qi_lb60/u-boot.lds +1 -3
@@ -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;
board/quantum/u-boot.lds +1 -10
@@ -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 = .;
board/quantum/u-boot.lds.debug +1 -3
@@ -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 = .;
board/r360mpi/u-boot.lds +1 -10
@@ -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 = .;
board/rbc823/u-boot.lds +1 -9
@@ -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 = .;
board/renesas/sh7757lcr/u-boot.lds +3 -7
@@ -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 = .; */
board/rsdproto/u-boot.lds +1 -10
@@ -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 = .;
board/samsung/smdk6400/u-boot-nand.lds +1 -3
@@ -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) }
board/sandburst/karef/u-boot.lds.debug +1 -8
@@ -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 = .;
board/sandburst/metrobox/u-boot.lds.debug +1 -8
@@ -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 = .;
board/sandpoint/u-boot.lds +1 -10
@@ -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 = .;
board/siemens/IAD210/u-boot.lds +1 -10
@@ -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 = .;
board/sixnet/u-boot.lds +1 -10
@@ -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 = .;
board/snmc/qs850/u-boot.lds +1 -10
@@ -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 = .;
board/snmc/qs860t/u-boot.lds +1 -10
@@ -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 = .;
board/spc1920/u-boot.lds +1 -10
@@ -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 = .;
board/spd8xx/u-boot.lds +1 -10
@@ -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 = .;
board/spd8xx/u-boot.lds.debug +1 -8
@@ -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 = .;
board/stx/stxxtc/u-boot.lds +1 -10
@@ -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 = .;
board/stx/stxxtc/u-boot.lds.debug +1 -8
@@ -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 = .;
board/svm_sc8xx/u-boot.lds +1 -10
@@ -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 = .;
board/svm_sc8xx/u-boot.lds.debug +1 -3
@@ -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 = .;
board/tqc/tqm8xx/u-boot.lds +1 -10
@@ -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 = .;
board/v37/u-boot.lds +1 -10
@@ -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 = .;
board/w7o/u-boot.lds.debug +1 -8
@@ -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 = .;
board/westel/amx860/u-boot.lds +1 -10
@@ -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 = .;
board/westel/amx860/u-boot.lds.debug +1 -8
@@ -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 = .;
board/xes/xpedite1000/u-boot.lds.debug +1 -8
@@ -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 = .;
board/xilinx/microblaze-generic/u-boot.lds +1 -7
@@ -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): {
board/zipitz2/u-boot.lds +1 -4
@@ -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 = .;
doc/README.commands +5 -0
@@ -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> +
include/u-boot-common.lds new file +21 -0
@@ -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) = .;
nand_spl/board/freescale/mx31pdk/u-boot.lds +1 -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);
nand_spl/board/karo/tx25/u-boot.lds +1 -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);
nand_spl/board/samsung/smdk6400/u-boot.lds +1 -3
@@ -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);
Signature · 1 line
1.7.5.4
PATCH v2 2/2 RFC: Let linker create phy array
--- drivers/net/phy/atheros.c | 9 +-------- drivers/net/phy/broadcom.c | 15 +++------------ drivers/net/phy/davicom.c | 9 +-------- drivers/net/phy/lxt.c | 9 +-------- drivers/net/phy/marvell.c | 24 ++++++------------------ drivers/net/phy/micrel.c | 12 ++---------- drivers/net/phy/natsemi.c | 9 +-------- drivers/net/phy/phy.c | 39 +++++---------------------------------- drivers/net/phy/realtek.c | 9 +-------- drivers/net/phy/smsc.c | 15 +++------------ drivers/net/phy/teranetics.c | 9 +-------- drivers/net/phy/vitesse.c | 30 ++++++++---------------------- include/phy.h | 4 ++++ include/u-boot-common.lds | 7 +++++++ 14 files changed, 44 insertions(+), 156 deletions(-)
drivers/net/phy/atheros.c +1 -8
@@ -30,7 +30,7 @@ static int ar8021_config(struct phy_device *phydev)return 0 ; } -struct phy_driver AR8021_driver = { +static struct phy_driver AR8021_driver __phy_entry = { .name ="AR8021" , .uid =0x4dd040 , .mask =0xfffff0 ,
@@ -39,10 +39,3 @@ struct phy_driver AR8021_driver = { .startup = genphy_startup, .shutdown = genphy_shutdown, }; - -int phy_atheros_init (void ) -{ -phy_register (&AR8021_driver); - -return 0 ; -}
drivers/net/phy/broadcom.c +3 -12
@@ -248,7 +248,7 @@ static int bcm5482_startup(struct phy_device *phydev)return 0 ; } -static struct phy_driver BCM5461S_driver = { +static struct phy_driver BCM5461S_driver __phy_entry = { .name ="Broadcom BCM5461S" , .uid =0x2060c0 , .mask =0xfffff0 ,
@@ -258,7 +258,7 @@ static struct phy_driver BCM5461S_driver = { .shutdown = &genphy_shutdown, }; -static struct phy_driver BCM5464S_driver = { +static struct phy_driver BCM5464S_driver __phy_entry = { .name ="Broadcom BCM5464S" , .uid =0x2060b0 , .mask =0xfffff0 ,
@@ -268,7 +268,7 @@ static struct phy_driver BCM5464S_driver = { .shutdown = &genphy_shutdown, }; -static struct phy_driver BCM5482S_driver = { +static struct phy_driver BCM5482S_driver __phy_entry = { .name ="Broadcom BCM5482S" , .uid =0x143bcb0 , .mask =0xffffff0 ,
@@ -277,12 +277,3 @@ static struct phy_driver BCM5482S_driver = { .startup = &bcm5482_startup, .shutdown = &genphy_shutdown, }; - -int phy_broadcom_init (void ) -{ -phy_register (&BCM5482S_driver); -phy_register (&BCM5464S_driver); -phy_register (&BCM5461S_driver); - -return 0 ; -}
drivers/net/phy/davicom.c +1 -8
@@ -80,7 +80,7 @@ static int dm9161_startup(struct phy_device *phydev)return 0 ; } -static struct phy_driver DM9161_driver = { +static struct phy_driver DM9161_driver __phy_entry = { .name ="Davicom DM9161E" , .uid =0x181b880 , .mask =0xffffff0 ,
@@ -89,10 +89,3 @@ static struct phy_driver DM9161_driver = { .startup = &dm9161_startup, .shutdown = &genphy_shutdown, }; - -int phy_davicom_init (void ) -{ -phy_register (&DM9161_driver); - -return 0 ; -}
drivers/net/phy/lxt.c +1 -8
@@ -69,7 +69,7 @@ static int lxt971_startup(struct phy_device *phydev)return 0 ; } -static struct phy_driver LXT971_driver = { +static struct phy_driver LXT971_driver __phy_entry = { .name ="LXT971" , .uid =0x1378e0 , .mask =0xfffff0 ,
@@ -78,10 +78,3 @@ static struct phy_driver LXT971_driver = { .startup = &lxt971_startup, .shutdown = &genphy_shutdown, }; - -int phy_lxt_init (void ) -{ -phy_register (&LXT971_driver); - -return 0 ; -}
drivers/net/phy/marvell.c +6 -18
@@ -395,7 +395,7 @@ static int m88e1149_config(struct phy_device *phydev) } -static struct phy_driver M88E1011S_driver = { +static struct phy_driver M88E1011S_driver __phy_entry = { .name ="Marvell 88E1011S" , .uid =0x1410c60 , .mask =0xffffff0 ,
@@ -405,7 +405,7 @@ static struct phy_driver M88E1011S_driver = { .shutdown = &genphy_shutdown, }; -static struct phy_driver M88E1111S_driver = { +static struct phy_driver M88E1111S_driver __phy_entry = { .name ="Marvell 88E1111S" , .uid =0x1410cc0 , .mask =0xffffff0 ,
@@ -415,7 +415,7 @@ static struct phy_driver M88E1111S_driver = { .shutdown = &genphy_shutdown, }; -static struct phy_driver M88E1118_driver = { +static struct phy_driver M88E1118_driver __phy_entry = { .name ="Marvell 88E1118" , .uid =0x1410e10 , .mask =0xffffff0 ,
@@ -425,7 +425,7 @@ static struct phy_driver M88E1118_driver = { .shutdown = &genphy_shutdown, }; -static struct phy_driver M88E1121R_driver = { +static struct phy_driver M88E1121R_driver__phy_entry = { .name ="Marvell 88E1121R" , .uid =0x1410cb0 , .mask =0xffffff0 ,
@@ -435,7 +435,7 @@ static struct phy_driver M88E1121R_driver = { .shutdown = &genphy_shutdown, }; -static struct phy_driver M88E1145_driver = { +static struct phy_driver M88E1145_driver __phy_entry = { .name ="Marvell 88E1145" , .uid =0x1410cd0 , .mask =0xffffff0 ,
@@ -445,7 +445,7 @@ static struct phy_driver M88E1145_driver = { .shutdown = &genphy_shutdown, }; -static struct phy_driver M88E1149S_driver = { +static struct phy_driver M88E1149S_driver __phy_entry = { .name ="Marvell 88E1149S" , .uid =0x1410ca0 , .mask =0xffffff0 ,
@@ -454,15 +454,3 @@ static struct phy_driver M88E1149S_driver = { .startup = &m88e1011s_startup, .shutdown = &genphy_shutdown, }; - -int phy_marvell_init (void ) -{ -phy_register (&M88E1149S_driver); -phy_register (&M88E1145_driver); -phy_register (&M88E1121R_driver); -phy_register (&M88E1118_driver); -phy_register (&M88E1111S_driver); -phy_register (&M88E1011S_driver); - -return 0 ; -}
drivers/net/phy/micrel.c +2 -10
@@ -22,7 +22,7 @@*/ #include <phy.h> -static struct phy_driver KSZ804_driver = { +static struct phy_driver KSZ804_driver __phy_entry = { .name ="Micrel KSZ804" , .uid =0x221510 , .mask =0xfffff0 ,
@@ -32,7 +32,7 @@ static struct phy_driver KSZ804_driver = { .shutdown = &genphy_shutdown, }; -static struct phy_driver KS8721_driver = { +static struct phy_driver KS8721_driver __phy_entry = { .name ="Micrel KS8721BL" , .uid =0x221610 , .mask =0xfffff0 ,
@@ -41,11 +41,3 @@ static struct phy_driver KS8721_driver = { .startup = &genphy_startup, .shutdown = &genphy_shutdown, }; - -int phy_micrel_init (void ) -{ -phy_register (&KSZ804_driver); -phy_register (&KS8721_driver); - -return 0 ; -}
drivers/net/phy/natsemi.c +1 -8
@@ -78,7 +78,7 @@ static int dp83865_startup(struct phy_device *phydev) } -static struct phy_driver DP83865_driver = { +static struct phy_driver DP83865_driver __phy_entry = { .name ="NatSemi DP83865" , .uid =0x20005c70 , .mask =0xfffffff0 ,
@@ -87,10 +87,3 @@ static struct phy_driver DP83865_driver = { .startup = &dp83865_startup, .shutdown = &genphy_shutdown, }; - -int phy_natsemi_init (void ) -{ -phy_register (&DP83865_driver); - -return 0 ; -}
drivers/net/phy/phy.c +5 -34
@@ -420,40 +420,11 @@ static LIST_HEAD(phy_drivers);int phy_init (void ) { -#ifdef CONFIG_PHY_ATHEROS -phy_atheros_init (); -#endif -#ifdef CONFIG_PHY_BROADCOM -phy_broadcom_init (); -#endif -#ifdef CONFIG_PHY_DAVICOM -phy_davicom_init (); -#endif -#ifdef CONFIG_PHY_LXT -phy_lxt_init (); -#endif -#ifdef CONFIG_PHY_MARVELL -phy_marvell_init (); -#endif -#ifdef CONFIG_PHY_MICREL -phy_micrel_init (); -#endif -#ifdef CONFIG_PHY_NATSEMI -phy_natsemi_init (); -#endif -#ifdef CONFIG_PHY_REALTEK -phy_realtek_init (); -#endif -#ifdef CONFIG_PHY_SMSC -phy_smsc_init (); -#endif -#ifdef CONFIG_PHY_TERANETICS -phy_teranetics_init (); -#endif -#ifdef CONFIG_PHY_VITESSE -phy_vitesse_init (); -#endif - +struct phy_driver *entry = &__phy_entry_start; +while (entry < &__phy_entry_end) { +phy_register (entry); + entry++; + }return 0 ; }
drivers/net/phy/realtek.c +1 -8
@@ -112,7 +112,7 @@ static int rtl8211b_startup(struct phy_device *phydev)return 0 ; } -static struct phy_driver RTL8211B_driver = { +static struct phy_driver RTL8211B_driver __phy_entry = { .name ="RealTek RTL8211B" , .uid =0x1cc910 , .mask =0xfffff0 ,
@@ -121,10 +121,3 @@ static struct phy_driver RTL8211B_driver = { .startup = &rtl8211b_startup, .shutdown = &genphy_shutdown, }; - -int phy_realtek_init (void ) -{ -phy_register (&RTL8211B_driver); - -return 0 ; -}
drivers/net/phy/smsc.c +3 -12
@@ -52,7 +52,7 @@ static int smsc_startup(struct phy_device *phydev)return 0 ; } -static struct phy_driver lan8700_driver = { +static struct phy_driver lan8700_driver __phy_entry = { .name ="SMSC LAN8700" , .uid =0x0007c0c0 , .mask =0xffff0 ,
@@ -62,7 +62,7 @@ static struct phy_driver lan8700_driver = { .shutdown = &genphy_shutdown, }; -static struct phy_driver lan911x_driver = { +static struct phy_driver lan911x_driver __phy_entry = { .name ="SMSC LAN911x Internal PHY" , .uid =0x0007c0d0 , .mask =0xffff0 ,
@@ -72,7 +72,7 @@ static struct phy_driver lan911x_driver = { .shutdown = &genphy_shutdown, }; -static struct phy_driver lan8710_driver = { +static struct phy_driver lan8710_driver __phy_entry = { .name ="SMSC LAN8710/LAN8720" , .uid =0x0007c0f0 , .mask =0xffff0 ,
@@ -81,12 +81,3 @@ static struct phy_driver lan8710_driver = { .startup = &smsc_startup, .shutdown = &genphy_shutdown, }; - -int phy_smsc_init (void ) -{ -phy_register (&lan8710_driver); -phy_register (&lan911x_driver); -phy_register (&lan8700_driver); - -return 0 ; -}
drivers/net/phy/teranetics.c +1 -8
@@ -93,7 +93,7 @@ int tn2020_startup(struct phy_device *phydev)return 0 ; } -struct phy_driver tn2020_driver = { +static struct phy_driver tn2020_driver __phy_entry = { .name ="Teranetics TN2020" , .uid =PHY_UID_TN2020 , .mask =0xfffffff0 ,
@@ -105,10 +105,3 @@ struct phy_driver tn2020_driver = { .startup = &tn2020_startup, .shutdown = &gen10g_shutdown, }; - -int phy_teranetics_init (void ) -{ -phy_register (&tn2020_driver); - -return 0 ; -}
drivers/net/phy/vitesse.c +8 -22
@@ -146,7 +146,7 @@ int vsc8601_config(struct phy_device *phydev)return 0 ; } -static struct phy_driver VSC8211_driver = { +static struct phy_driver VSC8211_driver __phy_entry = { .name ="Vitesse VSC8211" , .uid =0xfc4b0 , .mask =0xffff0 ,
@@ -156,7 +156,7 @@ static struct phy_driver VSC8211_driver = { .shutdown = &genphy_shutdown, }; -static struct phy_driver VSC8221_driver = { +static struct phy_driver VSC8221_driver __phy_entry = { .name ="Vitesse VSC8221" , .uid =0xfc550 , .mask =0xffff0 ,
@@ -166,7 +166,7 @@ static struct phy_driver VSC8221_driver = { .shutdown = &genphy_shutdown, }; -static struct phy_driver VSC8244_driver = { +static struct phy_driver VSC8244_driver __phy_entry = { .name ="Vitesse VSC8244" , .uid =0xfc6c0 , .mask =0xffff0 ,
@@ -176,7 +176,7 @@ static struct phy_driver VSC8244_driver = { .shutdown = &genphy_shutdown, }; -static struct phy_driver VSC8234_driver = { +static struct phy_driver VSC8234_driver __phy_entry = { .name ="Vitesse VSC8234" , .uid =0xfc620 , .mask =0xffff0 ,
@@ -186,7 +186,7 @@ static struct phy_driver VSC8234_driver = { .shutdown = &genphy_shutdown, }; -static struct phy_driver VSC8601_driver = { +static struct phy_driver VSC8601_driver __phy_entry = { .name ="Vitesse VSC8601" , .uid =0x70420 , .mask =0xffff0 ,
@@ -196,7 +196,7 @@ static struct phy_driver VSC8601_driver = { .shutdown = &genphy_shutdown, }; -static struct phy_driver VSC8641_driver = { +static struct phy_driver VSC8641_driver __phy_entry = { .name ="Vitesse VSC8641" , .uid =0x70430 , .mask =0xffff0 ,
@@ -207,7 +207,7 @@ static struct phy_driver VSC8641_driver = { };/* Vitesse bought Cicada, so we'll put these here */ -static struct phy_driver cis8201_driver = { +static struct phy_driver cis8201_driver __phy_entry = { .name ="CIS8201" , .uid =0xfc410 , .mask =0xffff0 ,
@@ -217,7 +217,7 @@ static struct phy_driver cis8201_driver = { .shutdown = &genphy_shutdown, }; -static struct phy_driver cis8204_driver = { +static struct phy_driver cis8204_driver __phy_entry = { .name ="Cicada Cis8204" , .uid =0xfc440 , .mask =0xffff0 ,
@@ -226,17 +226,3 @@ static struct phy_driver cis8204_driver = { .startup = &vitesse_startup, .shutdown = &genphy_shutdown, }; - -int phy_vitesse_init (void ) -{ -phy_register (&VSC8641_driver); -phy_register (&VSC8601_driver); -phy_register (&VSC8234_driver); -phy_register (&VSC8244_driver); -phy_register (&VSC8211_driver); -phy_register (&VSC8221_driver); -phy_register (&cis8201_driver); -phy_register (&cis8204_driver); - -return 0 ; -}
include/phy.h +4 -0
@@ -23,6 +23,7 @@#ifndef _PHY_H#define _PHY_H +#include <linux/compiler.h> #include <linux/list.h> #include <linux/mii.h> #include <linux/ethtool.h>
@@ -231,4 +232,7 @@ int phy_vitesse_init(void);/* PHY UIDs for various PHYs that are referenced in external code */ #define PHY_UID_TN2020 0x00a19410 +#define __phy_entry __attribute__((section(".phy_entry"))) __used __aligned(4) +extern struct phy_driver __phy_entry_start, __phy_entry_end; +#endif
include/u-boot-common.lds +7 -0
@@ -12,6 +12,13 @@ } U_BOOT_LDS_SYMBOL(__u_boot_cmd_end) = .; + . = ALIGN(4); + U_BOOT_LDS_SYMBOL(__phy_entry_start) = .; + .phy_entry : { + KEEP(*(.phy_entry)) + } + U_BOOT_LDS_SYMBOL(__phy_entry_end) = .; + /* powerpc specific, but harmless for others */ . = ALIGN(4); U_BOOT_LDS_SYMBOL(__start___ex_table) = .;
Signature · 1 line
1.7.5.4
PATCH v2 1/2 RFC: create u-boot-common.lds
In reply to Troy KiskyHi Troy,
Quoted 16 lines · Troy Kisky
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 <[email protected]>---
arch/arm/cpu/arm1136/u-boot.lds +0
-0@@ -52,12 +52,7 @@ SECTIONS ? ? ? ? ? ? ? ?*(.data) ? ? ? ?}
arch/arm/cpu/arm1136/u-boot.lds SECTIONS · line 58
Quoted 10 lines
arch/arm/cpu/arm1136/u-boot.lds +1
-6- ? ? ? . = ALIGN(4); - - ? ? ? . = .; - ? ? ? __u_boot_cmd_start = .; - ? ? ? .u_boot_cmd : { *(.u_boot_cmd) } - ? ? ? __u_boot_cmd_end = .; +#include <u-boot-common.lds> ? ? ? ?. = ALIGN(4);
Ick! A #define in the middle of a file :(
I would rather see the code block you are replacing #defined in include/u-boot-common.lds.h and then use the define at the desired location in the arch lds file. This will allow multiple 'functional linker blocks' to be defined that the acrch scripts can arrange as they see fit.
Also, ALIGN(4) may not always be a given, so maybe we should pass that in as a parameter?
Hmmm....maybe something like (most likely not syntactically correct):
#define U_BOOT_LDS_SECTION(section, alignment) \
. = ALIGN(alignment); \
U_BOOT_LDS_SYMBOL(section ## _start) = .;
. ## section : { KEEP(*(. ## section)) }
U_BOOT_LDS_SYMBOL(section ## _end) = .;So we can simply, in the arch lds:
U_BOOT_LDS_SECTION(text, 4) U_BOOT_LDS_SECTION(u_boot_cmd, 4) U_BOOT_LDS_SECTION(rodata, 4) U_BOOT_LDS_SECTION(data, 4) U_BOOT_LDS_SECTION(dynsym, 4)
Regards,
Graeme
PATCH v2 1/2 RFC: create u-boot-common.lds
Quoted 57 lines · Graeme Russ
Hi Troy,
Quoted 15 lines · Troy Kisky
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<[email protected]>---
arch/arm/cpu/arm1136/u-boot.lds +0
-0@@ -52,12 +52,7 @@ SECTIONS *(.data) }arch/arm/cpu/arm1136/u-boot.lds SECTIONS · line 58
Quoted 10 lines
arch/arm/cpu/arm1136/u-boot.lds +1
-6- . = ALIGN(4); - - . = .; - __u_boot_cmd_start = .; - .u_boot_cmd : { *(.u_boot_cmd) } - __u_boot_cmd_end = .; +#include<u-boot-common.lds> . = ALIGN(4);Ick! A #define in the middle of a file :(
I would rather see the code block you are replacing #defined in
include/u-boot-common.lds.hand then use the define at the desired location in the arch lds file. This will allow multiple 'functional linker blocks' to be defined that the acrch scripts can arrange as they see fit.Also, ALIGN(4) may not always be a given, so maybe we should pass that in as a parameter?
Hmmm....maybe something like (most likely not syntactically correct):
#define U_BOOT_LDS_SECTION(section, alignment) \ . = ALIGN(alignment); \ U_BOOT_LDS_SYMBOL(section ## _start) = .; . ## section : { KEEP(*(. ## section)) } U_BOOT_LDS_SYMBOL(section ## _end) = .;So we can simply, in the arch lds:
U_BOOT_LDS_SECTION(text, 4) U_BOOT_LDS_SECTION(u_boot_cmd, 4) U_BOOT_LDS_SECTION(rodata, 4) U_BOOT_LDS_SECTION(data, 4) U_BOOT_LDS_SECTION(dynsym, 4)
Quoted 4 lines
Regards,
Graeme
That works fine for existing sections.. i.e
U_BOOT_LDS_SECTION(u_boot_cmd, 4)
but what about the next patch in the series?
Do you want me to change all lds files again?
I hope you have a better idea for how to handle patch 2/2.
Thanks for the feedback.
Troy
PATCH v2 1/2 RFC: create u-boot-common.lds
Hi Tony,
Quoted 66 lines · Troy Kisky
Quoted 61 lines · Graeme Russ
Hi Troy,
Quoted 18 lines · On Wed, Feb 8, 2012 at 11:20 AM, Troy Kisky <[email protected]>…
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<[email protected]>---
arch/arm/cpu/arm1136/u-boot.lds +0
-0@@ -52,12 +52,7 @@ SECTIONS ? ? ? ? ? ? ? ?*(.data) ? ? ? ?}arch/arm/cpu/arm1136/u-boot.lds SECTIONS · line 58
Quoted 10 lines
arch/arm/cpu/arm1136/u-boot.lds +1
-6- ? ? ? . = ALIGN(4); - - ? ? ? . = .; - ? ? ? __u_boot_cmd_start = .; - ? ? ? .u_boot_cmd : { *(.u_boot_cmd) } - ? ? ? __u_boot_cmd_end = .; +#include<u-boot-common.lds> ? ? ? ?. = ALIGN(4);Ick! A #define in the middle of a file :(
I would rather see the code block you are replacing #defined in
include/u-boot-common.lds.hand then use the define at the desired location in the arch lds file. This will allow multiple 'functional linker blocks' to be defined that the acrch scripts can arrange as they see fit.Also, ALIGN(4) may not always be a given, so maybe we should pass that in as a parameter?
Hmmm....maybe something like (most likely not syntactically correct):
#define
U_BOOT_LDS_SECTION(section, alignment)\
? ? ? ?. = ALIGN(alignment); \
? ? ? ?U_BOOT_LDS_SYMBOL(section ##_start) = .;
? ? ? ?. ## section : { KEEP(*(. ## section)) }
? ? ? ?U_BOOT_LDS_SYMBOL(section ##_end) = .;So we can simply, in the arch lds:
? ? ? ?U_BOOT_LDS_SECTION(text, 4)
? ? ? ?U_BOOT_LDS_SECTION(u_boot_cmd, 4)
? ? ? ?U_BOOT_LDS_SECTION(rodata, 4)
? ? ? ?U_BOOT_LDS_SECTION(data, 4)
? ? ? ?U_BOOT_LDS_SECTION(dynsym, 4)Quoted 4 lines
Regards,
Graeme
Quoted 7 lines
That works fine for existing sections.. i.e
U_BOOT_LDS_SECTION(u_boot_cmd, 4)but what about the next patch in the series?
Do you want me to change all lds files again?
Ah, and therein lies the rub...
By adding 'phy_entry' into the common lds file, you have inflicted it on everyone, and forced it to be after u_boot_cmd. What if I don't need the phy_entry section (no network support) or don't want it hard-placed after u_boot_cmd?
Quoted 1 line
I hope you have a better idea for how to handle patch 2/2.
Add ?U_BOOT_LDS_SECTION(phy_entry, 4) to all the linker scripts
Hmm, and this gets me to thinking that this process is going to be very useful for my INIT_CALL series - At the moment, I collect all the INIT_CALL declerations in a section, but I need a dedicated linker script to create a file which only includes that section - With a slight tweak to U_BOOT_LDS_SECTION, I should be able to selectively switch between the two link modes (INIT_CALL versus 'final' link)
Regards,
Graeme
PATCH v2 1/2 RFC: create u-boot-common.lds
Hi Troy,
Quoted 1 line · Graeme Russ
Hi Tony,
Oops, sorry - forgot to proof read
Regards,
Graeme
PATCH v2 1/2 RFC: create u-boot-common.lds
In reply to Graeme RussHi Troy,
Quoted 1 line · Graeme Russ
Add ?U_BOOT_LDS_SECTION(phy_entry, 4) to all the linker scripts
Oh, and it should have an #ifdef around it - I know it's probably harmless, but I dislike having 'fluff' floating around :)
Regards,
Graeme
PATCH v2 1/2 RFC: create u-boot-common.lds
In reply to Graeme RussQuoted 72 lines · Graeme Russ
Hi Tony,
Quoted 68 lines · Troy Kisky
Quoted 58 lines · Graeme Russ
Hi Troy,
Quoted 16 lines · Troy Kisky
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<[email protected]>---
arch/arm/cpu/arm1136/u-boot.lds +0
-0@@ -52,12 +52,7 @@ SECTIONS *(.data) }arch/arm/cpu/arm1136/u-boot.lds SECTIONS · line 58
Quoted 10 lines
arch/arm/cpu/arm1136/u-boot.lds +1
-6- . = ALIGN(4); - - . = .; - __u_boot_cmd_start = .; - .u_boot_cmd : { *(.u_boot_cmd) } - __u_boot_cmd_end = .; +#include<u-boot-common.lds> . = ALIGN(4);Ick! A #define in the middle of a file :(
I would rather see the code block you are replacing #defined in
include/u-boot-common.lds.hand then use the define at the desired location in the arch lds file. This will allow multiple 'functional linker blocks' to be defined that the acrch scripts can arrange as they see fit.Also, ALIGN(4) may not always be a given, so maybe we should pass that in as a parameter?
Hmmm....maybe something like (most likely not syntactically correct):
#define U_BOOT_LDS_SECTION(section, alignment) \ . = ALIGN(alignment); \ U_BOOT_LDS_SYMBOL(section ## _start) = .; . ## section : { KEEP(*(. ## section)) } U_BOOT_LDS_SYMBOL(section ## _end) = .;So we can simply, in the arch lds:
U_BOOT_LDS_SECTION(text, 4) U_BOOT_LDS_SECTION(u_boot_cmd, 4) U_BOOT_LDS_SECTION(rodata, 4) U_BOOT_LDS_SECTION(data, 4) U_BOOT_LDS_SECTION(dynsym, 4)Quoted 4 lines
Regards,
Graeme
That works fine for existing sections.. i.e
U_BOOT_LDS_SECTION(u_boot_cmd, 4)
Quoted 8 lines
Quoted 2 lines
but what about the next patch in the series?
Do you want me to change all lds files again?Ah, and therein lies the rub...
By adding '
phy_entry' into the common lds file, you have inflicted it on everyone, and forced it to be afteru_boot_cmd. What if I don't need thephy_entrysection (no network support) or don't want it hard-placed afteru_boot_cmd?
Inflicted? I doubt that I added any bytes at all to boards that don't use phylib.
Quoted 2 lines
Quoted 1 line
I hope you have a better idea for how to handle patch 2/2.
Add
U_BOOT_LDS_SECTION(phy_entry, 4)to all the linker scripts
The entire reason for me for patch 1/2 was to support 2/2.
What about #include <u-boot-comon.lds.h>
at the start of each lds file,
and
#include<u-boot-common.lds>
in the middle?
If people really want to control the relative ordering of u_boot_cmd, and phy_entry, they are not forced to include u-boot-common.lds here.
I can even throw in an unnecessary ifdef in u-boot-common.lds
#ifdef CONFIG_PHYLIBU_BOOT_LDS_SECTION(phy_entry, 4)
#endif
This will make it easier for developers to add a table without having to change 192 lds files. If a few boards opt not to use "#include<u-boot-common.lds>," that still means far fewer files to change and less risk of typos.
Troy
PATCH v2 1/2 RFC: create u-boot-common.lds
Hi Troy,
Quoted 19 lines · Troy Kisky
Quoted 18 lines · Graeme Russ
Hi Tony,
Quoted 10 lines · On Wed, Feb 8, 2012 at 11:49 AM, Troy Kisky <[email protected]>…
That works fine for existing sections.. i.e
U_BOOT_LDS_SECTION(u_boot_cmd, 4)but what about the next patch in the series?
Do you want me to change all lds files again?Ah, and therein lies the rub...
Quoted 8 lines
Quoted 4 lines
By adding '
phy_entry' into the common lds file, you have inflicted it on everyone, and forced it to be afteru_boot_cmd. What if I don't need thephy_entrysection (no network support) or don't want it hard-placed afteru_boot_cmd?Inflicted? I doubt that I added any bytes at all to boards that don't use phylib.
You are correct, it will not add anything, but we tend to have an aversion to dead code :)
Quoted 31 lines
Quoted 3 lines
Quoted 1 line
I hope you have a better idea for how to handle patch 2/2.
Add ?U_BOOT_LDS_SECTION(phy_entry, 4) to all the linker scripts
The entire reason for me for patch 1/2 was to support 2/2.
What about ?#include <
u-boot-comon.lds.h>at the start of each lds file,
and
#include<u-boot-common.lds>
in the middle?
If people really want to control the relative ordering of
u_boot_cmd, andphy_entry,
they are not forced to includeu-boot-common.ldshere.I can even throw in an unnecessary ifdef in
u-boot-common.lds#ifdef
CONFIG_PHYLIBU_BOOT_LDS_SECTION(phy_entry, 4)
#endif
Quoted 4 lines
This will make it easier for developers to add a table without having to change 192 lds files. If a few boards opt not to use "#include<u-boot-common.lds>," that still means far fewer files to change and less risk of typos.
That looks like a good compromise to me
As I mentioned, the U_BOOT_LDS_SECTION macro will be very useful for me later on
The next biggie is where to define all the externs exported from the linker script as a result of using the U_BOOT_LDS_SECTION macro. I'm half tempted to think we could collect all the usages of U_BOOT_LDS_SECTION in a header (for the common case, that is essentially u-boot-common.lds) and by setting a #define you switch between full macro expansion (for the linker) and 'extern generation' for including in C files. That way, when you add a new section, everything happen automagically :)
Regards,
Graeme
PATCH v2 1/2 RFC: create u-boot-common.lds
Quoted 76 lines · Graeme Russ
Hi Troy,
Quoted 15 lines · Troy Kisky
Quoted 14 lines · Graeme Russ
Hi Tony,
Quoted 7 lines · Troy Kisky
That works fine for existing sections.. i.e
U_BOOT_LDS_SECTION(u_boot_cmd, 4)but what about the next patch in the series?
Do you want me to change all lds files again?Ah, and therein lies the rub...
Quoted 7 lines
Quoted 4 lines
By adding '
phy_entry' into the common lds file, you have inflicted it on everyone, and forced it to be afteru_boot_cmd. What if I don't need thephy_entrysection (no network support) or don't want it hard-placed afteru_boot_cmd?Inflicted? I doubt that I added any bytes at all to boards that don't use phylib.
You are correct, it will not add anything, but we tend to have an aversion to dead code :)
Quoted 29 lines
Quoted 2 lines
Quoted 1 line
I hope you have a better idea for how to handle patch 2/2.
Add
U_BOOT_LDS_SECTION(phy_entry, 4)to all the linker scriptsThe entire reason for me for patch 1/2 was to support 2/2.
What about #include<u-boot-comon.lds.h>
at the start of each lds file,
and
#include<u-boot-common.lds>
in the middle?
If people really want to control the relative ordering of
u_boot_cmd, andphy_entry,
they are not forced to includeu-boot-common.ldshere.I can even throw in an unnecessary ifdef in
u-boot-common.lds#ifdef
CONFIG_PHYLIBU_BOOT_LDS_SECTION(phy_entry, 4)
#endifQuoted 4 lines
This will make it easier for developers to add a table without having to change 192 lds files. If a few boards opt not to use "#include<u-boot-common.lds>," that still means far fewer files to change and less risk of typos.
That looks like a good compromise to me
As I mentioned, the
U_BOOT_LDS_SECTIONmacro will be very useful for me later onThe next biggie is where to define all the externs exported from the linker script as a result of using the
U_BOOT_LDS_SECTIONmacro. I'm half tempted to think we could collect all the usages ofU_BOOT_LDS_SECTIONin a header (for the common case, that is essentiallyu-boot-common.lds) and by setting a #define you switch between full macro expansion (for the linker) and 'extern generation' for including in C files. That way, when you add a new section, everything happen automagically :)
Quoted 4 lines
Regards,
Graeme
So do you think this is wrong in patch 2/2?
include/phy.h +2 -0
@@ -23,6 +23,7 @@#ifndef _PHY_H#define _PHY_H +#include <linux/compiler.h> #include <linux/list.h> #include <linux/mii.h> #include <linux/ethtool.h>
@@ -231,4 +232,7 @@ int phy_vitesse_init(void);/* PHY UIDs for various PHYs that are referenced in external code */ #define PHY_UID_TN2020 0x00a19410 +#define __phy_entry __attribute__((section(".phy_entry"))) __used
__aligned(4)
+extern struct phy_driver __phy_entry_start, __phy_entry_end; +
#endif
I don't see how this can be automatically generated.
Troy
PATCH v2 1/2 RFC: create u-boot-common.lds
Hi Troy,
Quoted 35 lines · Troy Kisky
Quoted 10 lines · Graeme Russ
The next biggie is where to define all the externs exported from the linker script as a result of using the
U_BOOT_LDS_SECTIONmacro. I'm half tempted to think we could collect all the usages ofU_BOOT_LDS_SECTIONin a header (for the common case, that is essentiallyu-boot-common.lds) and by setting a #define you switch between full macro expansion (for the linker) and 'extern generation' for including in C files. That way, when you add a new section, everything happen automagically :)Quoted 4 lines
Regards,
Graeme
So do you think this is wrong in patch 2/2?
include/phy.h +0
-0@@ -23,6 +23,7 @@?#ifndef
_PHY_H
?#define_PHY_H+#include <
linux/compiler.h>
?#include <linux/list.h>
?#include <linux/mii.h>
?#include <linux/ethtool.h>include/phy.h +0
-0@@ -231,4 +232,7 @@ int phy_vitesse_init(void);?/* PHY UIDs for various PHYs that are referenced in external code */ ?#define
PHY_UID_TN20200x00a19410+#define
__phy_entry?__attribute__((section(".phy_entry")))__used__aligned(4)
include/phy.h
Quoted 2 lines
include/phy.h +2
-0+extern struct phy_driver __phy_entry_start, __phy_entry_end; +
Aha! Thanks - putting the extern there makes much more sense :)
Quoted 4 lines
?#endif
I don't see how this can be automatically generated.
Yeah, I wouldn't bother either now I see above
Regards,
Graeme