------- Comment #2 from hjl dot tools at gmail dot com 2009-01-29 00:47 ------- [...@gnu-6 gcc]$ cat /tmp/i.i inline void foo ();
void bar () { foo (); } [...@gnu-6 gcc]$ ./xgcc -B./ -S /tmp/i.i -m32 -fPIC [...@gnu-6 gcc]$ cat i.s .file "i.i" .text .globl bar .type bar, @function bar: pushl %ebp movl %esp, %ebp pushl %ebx subl $4, %esp call __i686.get_pc_thunk.bx addl $_GLOBAL_OFFSET_TABLE_, %ebx call f...@plt addl $4, %esp popl %ebx popl %ebp ret .size bar, .-bar -- hjl dot tools at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ubizjak at gmail dot com URL|http://bugs.gentoo.org/show_| |bug.cgi?id=254355 | Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 GCC build triplet|x86_64 | GCC host triplet|x86_64 | GCC target triplet|x86_86 |x86_64-linux-gnu Last reconfirmed|0000-00-00 00:00:00 |2009-01-29 00:47:37 date| | Summary|Compiler miss to add @PLT to|[4.3/4.4 regression] @PLT is |symbols when object is |missing on failed inline |compile with -fPIE -pie |function when -fpie is used Target Milestone|--- |4.3.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39013