Merge branch 'master' of git://git.denx.de/u-boot-net
[oweals/u-boot.git] / arch / sandbox / cpu / u-boot.lds
index 99601387cbec979f81820dfd44731beb82e98b97..7e92b4ac66c811866148540b6c424026ef7abbbc 100644 (file)
@@ -3,30 +3,16 @@
  * Use of this source code is governed by a BSD-style license that can be
  * found in the LICENSE file.
  *
- * 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+
  */
 
 SECTIONS
 {
-       __u_boot_cmd_start = .;
-       _u_boot_cmd : { *(.u_boot_cmd) }
-       __u_boot_cmd_end = .;
+
+       . = ALIGN(4);
+       .u_boot_list : {
+               KEEP(*(SORT(.u_boot_list*)));
+       }
 
        __u_boot_sandbox_option_start = .;
        _u_boot_sandbox_getopt : { *(.u_boot_sandbox_getopt) }