]> git.sur5r.net Git - u-boot/blobdiff - board/renesas/sh7757lcr/u-boot.lds
Merge branch 'u-boot-ti/master' into 'u-boot-arm/master'
[u-boot] / board / renesas / sh7757lcr / u-boot.lds
index a88d7814a1e44c24dc7f7d21467fdd5114660eb2..4027fe3af5e2392f76861516913ee356eae21581 100644 (file)
@@ -5,23 +5,7 @@
  * Copyright (C) 2011
  * Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.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-sh-linux", "elf32-sh-linux", "elf32-sh-linux")
@@ -41,7 +25,7 @@ SECTIONS
 
        .text :
        {
-               arch/sh/cpu/sh4/start.o         (.text)
+               KEEP(arch/sh/cpu/sh4/start.o            (.text))
                *(.spiboot1.text)
                *(.spiboot2.text)
                . = ALIGN(8192);
@@ -77,13 +61,10 @@ SECTIONS
        }
        PROVIDE (_egot = .);
 
-       PROVIDE (__u_boot_cmd_start = .);
-       .u_boot_cmd :
-       {
-               *(.u_boot_cmd)
-               . = ALIGN(4);
+
+       .u_boot_list : {
+               KEEP(*(SORT(.u_boot_list*)));
        }
-       PROVIDE (__u_boot_cmd_end = .);
 
        PROVIDE (reloc_dst_end = .);
        /* _reloc_dst_end = .; */
@@ -97,5 +78,5 @@ SECTIONS
        }
        PROVIDE (bss_end = .);
 
-       PROVIDE (_end = .);
+       PROVIDE (__bss_end = .);
 }