X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=inline;f=board%2Fep88x%2Fu-boot.lds;h=cbb17d1aeeb2b000b31802d2749f7fc891d1c2d8;hb=660a2e650d718fa01ad0e5da7907c2064c2e3cbe;hp=851348e65fe4fd715d7624e557976912fc7b4cbf;hpb=ac8983bcba75576c50307b5e8dc8fb848740ee61;p=u-boot diff --git a/board/ep88x/u-boot.lds b/board/ep88x/u-boot.lds index 851348e65f..cbb17d1aee 100644 --- a/board/ep88x/u-boot.lds +++ b/board/ep88x/u-boot.lds @@ -4,23 +4,7 @@ * * Modified by Yuli Barcohen * - * See file CREDITS for list of people who contributed to this - * project. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0+ */ OUTPUT_ARCH(powerpc) @@ -43,9 +27,10 @@ SECTIONS PROVIDE (erotext = .); .reloc : { - KEEP(*(.got)) _GOT2_TABLE_ = .; KEEP(*(.got2)) + KEEP(*(.got)) + PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4); _FIXUP_TABLE_ = .; KEEP(*(.fixup)) } @@ -61,9 +46,11 @@ SECTIONS PROVIDE (edata = .); . = .; - __u_boot_cmd_start = .; - .u_boot_cmd : { *(.u_boot_cmd) } - __u_boot_cmd_end = .; + + . = ALIGN(4); + .u_boot_list : { + KEEP(*(SORT(.u_boot_list*))); + } . = .; @@ -86,7 +73,7 @@ SECTIONS *(COMMON) . = ALIGN(4); } - _end = . ; + __bss_end = . ; PROVIDE (end = .); } ENTRY(_start)