Use a simple byte read when reading the return address register column.

This commit is contained in:
Nick Clifton 2002-08-22 20:00:14 +00:00
parent 1489984027
commit a4263c47c0
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2002-08-22 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use a simple
byte read when reading the return address register column.
2002-08-22 Nick Clifton <nickc@redhat.com>
* config.bfd: Add powepc64-*-*bsd* target.

View file

@ -506,7 +506,7 @@ _bfd_elf_discard_section_eh_frame (abfd, info, sec, ehdrsec,
}
read_uleb128 (cie.code_align, buf);
read_sleb128 (cie.data_align, buf);
read_uleb128 (cie.ra_column, buf);
cie.ra_column = *buf++;
ENSURE_NO_RELOCS (buf);
cie.lsda_encoding = DW_EH_PE_omit;
cie.fde_encoding = DW_EH_PE_omit;