Commit 2f54faae4774f9d563ffb5b3e2b68a46b7289a1b

Authored by wdenk
1 parent 5f0c62ad94
Exists in master and in 55 other branches 8qm-imx_v2020.04_5.4.70_2.3.0, emb_lf_v2022.04, emb_lf_v2023.04, imx_v2015.04_4.1.15_1.0.0_ga, pitx_8mp_lf_v2020.04, smarc-8m-android-10.0.0_2.6.0, smarc-8m-android-11.0.0_2.0.0, smarc-8mp-android-11.0.0_2.0.0, smarc-emmc-imx_v2014.04_3.10.53_1.1.0_ga, smarc-emmc-imx_v2014.04_3.14.28_1.0.0_ga, smarc-imx-l5.0.0_1.0.0-ga, smarc-imx6_v2018.03_4.14.98_2.0.0_ga, smarc-imx7_v2017.03_4.9.11_1.0.0_ga, smarc-imx7_v2018.03_4.14.98_2.0.0_ga, smarc-imx_v2014.04_3.14.28_1.0.0_ga, smarc-imx_v2015.04_4.1.15_1.0.0_ga, smarc-imx_v2017.03_4.9.11_1.0.0_ga, smarc-imx_v2017.03_4.9.88_2.0.0_ga, smarc-imx_v2017.03_o8.1.0_1.3.0_8m, smarc-imx_v2018.03_4.14.78_1.0.0_ga, smarc-m6.0.1_2.1.0-ga, smarc-n7.1.2_2.0.0-ga, smarc-rel_imx_4.1.15_2.0.0_ga, smarc_8m-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8m-imx_v2019.04_4.19.35_1.1.0, smarc_8m_00d0-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8mm-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8mm-imx_v2019.04_4.19.35_1.1.0, smarc_8mm-imx_v2020.04_5.4.24_2.1.0, smarc_8mp_lf_v2020.04, smarc_8mq-imx_v2020.04_5.4.24_2.1.0, smarc_8mq_lf_v2020.04, ti-u-boot-2015.07, u-boot-2013.01.y, v2013.10, v2013.10-smarct33, v2013.10-smartmen, v2014.01, v2014.04, v2014.04-smarct33, v2014.04-smarct33-emmc, v2014.04-smartmen, v2014.07, v2014.07-smarct33, v2014.07-smartmen, v2015.07-smarct33, v2015.07-smarct33-emmc, v2015.07-smarct4x, v2016.05-dlt, v2016.05-smarct3x, v2016.05-smarct3x-emmc, v2016.05-smarct4x, v2017.01-smarct3x, v2017.01-smarct3x-emmc, v2017.01-smarct4x

Initial revision

Showing 8 changed files with 1046 additions and 0 deletions Side-by-side Diff

board/bmw/u-boot.lds
  1 +/*
  2 + * (C) Copyright 2001
  3 + * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  4 + *
  5 + * See file CREDITS for list of people who contributed to this
  6 + * project.
  7 + *
  8 + * This program is free software; you can redistribute it and/or
  9 + * modify it under the terms of the GNU General Public License as
  10 + * published by the Free Software Foundation; either version 2 of
  11 + * the License, or (at your option) any later version.
  12 + *
  13 + * This program is distributed in the hope that it will be useful,
  14 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16 + * GNU General Public License for more details.
  17 + *
  18 + * You should have received a copy of the GNU General Public License
  19 + * along with this program; if not, write to the Free Software
  20 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  21 + * MA 02111-1307 USA
  22 + */
  23 +
  24 +OUTPUT_ARCH(powerpc)
  25 +SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/local/powerpc-any-elf/lib);
  26 +/* Do we need any of these for elf?
  27 + __DYNAMIC = 0; */
  28 +SECTIONS
  29 +{
  30 + /* Read-only sections, merged into text segment: */
  31 + . = + SIZEOF_HEADERS;
  32 + .interp : { *(.interp) }
  33 + .hash : { *(.hash) }
  34 + .dynsym : { *(.dynsym) }
  35 + .dynstr : { *(.dynstr) }
  36 + .rel.text : { *(.rel.text) }
  37 + .rela.text : { *(.rela.text) }
  38 + .rel.data : { *(.rel.data) }
  39 + .rela.data : { *(.rela.data) }
  40 + .rel.rodata : { *(.rel.rodata) }
  41 + .rela.rodata : { *(.rela.rodata) }
  42 + .rel.got : { *(.rel.got) }
  43 + .rela.got : { *(.rela.got) }
  44 + .rel.ctors : { *(.rel.ctors) }
  45 + .rela.ctors : { *(.rela.ctors) }
  46 + .rel.dtors : { *(.rel.dtors) }
  47 + .rela.dtors : { *(.rela.dtors) }
  48 + .rel.bss : { *(.rel.bss) }
  49 + .rela.bss : { *(.rela.bss) }
  50 + .rel.plt : { *(.rel.plt) }
  51 + .rela.plt : { *(.rela.plt) }
  52 + .init : { *(.init) }
  53 + .plt : { *(.plt) }
  54 + .text :
  55 + {
  56 + cpu/mpc824x/start.o (.text)
  57 + lib_ppc/board.o (.text)
  58 + lib_ppc/ppcstring.o (.text)
  59 + lib_generic/vsprintf.o (.text)
  60 + lib_generic/crc32.o (.text)
  61 + lib_generic/zlib.o (.text)
  62 +
  63 + . = DEFINED(env_offset) ? env_offset : .;
  64 + common/environment.o (.text)
  65 +
  66 + *(.text)
  67 +
  68 + *(.fixup)
  69 + *(.got1)
  70 + . = ALIGN(16);
  71 + *(.rodata)
  72 + *(.rodata1)
  73 + }
  74 + .fini : { *(.fini) } =0
  75 + .ctors : { *(.ctors) }
  76 + .dtors : { *(.dtors) }
  77 +
  78 + /* Read-write section, merged into data segment: */
  79 + . = (. + 0x0FFF) & 0xFFFFF000;
  80 + _erotext = .;
  81 + PROVIDE (erotext = .);
  82 + .reloc :
  83 + {
  84 + *(.got)
  85 + _GOT2_TABLE_ = .;
  86 + *(.got2)
  87 + _FIXUP_TABLE_ = .;
  88 + *(.fixup)
  89 + }
  90 + __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >> 2;
  91 + __fixup_entries = (. - _FIXUP_TABLE_) >> 2;
  92 +
  93 + .data :
  94 + {
  95 + *(.data)
  96 + *(.data1)
  97 + *(.sdata)
  98 + *(.sdata2)
  99 + *(.dynamic)
  100 + CONSTRUCTORS
  101 + }
  102 + _edata = .;
  103 + PROVIDE (edata = .);
  104 +
  105 + __start___ex_table = .;
  106 + __ex_table : { *(__ex_table) }
  107 + __stop___ex_table = .;
  108 +
  109 + . = ALIGN(4096);
  110 + __init_begin = .;
  111 + .text.init : { *(.text.init) }
  112 + .data.init : { *(.data.init) }
  113 + . = ALIGN(4096);
  114 + __init_end = .;
  115 +
  116 + __bss_start = .;
  117 + .bss :
  118 + {
  119 + *(.sbss) *(.scommon)
  120 + *(.dynbss)
  121 + *(.bss)
  122 + *(COMMON)
  123 + }
  124 +
  125 + _end = . ;
  126 + PROVIDE (end = .);
  127 +}
