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
-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.
%{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
%{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)"