Re: ARM linker script

2010-10-13 Thread Tobias Ulmer
On Wed, Oct 13, 2010 at 08:29:35PM -0500, Dale Rahn wrote: > On Thu, Oct 14, 2010 at 01:50:36AM +0200, Tobias Ulmer wrote: > > I'm currently loading the kernel at a fixed start address using u-boot. > > There's no relocation going on. > > Accessing anything in the data segment leads to crashes due

Re: ARM linker script

2010-10-13 Thread Dale Rahn
On Thu, Oct 14, 2010 at 01:50:36AM +0200, Tobias Ulmer wrote: > I'm currently loading the kernel at a fixed start address using u-boot. > There's no relocation going on. > Accessing anything in the data segment leads to crashes due to file- and > address offsets desyncing. > > The patch below fixe

ARM linker script

2010-10-13 Thread Tobias Ulmer
I'm currently loading the kernel at a fixed start address using u-boot. There's no relocation going on. Accessing anything in the data segment leads to crashes due to file- and address offsets desyncing. The patch below fixes this issue and, as a bonus, syncs the code with the comment. Possibly af