hpux64-hp-hpux11.00: .rela.opd problems

John David Anglin dave@hiauly1.hia.nrc.ca
Thu Jun 27 10:33:00 GMT 2002


> 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)



More information about the Binutils mailing list