[patch ld bfd gas]: Handle linkonce for cfi generated debug_frame and eh_frame data
Nick Clifton
nickc@redhat.com
Tue Apr 26 15:29:00 GMT 2011
Hi Kai,
>> ChangeLog bfd/
>> > 2011-04-18 Kai Tietz
>> >
>> > * coffcode.h (sec_to_styp_flags): Allow linkonce for
>> > debugging sections.
>> >
>> > ChangeLog gas/
>> > 2011-04-18 Kai Tietz
>> >
>> > * dw2gencfi.c (dwcfi_seg_list): New struct.
>> > (dwcfi_hash): New static hash variable.
>> > (get_debugseg_name): New.
>> > (alloc_debugseg_item): New.
>> > (make_debug_seg): New.
>> > (dwcfi_hash_insert): New.
>> > (dwcfi_hash_find): New.
>> > (dwcfi_hash_find_or_make): New.
>> > (cfi_insn_data): New member cur_seg.
>> > (cie_entry): Likewise.
>> > (fde_entry): New cseg and handled members.
>> > (alloc_fde_entry): Initialize cseg member.
>> > (alloc_cfi_insn_data): Initialize cur_seg member.
>> > (dot_cfi_sections): Compare for beginning of
>> > section names via strncmp.
>> > (get_cfi_seg): New.
>> > (cfi_finish): Treat link-once sections.
>> > (is_now_linkonce_segment): New local helper.
>> > (output_cie): Ignore cie entries not member of current
>> > segment.
>> > (output_fde): Likewise.
>> > (select_cie_for_fde): Likewise.
>> > (cfi_change_reg_numbers): Add new argument for current segment
>> > and ignore insn elements, if not part of current segment.
>> > * ehopt.c (get_cie_info): Use strncmp for
>> > section name matching.
>> > (heck_eh_frame): Likewise.
>> >
>> > ChangeLog ld/
>> >
>> > 2011-04-18 Kai Tietz
>> >
>> > * scripttempl/pe.sc: Likewise.
>> > * scripttempl/pep.sc: Likewise.
>> >
>> > ChangeLog ld/testsuite/
>> >
>> > 2011-04-18 Kai Tietz
>> >
>> > * ld-pe/pe.exp: Add cfi/cfi32 tests.
>> > * ld-pe/cfi.d: New.
>> > * ld-pe/cfi32.d: New.
>> > * ld-pe/cfia.s: New.
>> > * ld-pe/cfib.s: New.
>> >
Approved and applied, Sorry for the delay.
Cheers
Nick
More information about the Binutils
mailing list