X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fpb1x00%2Fu-boot.lds;h=1e1c5590d77a6fed6185fbe0cb514b24f0e6d3cf;hb=a292d2265ef0463be4e7c4827a8a0dec556f0a88;hp=a2d19a84c9eae9195799605bbd7b2f0338555b2f;hpb=038ccac511214b062c56f22b9413f784b86bcd87;p=u-boot diff --git a/board/pb1x00/u-boot.lds b/board/pb1x00/u-boot.lds index a2d19a84c9..1e1c5590d7 100644 --- a/board/pb1x00/u-boot.lds +++ b/board/pb1x00/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 = .; }