X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Fdbau1x00%2Fu-boot.lds;h=1e1c5590d77a6fed6185fbe0cb514b24f0e6d3cf;hb=274cea2bddbca10cdad7daa518951b75c44ef6bc;hp=10c99179864c752ad1309610c23eaab28cc03620;hpb=807d5d7319330e336ab34a5623c5e0d73b87d540;p=oweals%2Fu-boot.git diff --git a/board/dbau1x00/u-boot.lds b/board/dbau1x00/u-boot.lds index 10c9917986..1e1c5590d7 100644 --- a/board/dbau1x00/u-boot.lds +++ b/board/dbau1x00/u-boot.lds @@ -43,27 +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 = .; }