* verify.cc (skip_padding): Fail if padding byte is nonzero.
From-SVN: r46830
This commit is contained in:
parent
64ef1ee2d5
commit
b11946180d
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
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.
|
||||
|
|
Loading…
Add table
Reference in a new issue