board/esd/dasa_sim/u-boot.lds
  1 +/*
  2 + * (C) Copyright 2000
  3 + * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  4 + *
  5 + * See file CREDITS for list of people who contributed to this
  6 + * project.
  7 + *
  8 + * This program is free software; you can redistribute it and/or
  9 + * modify it under the terms of the GNU General Public License as
  10 + * published by the Free Software Foundation; either version 2 of
  11 + * the License, or (at your option) any later version.
  12 + *
  13 + * This program is distributed in the hope that it will be useful,
  14 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16 + * GNU General Public License for more details.
  17 + *
  18 + * You should have received a copy of the GNU General Public License
  19 + * along with this program; if not, write to the Free Software
  20 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  21 + * MA 02111-1307 USA
  22 + */
  23 +
  24 +OUTPUT_ARCH(powerpc)
  25 +SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/local/powerpc-any-elf/lib);
  26 +/* Do we need any of these for elf?
  27 + __DYNAMIC = 0; */
  28 +SECTIONS
  29 +{
  30 + .resetvec 0xFFFFFFFC :
  31 + {
  32 + *(.resetvec)
  33 + } = 0xffff
  34 +
  35 + /* Read-only sections, merged into text segment: */
  36 + . = + SIZEOF_HEADERS;
  37 + .interp : { *(.interp) }
  38 + .hash : { *(.hash) }
  39 + .dynsym : { *(.dynsym) }
  40 + .dynstr : { *(.dynstr) }
  41 + .rel.text : { *(.rel.text) }
  42 + .rela.text : { *(.rela.text) }
  43 + .rel.data : { *(.rel.data) }
  44 + .rela.data : { *(.rela.data) }
  45 + .rel.rodata : { *(.rel.rodata) }
  46 + .rela.rodata : { *(.rela.rodata) }
  47 + .rel.got : { *(.rel.got) }
  48 + .rela.got : { *(.rela.got) }
  49 + .rel.ctors : { *(.rel.ctors) }
  50 + .rela.ctors : { *(.rela.ctors) }
  51 + .rel.dtors : { *(.rel.dtors) }
  52 + .rela.dtors : { *(.rela.dtors) }
  53 + .rel.bss : { *(.rel.bss) }
  54 + .rela.bss : { *(.rela.bss) }
  55 + .rel.plt : { *(.rel.plt) }
  56 + .rela.plt : { *(.rela.plt) }
  57 + .init : { *(.init) }
  58 + .plt : { *(.plt) }
  59 + .text :
  60 + {
  61 + /* WARNING - the following is hand-optimized to fit within */
  62 + /* the sector layout of our flash chips! XXX FIXME XXX */
  63 +
  64 + cpu/ppc4xx/start.o (.text)
  65 + cpu/ppc4xx/traps.o (.text)
  66 + cpu/ppc4xx/interrupts.o (.text)
  67 + cpu/ppc4xx/serial.o (.text)
  68 + cpu/ppc4xx/cpu_init.o (.text)
  69 + cpu/ppc4xx/speed.o (.text)
  70 + common/dlmalloc.o (.text)
  71 + lib_ppc/extable.o (.text)
  72 + lib_ppc/board.o (.text)
  73 + lib_generic/zlib.o (.text)
  74 + lib_generic/crc32.o (.text)
  75 +
  76 + common/cmd_boot.o (.text)
  77 + common/cmd_bootm.o (.text)
  78 + common/cmd_flash.o (.text)
  79 + common/cmd_mem.o (.text)
  80 + common/cmd_nvedit.o (.text)
  81 + common/console.o (.text)
  82 + common/lists.o (.text)
  83 + common/main.o (.text)
  84 +
  85 + board/esd/dasa_sim/flash.o (.text)
  86 + common/cmd_nvedit.o (.text)
  87 + board/esd/dasa_sim/cmd_dasa_sim.o (.text)
  88 + net/bootp.o (.text)
  89 +
  90 + . = env_offset;
  91 + common/environment.o(.text)
  92 +
  93 + *(.text)
  94 + *(.fixup)
  95 + *(.got1)
  96 + }
  97 + _etext = .;
  98 + PROVIDE (etext = .);
  99 + .rodata :
  100 + {
  101 + *(.rodata)
  102 + *(.rodata1)
  103 + }
  104 + .fini : { *(.fini) } =0
  105 + .ctors : { *(.ctors) }
  106 + .dtors : { *(.dtors) }
  107 +
  108 + /* Read-write section, merged into data segment: */
  109 + . = (. + 0x0FFF) & 0xFFFFF000;
  110 + _erotext = .;
  111 + PROVIDE (erotext = .);
  112 + .reloc :
  113 + {
  114 + *(.got)
  115 + _GOT2_TABLE_ = .;
  116 + *(.got2)
  117 + _FIXUP_TABLE_ = .;
  118 + *(.fixup)
  119 + }
  120 + __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >>2;
  121 + __fixup_entries = (. - _FIXUP_TABLE_)>>2;
  122 +
  123 + .data :
  124 + {
  125 + *(.data)
  126 + *(.data1)
  127 + *(.sdata)
  128 + *(.sdata2)
  129 + *(.dynamic)
  130 + CONSTRUCTORS
  131 + }
  132 + _edata = .;
  133 + PROVIDE (edata = .);
  134 +
  135 + __start___ex_table = .;
  136 + __ex_table : { *(__ex_table) }
  137 + __stop___ex_table = .;
  138 +
  139 + . = ALIGN(4096);
  140 + __init_begin = .;
  141 + .text.init : { *(.text.init) }
  142 + .data.init : { *(.data.init) }
  143 + . = ALIGN(4096);
  144 + __init_end = .;
  145 +
  146 + __bss_start = .;
  147 + .bss :
  148 + {
  149 + *(.sbss) *(.scommon)
  150 + *(.dynbss)
  151 + *(.bss)
  152 + *(COMMON)
  153 + }
  154 + _end = . ;
  155 + PROVIDE (end = .);
  156 +}
