]> git.sur5r.net Git - u-boot/blobdiff - board/gaisler/grsim_leon2/u-boot.lds
mmc: sh_mmcif: Fix compile error
[u-boot] / board / gaisler / grsim_leon2 / u-boot.lds
index 63c15b9117a40d3b4329fff5e6a9ef9e00be5456..1f038bca47fd2f5362af77ccb598ded1643fdb96 100644 (file)
@@ -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")
@@ -87,7 +71,7 @@ SECTIONS
 
        . = ALIGN(4);
        .u_boot_list : {
-       #include <u-boot.lst>
+               KEEP(*(SORT(.u_boot_list*)));
        }
 
        .data   :
@@ -133,7 +117,7 @@ SECTIONS
        . = ALIGN(16); /* to speed clearing of bss up */
        }
        __bss_end = . ;
-       __bss_end__ = . ;
+       __bss_end = . ;
        PROVIDE (end = .);
 
 /* Relocated into main memory */