This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Odd gcc-6.3.0 code generation on mips64 platform causing kernel Oops


On 23/01/17 15:26, Joshua Kinard wrote:
> I am not sure what this lone store-doubleword instruction is exactly doing, nor
> can I locate where in the gcc MIPS code it is being generated from. 

It's a stack probe, making sure that there is enough stack space.  Its
only purpose is to provide a SEGV if there is not enough kernel stack.

Look for`-fstack-check' as a GCC argument.


Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]