From: Kaveh R. Ghazi Date: Sat, 13 Mar 2010 02:16:31 +0000 (+0000) Subject: sibcall-1.c: Allow PLT to appear with pic code. X-Git-Tag: releases/gcc-4.3.5~142 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f23be096955014106eedd42ab98a80c30f66a6b6;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: r157418 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 526fa0994b3f..ef1698330bcb 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-10 Kaveh R. Ghazi Backport: 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" } } */