This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] S390: Use fPIC to avoid R_390_GOT12 relocation in gcrt1.o with march=z900.
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Stefan Liebler <stli at linux dot vnet dot ibm dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 27 Apr 2016 12:01:36 +0200
- Subject: Re: [PATCH] S390: Use fPIC to avoid R_390_GOT12 relocation in gcrt1.o with march=z900.
- Authentication-results: sourceware.org; auth=none
- References: <nfpvdt$r7e$1 at ger dot gmane dot org>
Stefan Liebler <stli@linux.vnet.ibm.com> writes:
> According to the s390-Makefiles, -fpic is used. This patch removes the
> overrides of pic-ccflag and the default pic-ccflag = -fPIC in Makeconfig
> is used instead to get the R_390_GOTENT relocations in gcrt1.o.
Alternatively, you could override -fpic only for gmon-start.os, to keep
a possible performance advantage for the rest.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."