[U-Boot] uboot.lds issue
    Wolfgang Denk 
    wd at denx.de
       
    Thu Mar 24 09:23:54 CET 2011
    
    
  
Dear "Chander M. Kashyap",
please submit patches ONLY inline, not as attachments!
In message <AANLkTinEzYUhEs+vOU6e1qX6VZR=LMFGu4t+hjEJTA=z at mail.gmail.com> you wrote:
>
> Hi. I am getting data abort while using original u-boot.lds file.
> If i allign bss to 4 bytes rather than using " .bss __rel_dyn_start
> (OVERLAY) : {".
> With existing code i am getting odd address leading to data abort.
> PFA the patch.
> 
> Is this a right approach to fix the data abort?
No, this is not correct.  You should keep the OVERLAY part.
> @@ -66,7 +66,8 @@ SECTIONS
>                 *(.dynsym)
>         }
> 
> -       .bss __rel_dyn_start (OVERLAY) : {
> +       . = ALIGN(4);
> +       .bss : {
Try instead:
	. = ALIGN(4);
	.bss __rel_dyn_start (OVERLAY) : {
Best regards,
Wolfgang Denk
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
How come everyone's going so slow if it's called rush hour?
    
    
More information about the U-Boot
mailing list