Re: Question about gcc options '-mapcs-stack-check' and '-mapcs-frame'

2018-09-03 Thread Richard Earnshaw (lists)
On 24/08/18 14:51, Akhilesh chirlancha wrote: > Hello All, > > I'm using gcc 5.4.0 for armhf target. > > I was compiling simple stack over flow test code with '-mapcs-stack-check' > option. > # gcc -mapcs-stack-check test.c > test.c:1:0: warning: -mapcs-stack-check incompatible with -mno-apcs-fra

Question about gcc options '-mapcs-stack-check' and '-mapcs-frame'

2018-08-24 Thread Akhilesh chirlancha
Hello All, I'm using gcc 5.4.0 for armhf target. I was compiling simple stack over flow test code with '-mapcs-stack-check' option. # gcc -mapcs-stack-check test.c test.c:1:0: warning: -mapcs-stack-check incompatible with -mno-apcs-frame #include ^ As per my understanding from the above warnin