This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH 1/5] Use -fPIC instead of -fpic when generating PIC code.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 05 Oct 2015 23:25:35 +0200
- Subject: Re: [PATCH 1/5] Use -fPIC instead of -fpic when generating PIC code.
On Mon, Oct 05, 2015 at 05:36:30PM +0200, Jose E. Marchesi wrote:
> This avoids relocation overflows in sparc/sparc64 targets while
> linking, where the reachable data using -fpic is only 4kb.
I think this is OK. -fpic/-fPIC only changes things on m68k, PowerPC
and SPARC. So the only other arch we currently support that this
might impact is powerpc. Is there any disadvantage on that platform
of using -fPIC instead of -fpic?
Thanks,
Mark