This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: testsuite fixes for loadpre5.c/loadpre8.c with -fpic/-fPIC
On Jan 11, 2008 4:41 AM, Daniel Berlin <dberlin@dberlin.org> wrote:
> At least on mine (i686-darwin), they work fine with -fPIC/-fpic.
>
Well darwin has different rules than elf when it comes to -fPIC/-fpic.
In darwin, extern functions still bind locally so they can be inlined
and the like. On elf targets they don't bind locally.
-- Pinski