diff options
author | Jack Howarth <howarth@bromo.med.uc.edu> | 2011-12-04 06:56:53 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2011-12-04 06:56:53 +0000 |
commit | 1b50e719165feefd6d405bebf963af0d2db4a53d (patch) | |
tree | e1cc0f56637fb677653ee418a6c4d0d2661fc53c /gcc | |
parent | 5a6bdb0d87ef2876ff38795dfcf9edd1c796af29 (diff) | |
download | gcc-1b50e719165feefd6d405bebf963af0d2db4a53d.zip gcc-1b50e719165feefd6d405bebf963af0d2db4a53d.tar.gz gcc-1b50e719165feefd6d405bebf963af0d2db4a53d.tar.bz2 |
darwin-segaddr.c: Use -no-pie.
2011-12-03 Jack Howarth <howarth@bromo.med.uc.edu>
* gcc.dg/darwin-segaddr.c: Use -no-pie.
From-SVN: r181981
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/darwin-segaddr.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 17e2179..e3fd037 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2011-12-03 Jack Howarth <howarth@bromo.med.uc.edu> + + * gcc.dg/darwin-segaddr.c: Use -no-pie. + 2011-12-03 Paolo Carlini <paolo.carlini@oracle.com> PR c++/51313 diff --git a/gcc/testsuite/gcc.dg/darwin-segaddr.c b/gcc/testsuite/gcc.dg/darwin-segaddr.c index 9345227..526db77 100644 --- a/gcc/testsuite/gcc.dg/darwin-segaddr.c +++ b/gcc/testsuite/gcc.dg/darwin-segaddr.c @@ -1,7 +1,7 @@ /* Check that -segaddr gets through and works. */ /* { dg-do run { target *-*-darwin* } } */ -/* { dg-options "-O0 -segaddr __TEST 0x200000" { target { *-*-darwin* && { ! lp64 } } } } */ -/* { dg-options "-O0 -segaddr __TEST 0x110000000" { target { *-*-darwin* && lp64 } } } */ +/* { dg-options "-O0 -segaddr __TEST 0x200000 -fno-pie" { target { *-*-darwin* && { ! lp64 } } } } */ +/* { dg-options "-O0 -segaddr __TEST 0x110000000 -fno-pie" { target { *-*-darwin* && lp64 } } } */ extern void abort (); |