board/mousse/u-boot.lds
  1 +/*
  2 + * (C) Copyright 2001
  3 + * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  4 + *
  5 + * See file CREDITS for list of people who contributed to this
  6 + * project.
  7 + *
  8 + * This program is free software; you can redistribute it and/or
  9 + * modify it under the terms of the GNU General Public License as
  10 + * published by the Free Software Foundation; either version 2 of
  11 + * the License, or (at your option) any later version.
  12 + *
  13 + * This program is distributed in the hope that it will be useful,
  14 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16 + * GNU General Public License for more details.
  17 + *
  18 + * You should have received a copy of the GNU General Public License
  19 + * along with this program; if not, write to the Free Software
  20 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  21 + * MA 02111-1307 USA
  22 + */
  23 +
  24 +OUTPUT_ARCH(powerpc)
  25 +SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/local/powerpc-any-elf/lib);
  26 +/* Do we need any of these for elf?
  27 + __DYNAMIC = 0; */
  28 +SECTIONS
  29 +{
  30 + /* Read-only sections, merged into text segment: */
  31 + . = + SIZEOF_HEADERS;
  32 + .interp : { *(.interp) }
  33 + .hash : { *(.hash) }
  34 + .dynsym : { *(.dynsym) }
  35 + .dynstr : { *(.dynstr) }
  36 + .rel.text : { *(.rel.text) }
  37 + .rela.text : { *(.rela.text) }
  38 + .rel.data : { *(.rel.data) }
  39 + .rela.data : { *(.rela.data) }
  40 + .rel.rodata : { *(.rel.rodata) }
  41 + .rela.rodata : { *(.rela.rodata) }
  42 + .rel.got : { *(.rel.got) }
  43 + .rela.got : { *(.rela.got) }
  44 + .rel.ctors : { *(.rel.ctors) }
  45 + .rela.ctors : { *(.rela.ctors) }
  46 + .rel.dtors : { *(.rel.dtors) }
  47 + .rela.dtors : { *(.rela.dtors) }
  48 + .rel.bss : { *(.rel.bss) }
  49 + .rela.bss : { *(.rela.bss) }
  50 + .rel.plt : { *(.rel.plt) }
  51 + .rela.plt : { *(.rela.plt) }
  52 + .init : { *(.init) }
  53 + .plt : { *(.plt) }
  54 + .text :
  55 + {
  56 + cpu/mpc824x/start.o (.text)
  57 + lib_ppc/board.o (.text)
  58 + lib_ppc/ppcstring.o (.text)
  59 + lib_generic/vsprintf.o (.text)
  60 + lib_generic/crc32.o (.text)
  61 + lib_generic/zlib.o (.text)
  62 +
  63 + *(.fixup)
  64 + *(.got1)
  65 + . = ALIGN(16);
  66 + *(.rodata)
  67 + *(.rodata1)
  68 + }
  69 + .fini : { *(.fini) } =0
  70 + .ctors : { *(.ctors) }
  71 + .dtors : { *(.dtors) }
  72 +
  73 + /* Read-write section, merged into data segment: */
  74 + . = (. + 0x0FF) & 0xFFFFFF00;
  75 + _erotext = .;
  76 + PROVIDE (erotext = .);
  77 + .reloc :
  78 + {
  79 + *(.got)
  80 + _GOT2_TABLE_ = .;
  81 + *(.got2)
  82 + _FIXUP_TABLE_ = .;
  83 + *(.fixup)
  84 + }
  85 + __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >> 2;
  86 + __fixup_entries = (. - _FIXUP_TABLE_) >> 2;
  87 +
  88 + .data :
  89 + {
  90 + *(.data)
  91 + *(.data1)
  92 + *(.sdata)
  93 + *(.sdata2)
  94 + *(.dynamic)
  95 + CONSTRUCTORS
  96 + }
  97 + _edata = .;
  98 + PROVIDE (edata = .);
  99 +
  100 + __start___ex_table = .;
  101 + __ex_table : { *(__ex_table) }
  102 + __stop___ex_table = .;
  103 +
  104 + . = ALIGN(4096);
  105 + __init_begin = .;
  106 + .text.init : { *(.text.init) }
  107 + .data.init : { *(.data.init) }
  108 + . = ALIGN(4096);
  109 + __init_end = .;
  110 +
  111 + __bss_start = .;
  112 + .bss :
  113 + {
  114 + *(.sbss) *(.scommon)
  115 + *(.dynbss)
  116 + *(.bss)
  117 + *(COMMON)
  118 + }
  119 +
  120 + _end = . ;
  121 + PROVIDE (end = .);
  122 +}
