X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=board%2Fquantum%2Fu-boot.lds;h=3334a44f618abbd4339ba541da2d3951547f5d9d;hb=0ce033d2582129243aca10d3072a221386bbba44;hp=fbd901a3c309020d3432a1c19e8fda6d3cb96b67;hpb=ac8983bcba75576c50307b5e8dc8fb848740ee61;p=platform%2Fkernel%2Fu-boot.git diff --git a/board/quantum/u-boot.lds b/board/quantum/u-boot.lds index fbd901a..3334a44 100644 --- a/board/quantum/u-boot.lds +++ b/board/quantum/u-boot.lds @@ -47,13 +47,14 @@ SECTIONS PROVIDE (erotext = .); .reloc : { - KEEP(*(.got)) _GOT2_TABLE_ = .; KEEP(*(.got2)) + KEEP(*(.got)) + PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4); _FIXUP_TABLE_ = .; KEEP(*(.fixup)) } - __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >>2; + __got2_entries = ((_GLOBAL_OFFSET_TABLE_ - _GOT2_TABLE_) >> 2) - 1; __fixup_entries = (. - _FIXUP_TABLE_)>>2; .data : @@ -65,9 +66,11 @@ SECTIONS PROVIDE (edata = .); . = .; - __u_boot_cmd_start = .; - .u_boot_cmd : { *(.u_boot_cmd) } - __u_boot_cmd_end = .; + + . = ALIGN(4); + .u_boot_list : { + KEEP(*(SORT(.u_boot_list*))); + } . = .; @@ -90,6 +93,6 @@ SECTIONS *(COMMON) . = ALIGN(4); } - _end = . ; + __bss_end = . ; PROVIDE (end = .); }