Follow-up to November's .eh_frame optimisations (2/3)

Nick Clifton nickc@redhat.com
Mon Jan 17 16:51:00 GMT 2005


Hi Richard,

> 	* 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_unsigned_leb128, read_signed_leb128)
> 	(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.

Approved - please apply.

Cheers
   Nick




More information about the Binutils mailing list