From: Nick Clifton Date: Thu, 22 Aug 2002 20:00:14 +0000 (+0000) Subject: Use a simple byte read when reading the return address register column. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a4263c47c070851612c45acec322f7c381f7dfcf;p=binutils-gdb.git Use a simple byte read when reading the return address register column. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e1e73d5d8f6..9ada7fe814d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2002-08-22 Kaz Kojima + + * 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 * config.bfd: Add powepc64-*-*bsd* target. diff --git a/bfd/elf-eh-frame.c b/bfd/elf-eh-frame.c index b074ff92852..cf4942a2b6e 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;