This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/39013] [4.3/4.4 Regression] Missing @PLT when -fpie is used
- From: "rguenth 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 Jan 2009 15:20:20 -0000
- Subject: [Bug target/39013] [4.3/4.4 Regression] Missing @PLT when -fpie is used
- References: <bug-39013-17238@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #12 from rguenth at gcc dot gnu dot org 2009-01-29 15:20 -------
My testcase is
> cat t2.c
void foo() {}
> cat t.c
inline void foo ();
int main ()
{
foo ();
return 0;
}
which works perfectly fine even with 4.3 and 4.4 if I build both t2.c and t.c
with -fpie and fails with all compilers supporting -fpie if I only build
t.c with -fpie but t2.c not.
They bind locally with 4.3 and 4.4 though.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|accepts-invalid |
Known to fail|3.4.6 |4.3.3 4.4.0
Known to work| |4.2.4
Summary|Missing @PLT when -fpie is |[4.3/4.4 Regression] Missing
|used |@PLT when -fpie is used
Target Milestone|--- |4.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39013