board/musenki/u-boot.lds
  1 +/*
  2 + * (C) Copyright 2001
  3 + * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  4 + *
  5 + * See file CREDITS for list of people who contributed to this
  6 + * project.
  7 + *
  8 + * This program is free software; you can redistribute it and/or
  9 + * modify it under the terms of the GNU General Public License as
  10 + * published by the Free Software Foundation; either version 2 of
  11 + * the License, or (at your option) any later version.
  12 + *
  13 + * This program is distributed in the hope that it will be useful,
  14 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16 + * GNU General Public License for more details.
  17 + *
  18 + * You should have received a copy of the GNU General Public License
  19 + * along with this program; if not, write to the Free Software
  20 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  21 + * MA 02111-1307 USA
  22 + */
  23 +
  24 +OUTPUT_ARCH(powerpc)
  25 +SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/local/powerpc-any-elf/lib);
  26 +/* Do we need any of these for elf?
  27 + __DYNAMIC = 0; */
  28 +SECTIONS
  29 +{
  30 + /* Read-only sections, merged into text segment: */
  31 + . = + SIZEOF_HEADERS;
  32 + .interp : { *(.interp) }
  33 + .hash : { *(.hash) }
  34 + .dynsym : { *(.dynsym) }
  35 + .dynstr : { *(.dynstr) }
  36 + .rel.text : { *(.rel.text) }
  37 + .rela.text : { *(.rela.text) }
  38 + .rel.data : { *(.rel.data) }
  39 + .rela.data : { *(.rela.data) }
  40 + .rel.rodata : { *(.rel.rodata) }
  41 + .rela.rodata : { *(.rela.rodata) }
  42 + .rel.got : { *(.rel.got) }
  43 + .rela.got : { *(.rela.got) }
  44 + .rel.ctors : { *(.rel.ctors) }
  45 + .rela.ctors : { *(.rela.ctors) }
  46 + .rel.dtors : { *(.rel.dtors) }
  47 + .rela.dtors : { *(.rela.dtors) }
  48 + .rel.bss : { *(.rel.bss) }
  49 + .rela.bss : { *(.rela.bss) }
  50 + .rel.plt : { *(.rel.plt) }
  51 + .rela.plt : { *(.rela.plt) }
  52 + .init : { *(.init) }
  53 + .plt : { *(.plt) }
  54 + .text :
  55 + {
  56 + cpu/mpc824x/start.o (.text)
  57 + lib_ppc/board.o (.text)
  58 + lib_ppc/ppcstring.o (.text)
  59 + lib_generic/vsprintf.o (.text)
  60 + lib_generic/crc32.o (.text)
  61 + lib_generic/zlib.o (.text)
  62 +
  63 + . = DEFINED(env_offset) ? env_offset : .;
  64 + common/environment.o (.text)
  65 +
  66 + *(.text)
  67 +
  68 + *(.fixup)
  69 + *(.got1)
  70 + . = ALIGN(16);
  71 + *(.rodata)
  72 + *(.rodata1)
  73 + }
  74 + .fini : { *(.fini) } =0
  75 + .ctors : { *(.ctors) }
  76 + .dtors : { *(.dtors) }
  77 +
  78 + /* Read-write section, merged into data segment: */
  79 + . = (. + 0x0FFF) & 0xFFFFF000;
  80 + _erotext = .;
  81 + PROVIDE (erotext = .);
  82 + .reloc :
  83 + {
  84 + *(.got)
  85 + _GOT2_TABLE_ = .;
  86 + *(.got2)
  87 + _FIXUP_TABLE_ = .;
  88 + *(.fixup)
  89 + }
  90 + __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >> 2;
  91 + __fixup_entries = (. - _FIXUP_TABLE_) >> 2;
  92 +
  93 + .data :
  94 + {
  95 + *(.data)
  96 + *(.data1)
  97 + *(.sdata)
  98 + *(.sdata2)
  99 + *(.dynamic)
  100 + CONSTRUCTORS
  101 + }
  102 + _edata = .;
  103 + PROVIDE (edata = .);
  104 +
  105 + __start___ex_table = .;
  106 + __ex_table : { *(__ex_table) }
  107 + __stop___ex_table = .;
  108 +
  109 + . = ALIGN(4096);
  110 + __init_begin = .;
  111 + .text.init : { *(.text.init) }
  112 + .data.init : { *(.data.init) }
  113 + . = ALIGN(4096);
  114 + __init_end = .;
  115 +
  116 + __bss_start = .;
  117 + .bss :
  118 + {
  119 + *(.sbss) *(.scommon)
  120 + *(.dynbss)
  121 + *(.bss)
  122 + *(COMMON)
  123 + }
  124 +
  125 + _end = . ;
  126 + PROVIDE (end = .);
  127 +}
