X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=board%2Fhymod%2Fu-boot.lds;h=1309f209de546de73d85c6ef9b799d1b8cebdedf;hb=9e2b51763704e32bc2556c87bf31fbdca7a53347;hp=52d66a2df306dc56c05284ba5b965be178889bf4;hpb=cd77dd109c4a439519a78c32eddc42bdebc7a61f;p=platform%2Fkernel%2Fu-boot.git diff --git a/board/hymod/u-boot.lds b/board/hymod/u-boot.lds index 52d66a2..1309f20 100644 --- a/board/hymod/u-boot.lds +++ b/board/hymod/u-boot.lds @@ -55,13 +55,13 @@ SECTIONS /* WARNING - the following is hand-optimized to fit within */ /* the sector layout of our flash chips! XXX FIXME XXX */ - cpu/mpc8260/start.o (.text) + arch/powerpc/cpu/mpc8260/start.o (.text) /* common/dlmalloc.o (.text) - lib_ppc/ppcstring.o (.text) - lib_generic/vsprintf.o (.text) - lib_generic/crc32.o (.text) - lib_generic/zlib.o (.text) + arch/powerpc/lib/ppcstring.o (.text) + lib/vsprintf.o (.text) + lib/crc32.o (.text) + lib/zlib.o (.text) . = env_offset; */ @@ -87,13 +87,14 @@ SECTIONS PROVIDE (erotext = .); .reloc : { - *(.got) _GOT2_TABLE_ = .; - *(.got2) + KEEP(*(.got2)) + KEEP(*(.got)) + PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4); _FIXUP_TABLE_ = .; *(.fixup) } - __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >>2; + __got2_entries = ((_GLOBAL_OFFSET_TABLE_ - _GOT2_TABLE_) >> 2) - 1; __fixup_entries = (. - _FIXUP_TABLE_)>>2; .data : @@ -140,6 +141,6 @@ SECTIONS common/env_embedded.o (.ppcenv) } . = ALIGN(4); - _end = . ; + __bss_end__ = . ; PROVIDE (end = .); }