diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2005-01-17 17:41:47 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2005-01-17 17:41:47 +0000 |
commit | 2c42be6506d72503af4ba12b184a66476f5f6052 (patch) | |
tree | 8685c58809c047eb9b8f56f8d5ce820634a434a1 /bfd/ChangeLog | |
parent | acfe556796231f181130e512cf6616c61c2aca7d (diff) | |
download | gdb-2c42be6506d72503af4ba12b184a66476f5f6052.zip gdb-2c42be6506d72503af4ba12b184a66476f5f6052.tar.gz gdb-2c42be6506d72503af4ba12b184a66476f5f6052.tar.bz2 |
* 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.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 15169f2..aabc387 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,17 @@ 2005-01-17 Richard Sandiford <rsandifo@redhat.com> + * 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. + +2005-01-17 Richard Sandiford <rsandifo@redhat.com> + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use an assert-style REQUIRE() macro to handle sanity checks. |