board/oxc/u-boot.lds
  1 +/*
  2 + * (C) Copyright 2001
  3 + * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  4 + *
  5 + * See file CREDITS for list of people who contributed to this
  6 + * project.
  7 + *
  8 + * This program is free software; you can redistribute it and/or
  9 + * modify it under the terms of the GNU General Public License as
  10 + * published by the Free Software Foundation; either version 2 of
  11 + * the License, or (at your option) any later version.
  12 + *
  13 + * This program is distributed in the hope that it will be useful,
  14 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16 + * GNU General Public License for more details.
  17 + *
  18 + * You should have received a copy of the GNU General Public License
  19 + * along with this program; if not, write to the Free Software
  20 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  21 + * MA 02111-1307 USA
  22 + */
  23 +
  24 +OUTPUT_ARCH(powerpc)
  25 +SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/local/powerpc-any-elf/lib);
  26 +/* Do we need any of these for elf?
  27 + __DYNAMIC = 0; */
  28 +SECTIONS
  29 +{
  30 + /* Read-only sections, merged into text segment: */
  31 + . = + SIZEOF_HEADERS;
  32 + .interp : { *(.interp) }
  33 + .hash : { *(.hash) }
  34 + .dynsym : { *(.dynsym) }
  35 + .dynstr : { *(.dynstr) }
  36 + .rel.text : { *(.rel.text) }
  37 + .rela.text : { *(.rela.text) }
  38 + .rel.data : { *(.rel.data) }
  39 + .rela.data : { *(.rela.data) }
  40 + .rel.rodata : { *(.rel.rodata) }
  41 + .rela.rodata : { *(.rela.rodata) }
  42 + .rel.got : { *(.rel.got) }
  43 + .rela.got : { *(.rela.got) }
  44 + .rel.ctors : { *(.rel.ctors) }
  45 + .rela.ctors : { *(.rela.ctors) }
  46 + .rel.dtors : { *(.rel.dtors) }
  47 + .rela.dtors : { *(.rela.dtors) }
  48 + .rel.bss : { *(.rel.bss) }
  49 + .rela.bss : { *(.rela.bss) }
  50 + .rel.plt : { *(.rel.plt) }
  51 + .rela.plt : { *(.rela.plt) }
  52 + .init : { *(.init) }
  53 + .plt : { *(.plt) }
  54 + .text :
  55 + {
  56 + cpu/mpc824x/start.o (.text)
  57 + lib_ppc/board.o (.text)
  58 + lib_ppc/ppcstring.o (.text)
  59 +
  60 + . = DEFINED(env_offset) ? env_offset : .;
  61 + common/environment.o (.text)
  62 +
  63 + *(.text)
  64 +
  65 + *(.fixup)
  66 + *(.got1)
  67 + . = ALIGN(16);
  68 + *(.rodata)
  69 + *(.rodata1)
  70 + }
  71 + .fini : { *(.fini) } =0
  72 + .ctors : { *(.ctors) }
  73 + .dtors : { *(.dtors) }
  74 +
  75 + /* Read-write section, merged into data segment: */
  76 + . = (. + 0x0FFF) & 0xFFFFF000;
  77 + _erotext = .;
  78 + PROVIDE (erotext = .);
  79 + .reloc :
  80 + {
  81 + *(.got)
  82 + _GOT2_TABLE_ = .;
  83 + *(.got2)
  84 + _FIXUP_TABLE_ = .;
  85 + *(.fixup)
  86 + }
  87 + __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >> 2;
  88 + __fixup_entries = (. - _FIXUP_TABLE_) >> 2;
  89 +
  90 + .data :
  91 + {
  92 + *(.data)
  93 + *(.data1)
  94 + *(.sdata)
  95 + *(.sdata2)
  96 + *(.dynamic)
  97 + CONSTRUCTORS
  98 + }
  99 + _edata = .;
  100 + PROVIDE (edata = .);
  101 +
  102 + __start___ex_table = .;
  103 + __ex_table : { *(__ex_table) }
  104 + __stop___ex_table = .;
  105 +
  106 + . = ALIGN(4096);
  107 + __init_begin = .;
  108 + .text.init : { *(.text.init) }
  109 + .data.init : { *(.data.init) }
  110 + . = ALIGN(4096);
  111 + __init_end = .;
  112 +
  113 + __bss_start = .;
  114 + .bss :
  115 + {
  116 + *(.sbss) *(.scommon)
  117 + *(.dynbss)
  118 + *(.bss)
  119 + *(COMMON)
  120 + }
  121 +
  122 + _end = . ;
  123 + PROVIDE (end = .);
  124 +}
