OSDN Git Service

bfd/
authorRichard Sandiford <rsandifo@nildram.co.uk>
Sat, 15 Dec 2007 09:41:15 +0000 (09:41 +0000)
committerRichard Sandiford <rsandifo@nildram.co.uk>
Sat, 15 Dec 2007 09:41:15 +0000 (09:41 +0000)
commit673c0d588be584280dda36b241cb2d0c090eaa6a
tree3d2716e5e4b22bc5d985165c9f7183855a60a233
parenta258426f2dfc5376b68ee6c2cc6955a8de4c3fea
bfd/
* elf-bfd.h (eh_cie_fde): Move add_fde_encoding and
per_encoding_relative to u.cie.  Add commentary.
* elf-eh-frame.c (cie): Remove make_relative.
(extra_augmentation_string_bytes): Update use of add_fde_encoding.
(extra_augmentation_data_bytes): Likewise.  Use an FDE's own
add_augmentation_size field, rather than referring to the CIE.
(_bfd_elf_parse_eh_frame): Don't set the struct cie
make_relative field; set the eh_cie_fde field directly.
Update setting of add_fde_encoding and per_encoding_relative.
Copy make_relative and add_augmentation_size from the CIE
to the FDE.
(_bfd_elf_discard_section_eh_frame): Use the FDE's own
make_relative field.
(_bfd_elf_eh_frame_section_offset): Likewise.
(_bfd_elf_write_section_eh_frame): Update accesses to
add_fde_encoding and per_encoding_relative.  Use the FDE's
own make_relative and add_augmentation_size fields.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf-eh-frame.c