diff options
author | Jakub Jelinek <jakub@redhat.com> | 2003-04-18 11:53:12 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2003-04-18 11:53:12 +0000 |
commit | e5f08f7e33b2a398b2bdc07c970478693c265753 (patch) | |
tree | 602e66facd9cd3e56b592b2bfdb13c397018d966 /gas/ehopt.c | |
parent | 517ed4859c817850493617d689868c3ebb0a7a3b (diff) | |
download | binutils-e5f08f7e33b2a398b2bdc07c970478693c265753.zip binutils-e5f08f7e33b2a398b2bdc07c970478693c265753.tar.gz binutils-e5f08f7e33b2a398b2bdc07c970478693c265753.tar.bz2 |
* ehopt.c (check_eh_frame): For aug_size == 0
in state_seeing_aug_size state skip the state_skipping_aug
state.
Diffstat (limited to 'gas/ehopt.c')
-rw-r--r-- | gas/ehopt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gas/ehopt.c b/gas/ehopt.c index 4f5c9b2..6e19ae6 100644 --- a/gas/ehopt.c +++ b/gas/ehopt.c @@ -1,5 +1,5 @@ /* ehopt.c--optimize gcc exception frame information. - Copyright 1998, 2000, 2001 Free Software Foundation, Inc. + Copyright 1998, 2000, 2001, 2003 Free Software Foundation, Inc. Written by Ian Lance Taylor <ian@cygnus.com>. This file is part of GAS, the GNU Assembler. @@ -363,6 +363,8 @@ check_eh_frame (exp, pnbytes) } else d->state = state_error; + if (d->state == state_skipping_aug && d->aug_size == 0) + d->state = state_wait_loc4; break; case state_skipping_aug: |