Commit 242ba308 by Kaveh R. Ghazi Committed by Kaveh Ghazi

ppc-sdata-1.c: Require nonpic.

	* gcc.target/powerpc/ppc-sdata-1.c: Require nonpic.
	* gcc.target/powerpc/ppc-sdata-2.c: Likewise.

From-SVN: r157603
parent b4c3699e
2010-03-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.target/powerpc/ppc-sdata-1.c: Require nonpic.
* gcc.target/powerpc/ppc-sdata-2.c: Likewise.
2010-03-20 Simon Martin <simartin@users.sourceforge.net>
Michael Matz <matz@suse.de>
......
/* { dg-do compile { target { { powerpc*-*-linux* && ilp32 } || { powerpc-*-eabi* } } } } */
/* { dg-options "-O2 -fno-common -G 8 -meabi -msdata=eabi" } */
/* { dg-require-effective-target nonpic } */
/* { dg-final { scan-assembler "\\.section\[ \t\]\\.sdata," } } */
/* { dg-final { scan-assembler "\\.section\[ \t\]\\.sdata2," } } */
/* { dg-final { scan-assembler "sdat@sda21\\((13|0)\\)" } } */
......
/* { dg-do compile { target { { powerpc*-*-linux* && ilp32 } || { powerpc-*-eabi* } } } } */
/* { dg-options "-O2 -fno-common -G 8 -msdata=sysv" } */
/* { dg-require-effective-target nonpic } */
/* { dg-final { scan-assembler "\\.section\[ \t\]\\.sdata," } } */
/* { dg-final { scan-assembler-not "\\.section\[ \t\]\\.sdata2," } } */
/* { dg-final { scan-assembler "sdat@sdarel\\(13\\)" } } */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment