Hi folks!

Am having some problems generating 32bit flat binary using GNU tools. I 
assemble the code using 'as' ... the code is just fine ... i.e. 32 bit ... 
but when I change the format from 'elf32-i386' to 'binary' using 'objcopy' 
... the code that I get is 16 bit and not 32 bit. Using operand overrides 
solves the problem to some extent .... but not fully ... ( talk abt inserting 
override bytes after each instruction in long programs ! )

I dont want to use NASM as it'll be difficult to integrate the code with GCC 
later on .... 

Anybody have a solution ?

Thanks in advance ....

Regards,
Gags.
-- 
Ken Rules, Unix Liberates, Linux Unites.

          ================================================
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject 
header. Check archives at http://www.mail-archive.com/ilugd%40wpaa.org

Reply via email to