[OpenBIOS] [PATCH 2/4] ppc: add new context handler

Segher Boessenkool segher at kernel.crashing.org
Sun May 1 22:12:45 CEST 2016


On Sun, May 01, 2016 at 02:29:29PM -0400, Programmingkid wrote:
> > +    asm __volatile__ ("mflr %0\n\t" : "=r" (lr) : : );
> 
> This line breaks compatibility with gcc 4.2.3. A simple fix is this:

What is the actual error message?

Does this work with compilers less than eight years old?

The current GCC manual recommends this syntax.


Segher



More information about the OpenBIOS mailing list