gas jmp problems
Mr Bro
br0user@yahoo.com
Sun Jul 1 12:26:00 GMT 2001
Hi all!
I skimmed through manuals and ChangeLogs and couldn't
find a reference to it, and decided to ask before
diving into the source. Any help is appreciated.
Using the following code: main(){__asm__("jmp 13");}
gas correctly produces near jmp opcode with binutils
shipped with Red Hat 6.1 (binutils-2.9.1.0.23-6), i.e.
it produces
\xeb\x0d
But with more recent binutils (like the one shipped
with Red Hat 6.2), it fails to do so and produces far
jmp opcode:
\xe9\x89\x7b\xfb\xf7
Could someone point out how to get gas to produce near
jmp opcode with the latest versions?
Thanks in advance,
regards.
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
More information about the Binutils
mailing list