X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Ftb0229%2Fu-boot.lds;h=b18e6a6fc521da0012a2c2eef8118b0ebfd97b23;hb=0db37dc2eed30884db2daa24dbd9a113b5d00610;hp=a6429b6d83822979ae90bc0728139a91581c4408;hpb=f4863a7aec41f1f78fe93eade700b15b287a5ef7;p=oweals%2Fu-boot.git diff --git a/board/tb0229/u-boot.lds b/board/tb0229/u-boot.lds index a6429b6d83..b18e6a6fc5 100644 --- a/board/tb0229/u-boot.lds +++ b/board/tb0229/u-boot.lds @@ -43,26 +43,28 @@ SECTIONS . = ALIGN(4); .data : { *(.data) } - . = ALIGN(4); - .sdata : { *(.sdata) } - - _gp = ALIGN(16); + . = .; + _gp = ALIGN(16) + 0x7ff0; - __got_start = .; - .got : { *(.got) } - __got_end = .; + .got : { + __got_start = .; + *(.got) + __got_end = .; + } .sdata : { *(.sdata) } - __u_boot_cmd_start = .; - .u_boot_cmd : { *(.u_boot_cmd) } - __u_boot_cmd_end = .; + .u_boot_cmd : { + __u_boot_cmd_start = .; + *(.u_boot_cmd) + __u_boot_cmd_end = .; + } uboot_end_data = .; num_got_entries = (__got_end - __got_start) >> 2; . = ALIGN(4); - .sbss : { *(.sbss) } - .bss : { *(.bss) } + .sbss (NOLOAD) : { *(.sbss) } + .bss (NOLOAD) : { *(.bss) } uboot_end = .; }