* dwarf2-frame.c (decode_frame_entry_1): Avoid indirection when

skipping a personality routine in a CIE augmentation.
This commit is contained in:
Mark Kettenis 2004-11-05 22:35:22 +00:00
parent d75e3c94b3
commit 1234d96073
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-11-05 Mark Kettenis <kettenis@gnu.org>
* dwarf2-frame.c (decode_frame_entry_1): Avoid indirection when
skipping a personality routine in a CIE augmentation.
2004-11-05 Jeff Johnston <jjohnstn@redhat.com>
* defs.h (fatal, vfatal): New function prototypes.

View File

@ -1380,8 +1380,8 @@ decode_frame_entry_1 (struct comp_unit *unit, char *start, int eh_frame_p)
/* "P" indicates a personality routine in the CIE augmentation. */
else if (*augmentation == 'P')
{
/* Skip. */
unsigned char encoding = *buf++;
/* Skip. Avoid indirection since we throw away the result. */
unsigned char encoding = (*buf++) & ~DW_EH_PE_indirect;
read_encoded_value (unit, encoding, buf, &bytes_read);
buf += bytes_read;
augmentation++;