X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fgaisler%2Fgrsim_leon2%2Fu-boot.lds;h=1f038bca47fd2f5362af77ccb598ded1643fdb96;hb=cd2bf4846c36a225bfffdedda50e5e80c8b2857f;hp=c5311a6c1f578091bcddebec782c00270516971a;hpb=ee1702d75a30d076139d1841383a1fa7220a0e11;p=u-boot diff --git a/board/gaisler/grsim_leon2/u-boot.lds b/board/gaisler/grsim_leon2/u-boot.lds index c5311a6c1f..1f038bca47 100644 --- a/board/gaisler/grsim_leon2/u-boot.lds +++ b/board/gaisler/grsim_leon2/u-boot.lds @@ -1,26 +1,10 @@ -/* Linker script for Gaisler Research AB's GRSIM LEON2 simulator. +/* + * Linker script for Gaisler Research AB's GRSIM LEON2 simulator. * * (C) Copyright 2007 * Daniel Hellstrom, Gaisler Research, daniel@gaisler.com. * - * 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_FORMAT("elf32-sparc", "elf32-sparc", "elf32-sparc") @@ -59,7 +43,7 @@ SECTIONS _text = .; *(.start) - cpu/leon2/start.o (.text) + arch/sparc/cpu/leon2/start.o (.text) /* 8k is the same as the PROM offset from end of main memory, (CONFIG_SYS_PROM_SIZE) */ . = ALIGN(8192); /* PROM CODE, Will be relocated to the end of memory, @@ -84,10 +68,11 @@ SECTIONS /* CMD Table */ - __u_boot_cmd_start = .; - .u_boot_cmd : { *(.u_boot_cmd) } + . = ALIGN(4); - __u_boot_cmd_end = .; + .u_boot_list : { + KEEP(*(SORT(.u_boot_list*))); + } .data : { @@ -132,7 +117,7 @@ SECTIONS . = ALIGN(16); /* to speed clearing of bss up */ } __bss_end = . ; - _end = . ; + __bss_end = . ; PROVIDE (end = .); /* Relocated into main memory */