OSDN Git Service

bfd/
authorrsandifo <rsandifo>
Sat, 15 Dec 2007 09:41:15 +0000 (09:41 +0000)
committerrsandifo <rsandifo>
Sat, 15 Dec 2007 09:41:15 +0000 (09:41 +0000)
commit71b46b786c21f4f646bf7ef0b84738bfaa0a39ba
tree67823546f3153407c75f8c807d73f4a934122476
parent23f6baf5e7b84dd45ea555eb726717486da16c5b
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