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
> 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
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