Commit 40ea67af by Eric Botcazou

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
parent ab940b73
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 * doc/contrib.texi (Contributors): Allow URL to wrap in PDF
output. output.
...@@ -107,7 +107,8 @@ along with GCC; see the file COPYING3. If not see ...@@ -107,7 +107,8 @@ along with GCC; see the file COPYING3. If not see
%{Ym,*} \ %{Ym,*} \
%{Wa,*:%*} \ %{Wa,*:%*} \
-s \ -s \
%{fpic|fPIC|fpie|fPIE|findirect-dispatch:-K PIC} \ %{fpic|fPIC|fpie|fPIE:-K PIC} \
%{!.c:%{findirect-dispatch:-K PIC}} \
%(asm_cpu) %(asm_relax)" %(asm_cpu) %(asm_relax)"
#undef ASM_OUTPUT_ALIGNED_LOCAL #undef ASM_OUTPUT_ALIGNED_LOCAL
......
...@@ -236,7 +236,8 @@ along with GCC; see the file COPYING3. If not see ...@@ -236,7 +236,8 @@ along with GCC; see the file COPYING3. If not see
%{Ym,*} \ %{Ym,*} \
%{Wa,*:%*} \ %{Wa,*:%*} \
-s \ -s \
%{fpic|fPIC|fpie|fPIE|findirect-dispatch:-K PIC} \ %{fpic|fPIC|fpie|fPIE:-K PIC} \
%{!.c:%{findirect-dispatch:-K PIC}} \
%{mlittle-endian:-EL} \ %{mlittle-endian:-EL} \
%(asm_cpu) %(asm_arch) %(asm_relax)" %(asm_cpu) %(asm_arch) %(asm_relax)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment