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=b88d7426bdea2cef5ea78feced63169db6533b97;hpb=aaf5e825606a70ddc8fca8e366d8c16a6fd3cc7c;p=u-boot diff --git a/arch/nds32/cpu/n1213/u-boot.lds b/arch/nds32/cpu/n1213/u-boot.lds index b88d7426bd..40db0e6e81 100644 --- a/arch/nds32/cpu/n1213/u-boot.lds +++ b/arch/nds32/cpu/n1213/u-boot.lds @@ -31,25 +31,28 @@ SECTIONS .got : { __got_start = .; - *(.got.plt) *(.got) + *(.got.plt) *(.got) __got_end = .; } - . = .; - . = ALIGN(4); .u_boot_list : { 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); + . = ALIGN(4); __bss_end = .; }