public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug target/27387] New: Thumb thunk is not PIC @ 2006-05-02 14:09 kazu at gcc dot gnu dot org 2006-05-02 15:05 ` [Bug target/27387] " kazu at gcc dot gnu dot org ` (6 more replies) 0 siblings, 7 replies; 8+ messages in thread From: kazu at gcc dot gnu dot org @ 2006-05-02 14:09 UTC (permalink / raw) To: gcc-bugs The thunk for Thumb is not PIC even with -mthumb -fPIC. struct A { virtual void f (); }; struct B { virtual void g (); }; struct C : public A, public B { virtual void g(); }; void C::g() { } I've got a patch. -- Summary: Thumb thunk is not PIC Product: gcc Version: unknown Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: target AssignedTo: kazu at gcc dot gnu dot org ReportedBy: kazu at gcc dot gnu dot org GCC target triplet: arm-none-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27387 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/27387] Thumb thunk is not PIC 2006-05-02 14:09 [Bug target/27387] New: Thumb thunk is not PIC kazu at gcc dot gnu dot org @ 2006-05-02 15:05 ` kazu at gcc dot gnu dot org 2006-05-02 15:06 ` kazu at gcc dot gnu dot org ` (5 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: kazu at gcc dot gnu dot org @ 2006-05-02 15:05 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from kazu at gcc dot gnu dot org 2006-05-02 15:04 ------- Subject: Bug 27387 Author: kazu Date: Tue May 2 15:04:52 2006 New Revision: 113467 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113467 Log: gcc/ PR target/27387 * arm.c (arm_output_mi_thunk): Use pc-relative addressing when -mthumb -fPIC are used. testsuite/ PR target/27387 * gcc.target/arm/arm.exp: New. * gcc.target/arm/pr27387.C: Likewise. Added: trunk/gcc/testsuite/gcc.target/arm/ trunk/gcc/testsuite/gcc.target/arm/arm.exp trunk/gcc/testsuite/gcc.target/arm/pr90000.C Modified: trunk/gcc/ChangeLog trunk/gcc/config/arm/arm.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27387 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/27387] Thumb thunk is not PIC 2006-05-02 14:09 [Bug target/27387] New: Thumb thunk is not PIC kazu at gcc dot gnu dot org 2006-05-02 15:05 ` [Bug target/27387] " kazu at gcc dot gnu dot org @ 2006-05-02 15:06 ` kazu at gcc dot gnu dot org 2006-05-02 15:13 ` kazu at gcc dot gnu dot org ` (4 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: kazu at gcc dot gnu dot org @ 2006-05-02 15:06 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from kazu at gcc dot gnu dot org 2006-05-02 15:06 ------- Subject: Bug 27387 Author: kazu Date: Tue May 2 15:06:35 2006 New Revision: 113468 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113468 Log: gcc/ PR target/27387 * arm.c (arm_output_mi_thunk): Use pc-relative addressing when -mthumb -fPIC are used. testsuite/ PR target/27387 * gcc.target/arm/arm.exp: New. * gcc.target/arm/pr27387.C: Likewise. Added: trunk/gcc/testsuite/gcc.target/arm/pr27387.C - copied unchanged from r113467, trunk/gcc/testsuite/gcc.target/arm/pr90000.C Removed: trunk/gcc/testsuite/gcc.target/arm/pr90000.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27387 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/27387] Thumb thunk is not PIC 2006-05-02 14:09 [Bug target/27387] New: Thumb thunk is not PIC kazu at gcc dot gnu dot org 2006-05-02 15:05 ` [Bug target/27387] " kazu at gcc dot gnu dot org 2006-05-02 15:06 ` kazu at gcc dot gnu dot org @ 2006-05-02 15:13 ` kazu at gcc dot gnu dot org 2006-05-02 15:17 ` kazu at gcc dot gnu dot org ` (3 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: kazu at gcc dot gnu dot org @ 2006-05-02 15:13 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from kazu at gcc dot gnu dot org 2006-05-02 15:13 ------- Subject: Bug 27387 Author: kazu Date: Tue May 2 15:13:02 2006 New Revision: 113470 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113470 Log: gcc/ PR target/27387 * arm.c (arm_output_mi_thunk): Use pc-relative addressing when -mthumb -fPIC are used. testsuite/ PR target/27387 * gcc.target/arm/arm.exp: New. * gcc.target/arm/pr27387.C: Likewise. Added: branches/gcc-4_1-branch/gcc/testsuite/gcc.target/arm/ branches/gcc-4_1-branch/gcc/testsuite/gcc.target/arm/arm.exp branches/gcc-4_1-branch/gcc/testsuite/gcc.target/arm/pr27387.C Modified: branches/gcc-4_1-branch/gcc/ChangeLog branches/gcc-4_1-branch/gcc/config/arm/arm.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27387 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/27387] Thumb thunk is not PIC 2006-05-02 14:09 [Bug target/27387] New: Thumb thunk is not PIC kazu at gcc dot gnu dot org ` (2 preceding siblings ...) 2006-05-02 15:13 ` kazu at gcc dot gnu dot org @ 2006-05-02 15:17 ` kazu at gcc dot gnu dot org 2006-05-02 15:26 ` kazu at gcc dot gnu dot org ` (2 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: kazu at gcc dot gnu dot org @ 2006-05-02 15:17 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from kazu at gcc dot gnu dot org 2006-05-02 15:17 ------- Subject: Bug 27387 Author: kazu Date: Tue May 2 15:17:25 2006 New Revision: 113471 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113471 Log: Backport: 2006-05-02 Kazu Hirata <kazu@codesourcery.com> PR target/27387 * arm.c (arm_output_mi_thunk): Use pc-relative addressing when -mthumb -fPIC are used. 2006-05-02 Kazu Hirata <kazu@codesourcery.com> PR target/27387 * gcc.target/arm/arm.exp: New. * gcc.target/arm/pr27387.C: Likewise. Added: branches/csl/sourcerygxx-4_1/gcc/testsuite/gcc.target/arm/ branches/csl/sourcerygxx-4_1/gcc/testsuite/gcc.target/arm/arm.exp branches/csl/sourcerygxx-4_1/gcc/testsuite/gcc.target/arm/pr27387.C Modified: branches/csl/sourcerygxx-4_1/ChangeLog.csl branches/csl/sourcerygxx-4_1/gcc/config/arm/arm.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27387 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/27387] Thumb thunk is not PIC 2006-05-02 14:09 [Bug target/27387] New: Thumb thunk is not PIC kazu at gcc dot gnu dot org ` (3 preceding siblings ...) 2006-05-02 15:17 ` kazu at gcc dot gnu dot org @ 2006-05-02 15:26 ` kazu at gcc dot gnu dot org 2007-05-30 5:04 ` pinskia at gcc dot gnu dot org 2007-05-30 15:02 ` kazu at gcc dot gnu dot org 6 siblings, 0 replies; 8+ messages in thread From: kazu at gcc dot gnu dot org @ 2006-05-02 15:26 UTC (permalink / raw) To: gcc-bugs ------- Comment #5 from kazu at gcc dot gnu dot org 2006-05-02 15:26 ------- Just checked in a patch. -- kazu at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED Target Milestone|--- |4.1.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27387 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/27387] Thumb thunk is not PIC 2006-05-02 14:09 [Bug target/27387] New: Thumb thunk is not PIC kazu at gcc dot gnu dot org ` (4 preceding siblings ...) 2006-05-02 15:26 ` kazu at gcc dot gnu dot org @ 2007-05-30 5:04 ` pinskia at gcc dot gnu dot org 2007-05-30 15:02 ` kazu at gcc dot gnu dot org 6 siblings, 0 replies; 8+ messages in thread From: pinskia at gcc dot gnu dot org @ 2007-05-30 5:04 UTC (permalink / raw) To: gcc-bugs ------- Comment #6 from pinskia at gcc dot gnu dot org 2007-05-30 05:03 ------- (In reply to comment #5) > Just checked in a patch. This testcase does not work as you put it into the C testsuite. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27387 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/27387] Thumb thunk is not PIC 2006-05-02 14:09 [Bug target/27387] New: Thumb thunk is not PIC kazu at gcc dot gnu dot org ` (5 preceding siblings ...) 2007-05-30 5:04 ` pinskia at gcc dot gnu dot org @ 2007-05-30 15:02 ` kazu at gcc dot gnu dot org 6 siblings, 0 replies; 8+ messages in thread From: kazu at gcc dot gnu dot org @ 2007-05-30 15:02 UTC (permalink / raw) To: gcc-bugs ------- Comment #7 from kazu at gcc dot gnu dot org 2007-05-30 15:02 ------- Doh, I'll post a patch to move the testcase to an appropriate directory. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27387 ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2007-05-30 15:02 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2006-05-02 14:09 [Bug target/27387] New: Thumb thunk is not PIC kazu at gcc dot gnu dot org 2006-05-02 15:05 ` [Bug target/27387] " kazu at gcc dot gnu dot org 2006-05-02 15:06 ` kazu at gcc dot gnu dot org 2006-05-02 15:13 ` kazu at gcc dot gnu dot org 2006-05-02 15:17 ` kazu at gcc dot gnu dot org 2006-05-02 15:26 ` kazu at gcc dot gnu dot org 2007-05-30 5:04 ` pinskia at gcc dot gnu dot org 2007-05-30 15:02 ` kazu at gcc dot gnu dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).