Re: -fpic no optimization...

2006-01-02 Thread Mike Stump
On Jan 1, 2006, at 9:26 AM, Frediano Ziglio wrote: I noted that when PIC is enabled (-fpic, Linux Intel) ebx is reserved to global pointer. However LzmaDecode do not access any global data and do not call other functions (no relocations at all) so why not use ebx register? This is a known

Re: -fpic no optimization...

2006-01-02 Thread Frediano Ziglio
> I was compiling LZMA SDK (http://www.7-zip.org/, LzmaDecode.c) and just > for curiosity I looked at output assembler. I noted that when PIC is > enabled (-fpic, Linux Intel) ebx is reserved to global pointer. However > LzmaDecode do not access any global data and do not call other functions > (no

-fpic no optimization...

2006-01-01 Thread Frediano Ziglio
Happy 2006! I was compiling LZMA SDK (http://www.7-zip.org/, LzmaDecode.c) and just for curiosity I looked at output assembler. I noted that when PIC is enabled (-fpic, Linux Intel) ebx is reserved to global pointer. However LzmaDecode do not access any global data and do not call other functions