(Almost) the last patch for HP-UX IA64 support.

Nick Clifton nickc@cambridge.redhat.com
Fri Jan 11 03:57:00 GMT 2002


Hi Steve,

> 2002-01-07  Steve Ellcey  <sje@cup.hp.com>
> 	* configure.in (ia64*-*-hpux*): New target for IA64 HP-UX,
> 	  ld and gdb are not supported.
> 	* configure: Regenerate
> 	* gas/config/tc-ia64.h (MD_FLAGS_DEFAULT): New Macro for
> 	  setting default md.flags.
> 	  (SHT_INIT_ARRAY): New elf special section used by HP-UX.
> 	  (SHT_FINI_ARRAY): New elf special section used by HP-UX.
> 	* gas/config/tc-ia64.c (setup_unwind_header): Add support
> 	  for 32 bit unwind info blocks.
> 	  (generate_unwind_image): Add support for different types
> 	  of unwind images (32 bits and/or big-endian).
> 	  (ia64_init): Use MD_FLAGS_DEFAULT to set md.flags.
> 	  (ia64_target_format): Add support for hpux target formats.
> 	  (ia64_gen_real_reloc_type): Add support for FUNC_IPLT_RELOC.
> 	* gas/config/obj-elf.c (obj_elf_section_type): Add support
> 	  for SHT_INIT_ARRAY and SHT_FINI_ARRAY elf section types.

I have accepted and applied this patch, but I did make one change.
Instead of having obj_elf_section_type() accept the init_array and
fini_array types I added it to ia64_elf_section_type().

If you feel that they ought to be supported generically then you will
need to update the documentation as well, plus test the change on a
couple of other systems as well.

Cheers
        Nick



More information about the Binutils mailing list