* elf-bfd.h (struct cie): Use bfd_vmas for code_align, ra_column and
authorRichard Sandiford <rdsandiford@googlemail.com>
Mon, 17 Jan 2005 17:41:47 +0000 (17:41 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Mon, 17 Jan 2005 17:41:47 +0000 (17:41 +0000)
commit2c42be6506d72503af4ba12b184a66476f5f6052
tree8685c58809c047eb9b8f56f8d5ce820634a434a1
parentacfe556796231f181130e512cf6616c61c2aca7d
* elf-bfd.h (struct cie): Use bfd_vmas for code_align, ra_column and
augmentation_size.  Use bfd_signed_vmas for data_align.
* elf-eh-frame.c (read_uleb128, read_sleb128): Delete in favor of...
(read_byte, skip_leb128, read_uleb128, read_sleb128): ...these new
functions.  Don't read past the end of the enclosing CIE or FDE.
(skip_bytes): New utility function.
(_bfd_elf_discard_section_eh_frame): Use new functions, adding more
sanity checking.
(_bfd_elf_write_section_eh_frame): Use new functions.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf-eh-frame.c