summaryrefslogtreecommitdiff
path: root/bfd/elf-eh-frame.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-08-22 20:00:14 +0000
committerNick Clifton <nickc@redhat.com>2002-08-22 20:00:14 +0000
commit5492b4663f35ecfe4395b66adf9d4cbeb4fb9a2b (patch)
tree65ab9e996618f776abd62b2c21a36125df4bb385 /bfd/elf-eh-frame.c
parent9761af4502db8214e815aa2f96f4358954655112 (diff)
downloadgdb-5492b4663f35ecfe4395b66adf9d4cbeb4fb9a2b.tar.gz
Use a simple byte read when reading the return address register column.
Diffstat (limited to 'bfd/elf-eh-frame.c')
-rw-r--r--bfd/elf-eh-frame.c2
1 files changed, 1 insertions, 1 deletions
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;