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]

Simple bfd/targets.c fix



It looks like when I submitted a change to add
bfd_elf32_ia64_hpux_big_vec and bfd_elf64_ia64_hpux_big_vec to the list
of target vectors I forgot to add them to the DEFAULT_VECTOR list.

I went through and did a complete comparision between the list of extern
declarations and the DEFAULT_VECTOR list in bfd/targets.c.  The only
missing one other then mine was bfd_elf32_h8300_vec so I added that too.
If there is a reason it should not be in DEFAULT_VECTOR it should be
ifdef'ed out but I don't know of any reason not to include it.

Can someone approve this and check it in?

Steve Ellcey
sje@cup.hp.com



2002-01-22  Steve Ellcey <sje@cup.hp.com>
	* bfd/targets.c (bfd_elf32_ia64_hpux_big_vec): Add to DEFAULT_VECTOR.
	(bfd_elf64_ia64_hpux_big_vec): Ditto.
	(bfd_elf32_h8300_vec): Ditto.


*** src.orig/bfd/targets.c	Tue Jan 22 16:33:03 2002
--- src/bfd/targets.c	Tue Jan 22 16:36:07 2002
*************** static const bfd_target * const _bfd_tar
*** 759,764 ****
--- 759,765 ----
  	&bfd_elf32_d10v_vec,
  	&bfd_elf32_d30v_vec,
  	&bfd_elf32_fr30_vec,
+ 	&bfd_elf32_h8300_vec,
  	&bfd_elf32_hppa_linux_vec,
  	&bfd_elf32_hppa_vec,
  	&bfd_elf32_i370_vec,
*************** static const bfd_target * const _bfd_tar
*** 769,774 ****
--- 770,776 ----
  #if 0
  	&bfd_elf32_ia64_big_vec,
  #endif
+ 	&bfd_elf32_ia64_hpux_big_vec,
  	&bfd_elf32_little_generic_vec,
  	&bfd_elf32_littlearc_vec,
  	&bfd_elf32_littlearm_oabi_vec,
*************** static const bfd_target * const _bfd_tar
*** 810,815 ****
--- 812,818 ----
  	&bfd_elf64_ia64_aix_big_vec,
  	&bfd_elf64_ia64_aix_little_vec,
  	&bfd_elf64_ia64_big_vec,
+ 	&bfd_elf64_ia64_hpux_big_vec,
  	&bfd_elf64_ia64_little_vec,
  	&bfd_elf64_little_generic_vec,
  	&bfd_elf64_littlemips_vec,


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