This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/14346] [3.3 only] With -fpic/-fPIC, thunks jump through PLT, not directly to thunked function
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Feb 2004 21:46:31 -0000
- Subject: [Bug target/14346] [3.3 only] With -fpic/-fPIC, thunks jump through PLT, not directly to thunked function
- References: <20040229161232.14346.hp@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-29 21:46 -------
Subject: Bug 14346
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: hp@gcc.gnu.org 2004-02-29 21:46:29
Modified files:
gcc : ChangeLog
gcc/config/cris: cris.c
Log message:
PR target/14346
* config/cris/cris.c (cris_asm_output_mi_thunk): For PIC, prepend
TAB to jumping "add.d" insn. Avoid PLT indirection by equating a
local symbol and jumping through it.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.913&r2=1.16114.2.914
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/cris/cris.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.32.4.2&r2=1.32.4.3
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14346