This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix 3 bugs in --eh-frame-hdr patch


On Mon, Dec 17, 2001 at 03:20:01PM +0100, Jakub Jelinek wrote:
> 	* elf-eh-frame.c (struct cie): Add make_lsda_relative.
> 	(struct eh_cie_fde): Add lsda_encoding, lsda_offset,
> 	make_lsda_relative.
> 	(read_value, write_value): New.
> 	(_bfd_elf_discard_section_eh_frame): Inicialize
> 	lsda_encoding, lsda_offset and make_lsda_relative.
> 	(_bfd_elf_eh_frame_section_offset): If make_lsda_relative,
> 	request no dynamic reloc for LSDA field of FDE.
> 	(_bfd_elf_write_section_eh_frame): Handle make_lsda_relative.
> 	If a non-DW_EH_PE_absptr value is 0, don't adjust it by base
> 	or pcrel.  Fix address computation for DW_EH_PE_pcrel relocs.
> 	Update LSDA field if LSDA encoding is DW_EH_PE_pcrel, because
> 	. might have changed due to deleted FDE or CIEs.

Ok.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]