re PR java/44095 (massive java failures due to -findirect-dispatch breakage on sparc64-linux)

PR java/44095
	* config/sparc/linux.h (ASM_SPEC): Pass -K PIC if -findirect-dispatch
	is specified and the suffix of the file isn't ".c".
	* config/sparc/linux64.h (ASM_SPEC): Likewise.

From-SVN: r164534
This commit is contained in:
Eric Botcazou 2010-09-22 21:14:50 +00:00
parent ab940b73bf
commit 40ea67af0a
3 changed files with 12 additions and 3 deletions

View File

@ -1,4 +1,11 @@
2010-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2010-09-22 Eric Botcazou <ebotcazou@adacore.com>
PR java/44095
* config/sparc/linux.h (ASM_SPEC): Pass -K PIC if -findirect-dispatch
is specified and the suffix of the file isn't ".c".
* config/sparc/linux64.h (ASM_SPEC): Likewise.
2010-09-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/contrib.texi (Contributors): Allow URL to wrap in PDF
output.

View File

@ -107,7 +107,8 @@ along with GCC; see the file COPYING3. If not see
%{Ym,*} \
%{Wa,*:%*} \
-s \
%{fpic|fPIC|fpie|fPIE|findirect-dispatch:-K PIC} \
%{fpic|fPIC|fpie|fPIE:-K PIC} \
%{!.c:%{findirect-dispatch:-K PIC}} \
%(asm_cpu) %(asm_relax)"
#undef ASM_OUTPUT_ALIGNED_LOCAL

View File

@ -236,7 +236,8 @@ along with GCC; see the file COPYING3. If not see
%{Ym,*} \
%{Wa,*:%*} \
-s \
%{fpic|fPIC|fpie|fPIE|findirect-dispatch:-K PIC} \
%{fpic|fPIC|fpie|fPIE:-K PIC} \
%{!.c:%{findirect-dispatch:-K PIC}} \
%{mlittle-endian:-EL} \
%(asm_cpu) %(asm_arch) %(asm_relax)"