This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: hpux64-hp-hpux11.00: .rela.opd problems
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: dave at hiauly1 dot hia dot nrc dot ca (John David Anglin)
- Cc: binutils at sources dot redhat dot com, law at redhat dot com, amodra at bigpond dot net dot au
- Date: Thu, 27 Jun 2002 13:33:04 -0400 (EDT)
- Subject: Re: hpux64-hp-hpux11.00: .rela.opd problems
> 2002-06-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
>
> * elf64-hppa.c (elf64_hppa_reloc_type_class): New function.
> (elf64_hppa_finish_dynamic_sections): Check other_rel_sec, dlt_rel_sec
> and opd_rel_sec in order for starting rela section. Check _raw_size.
> (elf_backend_reloc_type_class): Define.
> * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
> section. Add ${RELOCATING-0}.
Ross's problems are resolved at least for now. Would one of the maintainers
review the above <http://sources.redhat.com/ml/binutils/2002-06/msg00735.html>
and install if OK? It ensures that we search correctly for the beginning
of the rela sections in computing the value for DT_RELA. It also classifies
relocs which may improve how they are sorted.
The patch has been tested with several binutils builds under hppa64-hp-hpux11*
and a gcc build under hppa64-hp-hpux11.11.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)