Commit b1194618 by Tom Tromey Committed by Tom Tromey

* verify.cc (skip_padding): Fail if padding byte is nonzero.

From-SVN: r46830
parent 64ef1ee2
2001-11-07 Tom Tromey <tromey@redhat.com>
* verify.cc (skip_padding): Fail if padding byte is nonzero.
2001-11-06 Tom Tromey <tromey@redhat.com>
* HACKING: Make people commit their own patches.
......
......@@ -1000,7 +1000,8 @@ private:
void skip_padding ()
{
while ((PC % 4) > 0)
get_byte ();
if (get_byte () != 0)
verify_fail ("found nonzero padding byte");
}
// Return the subroutine to which the instruction at PC belongs.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment