This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch,testsuite] Fix testcases that use bind_pic_locally
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Vidya Praveen <vidyapraveen at arm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, jakub at redhat dot com, janisjo at codesourcery dot com, mikestump at comcast dot net
- Date: Tue, 17 Dec 2013 17:29:34 +0100
- Subject: Re: [Patch,testsuite] Fix testcases that use bind_pic_locally
- Authentication-results: sourceware.org; auth=none
- References: <20131217140612 dot GA11832 at e103625-lin dot cambridge dot arm dot com>
Hi Vidya,
> bind_pic_locally is broken for targets that doesn't pass -fPIC/-fpic by
> default [1][2].
>
> One of the suggestions was to have a effective target check called
> bind_pic_locally_ok which checks if bind_pic_locally will work and have it
> included in all the tests that uses bind_pic_locally in dg-add-options [1].
if this patch is to go in, it needs documentation for the new keyword in
gcc/doc/sourcebuild.texi.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University