[DNX#2006033142000392] [U-Boot-Users] [PATCH] mips lds alignment bug

DENX Support System support at denx.de
Fri Mar 31 23:50:15 CEST 2006


Hello list,

inside the automatic U-Boot patch tracking system a new ticket
[DNX#2006033142000392] was created:

<snip>
> The following patch corrects a problem in (at least) the
> dbau1x0/u-boot.lds
> 
> The bug only shows if the GOT requires alignment onto 16 byte boundary.
> In
> this case the _gp symbol is aligned, but the actual GOT section is not.
> 
> 
> *** u-boot_fix/board/dbau1x00/u-boot.lds        2005-09-23
> 13:38:13.126887305 -0400
> --- u-boot/board/dbau1x00/u-boot.lds    2005-09-23 13:38:32.392077670
> -0400
> ***************
> *** 46,53 ****
>         . = ALIGN(4);
>         .sdata  : { *(.sdata) }
>   
> !       . = ALIGN(16);
> !       _gp = .;
>   
>         __got_start = .;
>         .got  : { *(.got) }
> --- 46,52 ----
>         . = ALIGN(4);
>         .sdata  : { *(.sdata) }
>   
> !       _gp = ALIGN(16);
>   
>         __got_start = .;
>         .got  : { *(.got) }
> 
> 
> Geoff
> 
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server.
> Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
</snip>

Your U-Boot support team




More information about the U-Boot mailing list