This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/17557] New: wrong opcode for short jmp
- From: "moo23965392 at yahoo dot com dot tw" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Sep 2004 06:26:53 -0000
- Subject: [Bug c/17557] New: wrong opcode for short jmp
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
when I use JMP to jump within 8 bytes (short jump?)e.g.
JMP offset_with_in_8
the gcc will translate the JMP opcode into 0xe9(long jmp) instead of 0xeb(short
jmp), and this causes the offset to expand to 4 bytes long on my machine.
I'm running Linux 2.6.8 on PentiumIII-M
thank you
--
Summary: wrong opcode for short jmp
Product: gcc
Version: 3.3.4
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: moo23965392 at yahoo dot com dot tw
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17557