Warning: indirect jmp without `*'

Ian Lance Taylor iant@google.com
Thu Apr 30 04:49:00 GMT 2009


Alan Grover <alan.grover@gmail.com> writes:

> I'm getting a
>
> Warning: indirect jmp without `*'
>
> when I use
>
> jmp -12(%ebp)
>
> What do I need to do to make as happy?

jmp *-12(%ebp)

The rationale is that you aren't going to jump to the address %ebp-12.
You're going to load the value at -12(%ebp), and jump to that.

Ian



More information about the Binutils mailing list