Re: Boot failure with 32bit kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 22 Apr 2012 08:20:23 -0400
John David Anglin <dave.anglin@xxxxxxxx> wrote:
> 
> Could you try the attached patch?  It adjusts the section arrangement
> so that the long branch stubs don't appear at the start of .text.  As
> a result,
> _stext and stext now are at 10100000.

Works like a charm. I was able to boot all the kernels I had issue with.

Tested-by: Guy Martin <gmsoft@xxxxxxxxxxxx>

Thanks a lot !

  Guy

> 
> The problem arises from section merging and a few branch distances
> in the kernel exceeding the PA 2.0 limit.
> 
> The patch might not work if the long branch stubs don't work...
> 
> Another approach might be to add -mlong-calls to CFLAGS.  However,
> these calls are less efficient.
> 
> Dave
> --
> John David Anglin	dave.anglin@xxxxxxxx
> 
> 


--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux