Check in gcc/testsuite/gcc.target/powerpc/ssp-[12].c (I forgot "svn add"
once again). From-SVN: r244562
This commit is contained in:
parent
ac4dc08d72
commit
4cc0208ac8
6
gcc/testsuite/gcc.target/powerpc/ssp-1.c
Normal file
6
gcc/testsuite/gcc.target/powerpc/ssp-1.c
Normal file
@ -0,0 +1,6 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -fstack-protector-all -mstack-protector-guard=global" } */
|
||||
|
||||
/* { dg-final { scan-assembler "__stack_chk_guard" } } */
|
||||
|
||||
void f(void) { }
|
6
gcc/testsuite/gcc.target/powerpc/ssp-2.c
Normal file
6
gcc/testsuite/gcc.target/powerpc/ssp-2.c
Normal file
@ -0,0 +1,6 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -fstack-protector-all -mstack-protector-guard=tls -mstack-protector-guard-reg=r18 -mstack-protector-guard-offset=0x3038" } */
|
||||
|
||||
/* { dg-final { scan-assembler {\m12344\(r?18\)} } } */
|
||||
|
||||
void f(void) { }
|
Loading…
Reference in New Issue
Block a user