tizen 2.3.1 release
[platform/kernel/u-boot.git] / board / renesas / sh7757lcr / u-boot.lds
index 4027fe3..790b5b8 100644 (file)
@@ -5,7 +5,23 @@
  * Copyright (C) 2011
  * Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+
+ * 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
  */
 
 OUTPUT_FORMAT("elf32-sh-linux", "elf32-sh-linux", "elf32-sh-linux")
@@ -25,7 +41,7 @@ SECTIONS
 
        .text :
        {
-               KEEP(arch/sh/cpu/sh4/start.o            (.text))
+               arch/sh/cpu/sh4/start.o         (.text)
                *(.spiboot1.text)
                *(.spiboot2.text)
                . = ALIGN(8192);
@@ -61,10 +77,13 @@ SECTIONS
        }
        PROVIDE (_egot = .);
 
-
-       .u_boot_list : {
-               KEEP(*(SORT(.u_boot_list*)));
+       PROVIDE (__u_boot_cmd_start = .);
+       .u_boot_cmd :
+       {
+               *(.u_boot_cmd)
+               . = ALIGN(4);
        }
+       PROVIDE (__u_boot_cmd_end = .);
 
        PROVIDE (reloc_dst_end = .);
        /* _reloc_dst_end = .; */
@@ -78,5 +97,5 @@ SECTIONS
        }
        PROVIDE (bss_end = .);
 
-       PROVIDE (__bss_end = .);
+       PROVIDE (__bss_end__ = .);
 }