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: Does your .eh_frame_hdr change work with DW_EH_PE_absptr?


On Thu, Feb 14, 2002 at 02:13:26PM -0800, H . J . Lu wrote:
> 2002-02-14  H.J. Lu  (hjl@gnu.org)
> 
> 	* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Abort
> 	for DW_EH_PE_absptr in FDE while building shared library.

Please don't.
You'd ICE (well, ILE) on perfectly valid libraries.
DW_EH_PE_absptr works well on IA-32 in shared libraries, but further
checking reveals that in presence of RELA RELATIVE relocs which do not copy
its addend to the memory or in presence of weird pseudo-RELATIVE relocs like
on mips this doesn't work.
Guess the easiest solution would be to finish what I skipped when writing
the patch, ie. get make_relative and make_lsda_relative working by doing one
more set of changes on all ELF backends.

	Jakub


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