Use a simple byte read when reading the return address register column.
authorNick Clifton <nickc@redhat.com>
Thu, 22 Aug 2002 20:00:14 +0000 (20:00 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 22 Aug 2002 20:00:14 +0000 (20:00 +0000)
bfd/ChangeLog
bfd/elf-eh-frame.c

index e1e73d5d8f6e2e09278dda75fbe38097bebe0a3d..9ada7fe814df8f71800c2906186e722491fa0dd4 100644 (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.
index b074ff9285206ac53ec16be5c97bb2be2052da31..cf4942a2b6ef25d848b0c67a31b9c05bdb34c406 100644 (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;