This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
gas jmp problems
- To: binutils at sourceware dot cygnus dot com
- Subject: gas jmp problems
- From: Mr Bro <br0user at yahoo dot com>
- Date: Sun, 1 Jul 2001 12:26:52 -0700 (PDT)
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/