http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30506
Pawel Sikora changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
--- Comment #6 from jakub at gcc dot gnu dot org 2010-03-11 12:34 ---
That's not a bug. Unlike x86-64, on i?86 when calling (or jumping to) a PLT
slot in position independent code %ebx must be set to the calling function's
PIC pointer. As %ebx is call saved register, this precludes sib
--- Comment #5 from pluto at agmk dot net 2010-03-11 09:40 ---
recent 4.5.0 sibcalls this on x86-64 only:
/opt/gcc45/bin/g++45 t.cpp -O2 -S -m64 -fpie -o t64.s
_Z1gc:
.cfi_startproc
subq$131080, %rsp
.cfi_def_cfa_offset 131088
movl$131072, %edx
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-01-21 21:10 ---
I was wrong about this being tail called on PPC, though it should.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--