board/pn62/u-boot.lds
  1 +/*
  2 + * (C) Copyright 2001
  3 + * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  4 + *
  5 + * See file CREDITS for list of people who contributed to this
  6 + * project.
  7 + *
  8 + * This program is free software; you can redistribute it and/or
  9 + * modify it under the terms of the GNU General Public License as
  10 + * published by the Free Software Foundation; either version 2 of
  11 + * the License, or (at your option) any later version.
  12 + *
  13 + * This program is distributed in the hope that it will be useful,
  14 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16 + * GNU General Public License for more details.
  17 + *
  18 + * You should have received a copy of the GNU General Public License
  19 + * along with this program; if not, write to the Free Software
  20 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  21 + * MA 02111-1307 USA
  22 + */
  23 +
  24 +OUTPUT_ARCH(powerpc)
  25 +SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/local/powerpc-any-elf/lib);
  26 +/* Do we need any of these for elf?
  27 + __DYNAMIC = 0; */
  28 +SECTIONS
  29 +{
  30 + /* Read-only sections, merged into text segment: */
  31 + . = + SIZEOF_HEADERS;
  32 + .interp : { *(.interp) }
  33 + .hash : { *(.hash) }
  34 + .dynsym : { *(.dynsym) }
  35 + .dynstr : { *(.dynstr) }
  36 + .rel.text : { *(.rel.text) }
  37 + .rela.text : { *(.rela.text) }
  38 + .rel.data : { *(.rel.data) }
  39 + .rela.data : { *(.rela.data) }
  40 + .rel.rodata : { *(.rel.rodata) }
  41 + .rela.rodata : { *(.rela.rodata) }
  42 + .rel.got : { *(.rel.got) }
  43 + .rela.got : { *(.rela.got) }
  44 + .rel.ctors : { *(.rel.ctors) }
  45 + .rela.ctors : { *(.rela.ctors) }
  46 + .rel.dtors : { *(.rel.dtors) }
  47 + .rela.dtors : { *(.rela.dtors) }
  48 + .rel.bss : { *(.rel.bss) }
  49 + .rela.bss : { *(.rela.bss) }
  50 + .rel.plt : { *(.rel.plt) }
  51 + .rela.plt : { *(.rela.plt) }
  52 + .init : { *(.init) }
  53 + .plt : { *(.plt) }
  54 + .text :
  55 + {
  56 + cpu/mpc824x/start.o (.text)
  57 + lib_ppc/board.o (.text)
  58 + lib_ppc/ppcstring.o (.text)
  59 + lib_generic/vsprintf.o (.text)
  60 + lib_generic/crc32.o (.text)
  61 + lib_generic/zlib.o (.text)
  62 +
  63 + . = DEFINED(env_offset) ? env_offset : .;
  64 + common/environment.o (.text)
  65 +
  66 + *(.text)
  67 +
  68 + *(.fixup)
  69 + *(.got1)
  70 + . = ALIGN(16);
  71 + *(.rodata)
  72 + *(.rodata1)
  73 + }
  74 + .fini : { *(.fini) } =0
  75 + .ctors : { *(.ctors) }
  76 + .dtors : { *(.dtors) }
  77 +
  78 + /* Read-write section, merged into data segment: */
  79 + . = (. + 0x0FFF) & 0xFFFFF000;
  80 + _erotext = .;
  81 + PROVIDE (erotext = .);
  82 + .reloc :
  83 + {
  84 + *(.got)
  85 + _GOT2_TABLE_ = .;
  86 + *(.got2)
  87 + _FIXUP_TABLE_ = .;
  88 + *(.fixup)
  89 + }
  90 + __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >> 2;
  91 + __fixup_entries = (. - _FIXUP_TABLE_) >> 2;
  92 +
  93 + .data :
  94 + {
  95 + *(.data)
  96 + *(.data1)
  97 + *(.sdata)
  98 + *(.sdata2)
  99 + *(.dynamic)
  100 + CONSTRUCTORS
  101 + }
  102 + _edata = .;
  103 + PROVIDE (edata = .);
  104 +
  105 + __start___ex_table = .;
  106 + __ex_table : { *(__ex_table) }
  107 + __stop___ex_table = .;
  108 +
  109 + . = ALIGN(4096);
  110 + __init_begin = .;
  111 + .text.init : { *(.text.init) }
  112 + .data.init : { *(.data.init) }
  113 + . = ALIGN(4096);
  114 + __init_end = .;
  115 +
  116 + __bss_start = .;
  117 + .bss :
  118 + {
  119 + *(.sbss) *(.scommon)
  120 + *(.dynbss)
  121 + *(.bss)
  122 + *(COMMON)
  123 + }
  124 +
  125 + _end = . ;
  126 + PROVIDE (end = .);
  127 +}
