[PATCH] ARM: TCM memory bug on newer compilers

Linus WALLEIJ linus.walleij at stericsson.com
Wed May 26 02:23:16 EDT 2010


[Russell]

> On Tue, May 25, 2010 at 06:45:47PM +0200, Linus Walleij wrote:
> > Apparently newer compilers don't like you to refer to linker
> > symbols as extern char *foo, we must use char foo and refer to
> > the address of the char instead.
> 
> afaik, that's always been the case.

Thanks a lot of the education session Russell, I get it now.
What I don't get is how this code worked on earlier GCC:s :-P

Anyway, I'll put the patch in the tracker with a new patch
description that is more enlightened.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list