From: Kaveh R. Ghazi Date: Sat, 13 Mar 2010 01:27:06 +0000 (+0000) Subject: sibcall-1.c: Allow PLT to appear with pic code. X-Git-Tag: releases/gcc-4.5.0~401 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3119bda384968337165635ea5d95847a92ca5ff0;p=thirdparty%2Fgcc.git sibcall-1.c: Allow PLT to appear with pic code. * gcc.target/arm/sibcall-1.c: Allow PLT to appear with pic code. From-SVN: r157415 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5db28bd9bcf7..de1873e92624 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2010-03-12 Kaveh R. Ghazi + + * gcc.target/arm/sibcall-1.c: Allow PLT to appear with pic code. + 2010-03-12 Paul Thomas PR fortran/43291 diff --git a/gcc/testsuite/gcc.target/arm/sibcall-1.c b/gcc/testsuite/gcc.target/arm/sibcall-1.c index 77c94fdd0f88..cf352c12c6f6 100644 --- a/gcc/testsuite/gcc.target/arm/sibcall-1.c +++ b/gcc/testsuite/gcc.target/arm/sibcall-1.c @@ -30,5 +30,6 @@ int main(int argc, const char *argv[]) return result; } -/* { dg-final { scan-assembler "\tb\tfunc2\n" } } */ +/* The PLT marker may appear if the test is run with -fpic/-fPIC. */ +/* { dg-final { scan-assembler "\tb\tfunc2(\\(PLT\\))?\n" } } */