board/sandpoint/u-boot.lds
  1 +/*
  2 + * (C) Copyright 2001
  3 + * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  4 + *
  5 + * See file CREDITS for list of people who contributed to this
  6 + * project.
  7 + *
  8 + * This program is free software; you can redistribute it and/or
  9 + * modify it under the terms of the GNU General Public License as
  10 + * published by the Free Software Foundation; either version 2 of
  11 + * the License, or (at your option) any later version.
  12 + *
  13 + * This program is distributed in the hope that it will be useful,
  14 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16 + * GNU General Public License for more details.
  17 + *
  18 + * You should have received a copy of the GNU General Public License
  19 + * along with this program; if not, write to the Free Software
  20 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  21 + * MA 02111-1307 USA
  22 + */
  23 +
  24 +OUTPUT_ARCH(powerpc)
  25 +SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/local/powerpc-any-elf/lib);
  26 +/* Do we need any of these for elf?
  27 + __DYNAMIC = 0; */
  28 +SECTIONS
  29 +{
  30 + /* Read-only sections, merged into text segment: */
  31 + . = + SIZEOF_HEADERS;
  32 + .interp : { *(.interp) }
  33 + .hash : { *(.hash) }
  34 + .dynsym : { *(.dynsym) }
  35 + .dynstr : { *(.dynstr) }
  36 + .rel.text : { *(.rel.text) }
  37 + .rela.text : { *(.rela.text) }
  38 + .rel.data : { *(.rel.data) }
  39 + .rela.data : { *(.rela.data) }
  40 + .rel.rodata : { *(.rel.rodata) }
  41 + .rela.rodata : { *(.rela.rodata) }
  42 + .rel.got : { *(.rel.got) }
  43 + .rela.got : { *(.rela.got) }
  44 + .rel.ctors : { *(.rel.ctors) }
  45 + .rela.ctors : { *(.rela.ctors) }
  46 + .rel.dtors : { *(.rel.dtors) }
  47 + .rela.dtors : { *(.rela.dtors) }
  48 + .rel.bss : { *(.rel.bss) }
  49 + .rela.bss : { *(.rela.bss) }
  50 + .rel.plt : { *(.rel.plt) }
  51 + .rela.plt : { *(.rela.plt) }
  52 + .init : { *(.init) }
  53 + .plt : { *(.plt) }
  54 + .text :
  55 + {
  56 + cpu/mpc824x/start.o (.text)
  57 + lib_ppc/board.o (.text)
  58 + lib_ppc/ppcstring.o (.text)
  59 +
  60 + . = DEFINED(env_offset) ? env_offset : .;
  61 + common/environment.o (.text)
  62 +
  63 + *(.text)
  64 +
  65 + *(.fixup)
  66 + *(.got1)
  67 + . = ALIGN(16);
  68 + *(.rodata)
  69 + *(.rodata1)
  70 + }
  71 + .fini : { *(.fini) } =0
  72 + .ctors : { *(.ctors) }
  73 + .dtors : { *(.dtors) }
  74 +
  75 + /* Read-write section, merged into data segment: */
  76 + . = (. + 0x0FFF) & 0xFFFFF000;
  77 + _erotext = .;
  78 + PROVIDE (erotext = .);
  79 + .reloc :
  80 + {
  81 + *(.got)
  82 + _GOT2_TABLE_ = .;
  83 + *(.got2)
  84 + _FIXUP_TABLE_ = .;
  85 + *(.fixup)
  86 + }
  87 + __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >> 2;
  88 + __fixup_entries = (. - _FIXUP_TABLE_) >> 2;
  89 +
  90 + .data :
  91 + {
  92 + *(.data)
  93 + *(.data1)
  94 + *(.sdata)
  95 + *(.sdata2)
  96 + *(.dynamic)
  97 + CONSTRUCTORS
  98 + }
  99 + _edata = .;
  100 + PROVIDE (edata = .);
  101 +
  102 + __start___ex_table = .;
  103 + __ex_table : { *(__ex_table) }
  104 + __stop___ex_table = .;
  105 +
  106 + . = ALIGN(4096);
  107 + __init_begin = .;
  108 + .text.init : { *(.text.init) }
  109 + .data.init : { *(.data.init) }
  110 + . = ALIGN(4096);
  111 + __init_end = .;
  112 +
  113 + __bss_start = .;
  114 + .bss :
  115 + {
  116 + *(.sbss) *(.scommon)
  117 + *(.dynbss)
  118 + *(.bss)
  119 + *(COMMON)
  120 + }
  121 +
  122 + _end = . ;
  123 + PROVIDE (end = .);
  124 +}
