diff options
author | Nick Clifton <nickc@redhat.com> | 2002-08-22 20:00:14 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2002-08-22 20:00:14 +0000 |
commit | caa9fa7b4eb29eaff3d32a7eae793689ea767a9b (patch) | |
tree | eebbab78e4c1b685a01a392ab232f8213052bed6 | |
parent | 55dfeb19d95e541e71ecc40c616e5f4396e87e4e (diff) | |
download | binutils-redhat-caa9fa7b4eb29eaff3d32a7eae793689ea767a9b.tar.gz |
Use a simple byte read when reading the return address register column.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf-eh-frame.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e1e73d5d8f..9ada7fe814 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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. diff --git a/bfd/elf-eh-frame.c b/bfd/elf-eh-frame.c index b074ff9285..cf4942a2b6 100644 --- a/bfd/elf-eh-frame.c +++ b/bfd/elf-eh-frame.c @@ -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; |