OSDN Git Service

* elf-bfd.h (struct cie): Use bfd_vmas for code_align, ra_column and
authorRichard Sandiford <rsandifo@nildram.co.uk>
Mon, 17 Jan 2005 17:41:47 +0000 (17:41 +0000)
committerRichard Sandiford <rsandifo@nildram.co.uk>
Mon, 17 Jan 2005 17:41:47 +0000 (17:41 +0000)
commit03d52e4cd3acb3f805623e2399e80301d19c1c5d
treeabcf8fdd14fbb20d7b9744f28f267bfe6d4a7351
parent4f4df15ccc5a9e06bb71692cb6ee1fadaa2d0377
* 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