aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sparc/linux64.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2009-12-07 23:31:01 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2009-12-07 23:31:01 +0000
commit1141be7e561b8a157cf4c72e84a675329e29174f (patch)
tree05942c1da91cfb7f1869f25828783697a40b3f11 /gcc/config/sparc/linux64.h
parent74e12783a3dbd31f56a44678ad9af5a14f0bbf1a (diff)
downloadgcc-1141be7e561b8a157cf4c72e84a675329e29174f.zip
gcc-1141be7e561b8a157cf4c72e84a675329e29174f.tar.gz
gcc-1141be7e561b8a157cf4c72e84a675329e29174f.tar.bz2
linux.h (ASM_SPEC): Pass -K PIC if -findirect-dispatch.
* config/sparc/linux.h (ASM_SPEC): Pass -K PIC if -findirect-dispatch. * config/sparc/linux64.h (ASM_SPEC): Likewise. From-SVN: r155065
Diffstat (limited to 'gcc/config/sparc/linux64.h')
-rw-r--r--gcc/config/sparc/linux64.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h
index 9d0799f..c2e78d7 100644
--- a/gcc/config/sparc/linux64.h
+++ b/gcc/config/sparc/linux64.h
@@ -235,7 +235,8 @@ along with GCC; see the file COPYING3. If not see
%{T} \
%{Ym,*} \
%{Wa,*:%*} \
--s %{fpic|fPIC|fpie|fPIE:-K PIC} \
+-s \
+%{fpic|fPIC|fpie|fPIE|findirect-dispatch:-K PIC} \
%{mlittle-endian:-EL} \
%(asm_cpu) %(asm_arch) %(asm_relax)"