OSDN Git Service

* elf-bfd.h (struct cie): Use bfd_vmas for code_align, ra_column and
authorrsandifo <rsandifo>
Mon, 17 Jan 2005 17:41:43 +0000 (17:41 +0000)
committerrsandifo <rsandifo>
Mon, 17 Jan 2005 17:41:43 +0000 (17:41 +0000)
commit2578b9a9421ceef3db0984562ce07e34e56a9efa
treec4a1f156c70f5518d799a174a19f1583b76805cc
parentbfc048dbaea18d6135aeb686ccc55ae39604b2d0
* 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