board/utx8245/u-boot.lds
  1 +/*
  2 + * (C) Copyright 2001
  3 + * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  4 + *
  5 + * (C) Copyright 2002
  6 + * Gregory E. Allen, gallen@arlut.utexas.edu
  7 + * Matthew E. Karger, karger@arlut.utexas.edu
  8 + * Applied Research Laboratories, The University of Texas at Austin
  9 + *
  10 + * See file CREDITS for list of people who contributed to this
  11 + * project.
  12 + *
  13 + * This program is free software; you can redistribute it and/or
  14 + * modify it under the terms of the GNU General Public License as
  15 + * published by the Free Software Foundation; either version 2 of
  16 + * the License, or (at your option) any later version.
  17 + *
  18 + * This program is distributed in the hope that it will be useful,
  19 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
  20 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  21 + * GNU General Public License for more details.
  22 + *
  23 + * You should have received a copy of the GNU General Public License
  24 + * along with this program; if not, write to the Free Software
  25 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  26 + * MA 02111-1307 USA
  27 + */
  28 +
  29 +OUTPUT_ARCH(powerpc)
  30 +SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/local/powerpc-any-elf/lib);
  31 +/* Do we need any of these for elf?
  32 + __DYNAMIC = 0; */
  33 +SECTIONS
  34 +{
  35 + /* Read-only sections, merged into text segment: */
  36 + . = + SIZEOF_HEADERS;
  37 + .interp : { *(.interp) }
  38 + .hash : { *(.hash) }
  39 + .dynsym : { *(.dynsym) }
  40 + .dynstr : { *(.dynstr) }
  41 + .rel.text : { *(.rel.text) }
  42 + .rela.text : { *(.rela.text) }
  43 + .rel.data : { *(.rel.data) }
  44 + .rela.data : { *(.rela.data) }
  45 + .rel.rodata : { *(.rel.rodata) }
  46 + .rela.rodata : { *(.rela.rodata) }
  47 + .rel.got : { *(.rel.got) }
  48 + .rela.got : { *(.rela.got) }
  49 + .rel.ctors : { *(.rel.ctors) }
  50 + .rela.ctors : { *(.rela.ctors) }
  51 + .rel.dtors : { *(.rel.dtors) }
  52 + .rela.dtors : { *(.rela.dtors) }
  53 + .rel.bss : { *(.rel.bss) }
  54 + .rela.bss : { *(.rela.bss) }
  55 + .rel.plt : { *(.rel.plt) }
  56 + .rela.plt : { *(.rela.plt) }
  57 + .init : { *(.init) }
  58 + .plt : { *(.plt) }
  59 + .text :
  60 + {
  61 + cpu/mpc824x/start.o (.text)
  62 + lib_ppc/board.o (.text)
  63 + lib_ppc/ppcstring.o (.text)
  64 + lib_generic/vsprintf.o (.text)
  65 + lib_generic/crc32.o (.text)
  66 + lib_generic/zlib.o (.text)
  67 +
  68 + . = DEFINED(env_offset) ? env_offset : .;
  69 + common/environment.o (.text)
  70 +
  71 + *(.text)
  72 +
  73 + *(.fixup)
  74 + *(.got1)
  75 + . = ALIGN(16);
  76 + *(.rodata)
  77 + *(.rodata1)
  78 + }
  79 + .fini : { *(.fini) } =0
  80 + .ctors : { *(.ctors) }
  81 + .dtors : { *(.dtors) }
  82 +
  83 + /* Read-write section, merged into data segment: */
  84 + . = (. + 0x0FFF) & 0xFFFFF000;
  85 + _erotext = .;
  86 + PROVIDE (erotext = .);
  87 + .reloc :
  88 + {
  89 + *(.got)
  90 + _GOT2_TABLE_ = .;
  91 + *(.got2)
  92 + _FIXUP_TABLE_ = .;
  93 + *(.fixup)
  94 + }
  95 + __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >> 2;
  96 + __fixup_entries = (. - _FIXUP_TABLE_) >> 2;
  97 +
  98 + .data :
  99 + {
  100 + *(.data)
  101 + *(.data1)
  102 + *(.sdata)
  103 + *(.sdata2)
  104 + *(.dynamic)
  105 + CONSTRUCTORS
  106 + }
  107 + _edata = .;
  108 + PROVIDE (edata = .);
  109 +
  110 + __start___ex_table = .;
  111 + __ex_table : { *(__ex_table) }
  112 + __stop___ex_table = .;
  113 +
  114 + . = ALIGN(4096);
  115 + __init_begin = .;
  116 + .text.init : { *(.text.init) }
  117 + .data.init : { *(.data.init) }
  118 + . = ALIGN(4096);
  119 + __init_end = .;
  120 +
  121 + __bss_start = .;
  122 + .bss :
  123 + {
  124 + *(.sbss) *(.scommon)
  125 + *(.dynbss)
  126 + *(.bss)
  127 + *(COMMON)
  128 + }
  129 +
  130 + _end = . ;
  131 + PROVIDE (end = .);
  132 +}