X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=arch%2Fnds32%2Fcpu%2Fn1213%2Fu-boot.lds;h=40db0e6e816746bfded3ab95e859722ffec0524c;hb=711391131c84398d1b8256ab5a8cfa2969ad57c7;hp=cef19c51ee5fa2d43837106d8f0908b25ed2f69a;hpb=8b493a52367623f36e628e4ab2cf8ee082b655e0;p=u-boot diff --git a/arch/nds32/cpu/n1213/u-boot.lds b/arch/nds32/cpu/n1213/u-boot.lds index cef19c51ee..40db0e6e81 100644 --- a/arch/nds32/cpu/n1213/u-boot.lds +++ b/arch/nds32/cpu/n1213/u-boot.lds @@ -6,23 +6,7 @@ * Shawn Lin, Andes Technology Corporation * Macpaul Lin, Andes Technology Corporation * - * 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-nds32", "elf32-nds32", "elf32-nds32") @@ -47,26 +31,29 @@ SECTIONS .got : { __got_start = .; - *(.got.plt) *(.got) + *(.got.plt) *(.got) __got_end = .; } - . = .; - . = ALIGN(4); .u_boot_list : { - #include + KEEP(*(SORT(.u_boot_list*))); } . = ALIGN(4); - + /DISCARD/ : { *(.rela.plt*) } + .rela.dyn : { + __rel_dyn_start = .; + *(.rela*) + __rel_dyn_end = .; + } _end = .; .bss : { __bss_start = .; *(.bss) - . = ALIGN(4); - __bss_end__ = .; + . = ALIGN(4); + __bss_end = .; } }