Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jul 2002 21:49:33 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 13852 for review
Message-ID:  <200207070449.g674nXYG030128@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=13852

Change 13852 by rwatson@rwatson_curry on 2002/07/06 21:48:34

	Integ some changes from post-kse-iii userland--particularly,
	new binutils/gdb stuff, rtld changes, and gcc fixes for XFree86
	building.

Affected files ...

.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/ChangeLog#6 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/ChangeLog-9495#3 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/archures.c#5 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/bfd-in2.h#5 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/coff-arm.c#5 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/coffcode.h#5 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/config.in#3 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/configure#6 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/configure.in#6 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/cpu-powerpc.c#4 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/cpu-s390.c#1 branch
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/doc/archures.texi#3 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/doc/libbfd.texi#3 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/doc/reloc.texi#3 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/dwarf2.c#5 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/elf-bfd.h#4 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/elf-eh-frame.c#3 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/elf.c#6 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/elf32-arm.h#5 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/elf32-mips.c#3 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/elf32-ppc.c#4 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/elf32-s390.c#1 branch
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/elf64-alpha.c#5 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/elf64-ppc.c#5 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/elf64-ppc.h#2 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/elf64-s390.c#1 branch
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/elf64-sparc.c#5 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/elf64-x86-64.c#6 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/elfarm-nabi.c#3 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/elflink.h#5 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/elfxx-ia64.c#5 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/elfxx-target.h#4 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/ihex.c#5 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/libbfd.h#5 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/opncls.c#3 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/reloc.c#4 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/rs6000-core.c#2 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/syms.c#6 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/version.h#4 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/bfd/xcofflink.c#3 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/ChangeLog#6 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/MAINTAINERS#4 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/arparse.y#2 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/config.in#3 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/configure#5 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/configure.in#4 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/dlltool.c#3 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/dllwrap.c#3 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/doc/Makefile.in#3 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/doc/addr2line.1#2 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/doc/ar.1#2 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/doc/cxxfilt.man#2 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/doc/dlltool.1#2 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/doc/nm.1#2 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/doc/objcopy.1#2 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/doc/objdump.1#2 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/doc/ranlib.1#2 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/doc/readelf.1#2 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/doc/size.1#2 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/doc/strings.1#2 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/doc/strip.1#2 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/nm.c#4 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/rclex.c#3 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/rclex.l#3 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/rcparse.c#3 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/rcparse.h#3 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/rcparse.y#3 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/readelf.c#4 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/resbin.c#2 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/resrc.c#3 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/binutils/size.c#4 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/config/mh-s390pic#1 branch
.. //depot/projects/trustedbsd/base/contrib/binutils/config/mt-s390pic#1 branch
.. //depot/projects/trustedbsd/base/contrib/binutils/gas/ChangeLog#6 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/gas/config/obj-coff.c#4 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/gas/config/tc-arm.c#4 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/gas/config/tc-i386.c#5 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/gas/config/tc-ppc.c#5 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/gas/config/tc-s390.c#1 branch
.. //depot/projects/trustedbsd/base/contrib/binutils/gas/config/tc-s390.h#1 branch
.. //depot/projects/trustedbsd/base/contrib/binutils/gas/doc/as.1#3 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/gas/stabs.c#3 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/gas/symbols.c#3 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/include/elf/ChangeLog#4 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/include/elf/dwarf2.h#4 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/include/opcode/ChangeLog#5 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/include/opcode/i386.h#4 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/include/opcode/s390.h#1 branch
.. //depot/projects/trustedbsd/base/contrib/binutils/ld/ChangeLog#6 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/ld/Makefile.am#5 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/ld/Makefile.in#5 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/ld/configure.host#4 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/ld/emulparams/elf64_s390.sh#1 branch
.. //depot/projects/trustedbsd/base/contrib/binutils/ld/emulparams/elf_s390.sh#1 branch
.. //depot/projects/trustedbsd/base/contrib/binutils/ld/emultempl/armelf.em#3 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/ld/emultempl/ppc64elf.em#3 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/ld/ld.1#3 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/ld/ld.texinfo#5 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/ld/ldlang.c#5 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/opcodes/ChangeLog#6 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/opcodes/ppc-opc.c#5 integrate
.. //depot/projects/trustedbsd/base/contrib/binutils/opcodes/s390-dis.c#1 branch
.. //depot/projects/trustedbsd/base/contrib/binutils/opcodes/s390-mkopc.c#1 branch
.. //depot/projects/trustedbsd/base/contrib/binutils/opcodes/s390-opc.c#1 branch
.. //depot/projects/trustedbsd/base/contrib/binutils/opcodes/s390-opc.txt#1 branch
.. //depot/projects/trustedbsd/base/contrib/gcc/emit-rtl.c#7 integrate
.. //depot/projects/trustedbsd/base/contrib/gcc/recog.c#6 integrate
.. //depot/projects/trustedbsd/base/gnu/usr.bin/binutils/doc/Makefile#3 integrate
.. //depot/projects/trustedbsd/base/gnu/usr.bin/binutils/doc/inc-hist.diff#2 integrate
.. //depot/projects/trustedbsd/base/gnu/usr.bin/binutils/gdb/fbsd-kgdb.h#1 branch
.. //depot/projects/trustedbsd/base/gnu/usr.bin/binutils/gdb/i386/version.c#3 delete
.. //depot/projects/trustedbsd/base/gnu/usr.bin/binutils/gdb/kvm-fbsd.c#2 integrate
.. //depot/projects/trustedbsd/base/gnu/usr.bin/binutils/gdb5/Makefile#2 delete
.. //depot/projects/trustedbsd/base/gnu/usr.bin/binutils/gdb5/Makefile.alpha#2 delete
.. //depot/projects/trustedbsd/base/gnu/usr.bin/binutils/gdb5/Makefile.i386#2 delete
.. //depot/projects/trustedbsd/base/gnu/usr.bin/binutils/gdb5/Makefile.ia64#2 delete
.. //depot/projects/trustedbsd/base/gnu/usr.bin/binutils/gdb5/alpha/freebsd-nat.c#2 delete
.. //depot/projects/trustedbsd/base/gnu/usr.bin/binutils/gdb5/alpha/kvm-fbsd.c#2 delete
.. //depot/projects/trustedbsd/base/gnu/usr.bin/binutils/gdb5/alpha/nm.h#2 delete
.. //depot/projects/trustedbsd/base/gnu/usr.bin/binutils/gdb5/alpha/tm.h#2 delete
.. //depot/projects/trustedbsd/base/gnu/usr.bin/binutils/gdb5/alpha/version.c#2 delete
.. //depot/projects/trustedbsd/base/gnu/usr.bin/binutils/gdb5/alpha/xm.h#2 delete
.. //depot/projects/trustedbsd/base/gnu/usr.bin/binutils/gdb5/config.h#2 delete
.. //depot/projects/trustedbsd/base/gnu/usr.bin/binutils/gdb5/freebsd-uthread.c#2 delete
.. //depot/projects/trustedbsd/base/gnu/usr.bin/binutils/gdb5/i386/freebsd-nat.c#2 delete
.. //depot/projects/trustedbsd/base/gnu/usr.bin/binutils/gdb5/i386/kvm-fbsd.c#2 delete
.. //depot/projects/trustedbsd/base/gnu/usr.bin/binutils/gdb5/i386/nm.h#2 delete
.. //depot/projects/trustedbsd/base/gnu/usr.bin/binutils/gdb5/i386/tm.h#2 delete
.. //depot/projects/trustedbsd/base/gnu/usr.bin/binutils/gdb5/i386/version.c#2 delete
.. //depot/projects/trustedbsd/base/gnu/usr.bin/binutils/gdb5/i386/xm.h#2 delete
.. //depot/projects/trustedbsd/base/gnu/usr.bin/binutils/gdbreplay/Makefile#4 integrate
.. //depot/projects/trustedbsd/base/gnu/usr.bin/binutils/gdbreplay5/Makefile#2 delete
.. //depot/projects/trustedbsd/base/gnu/usr.bin/binutils/gdbserver5/Makefile#2 delete
.. //depot/projects/trustedbsd/base/gnu/usr.bin/binutils/gdbserver5/low-fbsd.c#2 delete
.. //depot/projects/trustedbsd/base/libexec/rtld-elf/alpha/lockdflt.c#2 integrate
.. //depot/projects/trustedbsd/base/libexec/rtld-elf/i386/lockdflt.c#3 integrate
.. //depot/projects/trustedbsd/base/libexec/rtld-elf/ia64/lockdflt.c#2 integrate
.. //depot/projects/trustedbsd/base/libexec/rtld-elf/rtld.1#4 integrate
.. //depot/projects/trustedbsd/base/libexec/rtld-elf/sparc64/lockdflt.c#2 integrate

Differences ...

==== //depot/projects/trustedbsd/base/contrib/binutils/bfd/ChangeLog#6 (text+ko) ====

@@ -1,3 +1,311 @@
+2002-05-14  Daniel Jacobowitz  <drow@mvista.com>
+
+	* configure.in: Set is_release=y for 2.12.1 release.
+	* configure: Likewise.
+
+2002-05-13  David Edelsohn  <edelsohn@gnu.org>
+
+	* configure.in: Auto-configure HAVE_ST_C_IMPL.
+	* configure: Regenerate.
+	* config.in: Regenerate.
+	* rs6000-core.c (CNEW_IMPL): Guard use of c_impl with HAVE_ST_C_IMPL
+	or AIX_5_CORE.
+
+2002-05-11  Daniel Jacobowitz  <drow@mvista.com>
+
+	Merge from mainline (to elf32-mips.c):
+	2002-05-03  H.J. Lu  (hjl@gnu.org)
+
+	* elfxx-mips.c (mips_elf_link_hash_entry): Add forced_local.
+	(mips_elf_link_hash_newfunc): Initialize forced_local to false.
+	(mips_elf_record_global_got_symbol): Call _bfd_mips_elf_hide_symbol
+	to hide a global symbol.
+	(_bfd_mips_elf_hide_symbol): Return if forced_local is true. Set
+	forced_local to true. 
+
+2002-05-11  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
+	    Daniel Jacobowitz  <drow@mvista.com>
+
+	* coff-sh.c (sh_reloc_map): Map to R_SH_IMM32 for non-PE.  Don't
+	map BFD_RELOC_RVA.
+
+2002-05-09  Alan Modra  <amodra@bigpond.net.au>
+
+	* elf64-ppc.c (RA_REGISTER_MASK, RA_REGISTER_SHIFT): Delete.
+
+	Merge from mainline
+	2002-05-08  Alan Modra  <amodra@bigpond.net.au>
+	* elf32-ppc.c (ppc_elf_create_got): New function.
+	(ppc_elf_create_dynamic_sections): Call ppc_elf_create_got before
+	_bfd_elf_create_dynamic_sections.  Correct .plt flags. 
+	(ppc_elf_check_relocs): Use ppc_elf_create_got in place of
+	_bfd_elf_create_got_section.
+
+	2002-05-07  Alan Modra  <amodra@bigpond.net.au>
+	* elf-bfd.h (struct elf_backend_data): Add rela_normal.
+	* elfxx-target.h (elf_backend_rela_normal): Define.
+	(elfNN_bed): Init rela_normal.
+	* elflink.h (elf_link_input_bfd <emit_relocs>): Handle adjustment
+	for section symbols here if rela_normal.  Simplify abs section test.
+	* elf-m10200.c (mn10200_elf_relocate_section): If relocatable,
+	return immediately.  Remove code handling relocatable linking.
+	* elf-m10300.c (mn10300_elf_relocate_section): Likewise.
+	* elf32-fr30.c (fr30_elf_relocate_section): Likewise.
+	* elf32-i370.c (i370_elf_relocate_section): Likewise.
+	* elf32-i860.c (elf32_i860_relocate_section): Likewise.
+	* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
+	* elf32-mcore.c (mcore_elf_relocate_section): Likewise.
+	* elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
+	* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
+	* elf32-s390.c (elf_s390_relocate_section): Likewise.
+	* elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise.
+	* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
+	* elf64-s390.c (elf_s390_relocate_section): Likewise.
+	* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
+	* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
+	* elf32-arm.h (elf32_arm_relocate_section): Likewise #ifndef USE_REL.
+	* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
+	* elf-m10200.c (elf_backend_rela_normal): Define.
+	* elf-m10300.c (elf_backend_rela_normal): Define.
+	* elf32-fr30.c (elf_backend_rela_normal): Define.
+	* elf32-i370.c (elf_backend_rela_normal): Define.
+	* elf32-i860.c (elf_backend_rela_normal): Define.
+	* elf32-m68k.c (elf_backend_rela_normal): Define.
+	* elf32-mcore.c (elf_backend_rela_normal): Define.
+	* elf32-openrisc.c (elf_backend_rela_normal): Define.
+	* elf32-ppc.c (elf_backend_rela_normal): Define.
+	* elf32-s390.c (elf_backend_rela_normal): Define.
+	* elf32-xstormy16.c (elf_backend_rela_normal): Define.
+	* elf64-ppc.c (elf_backend_rela_normal): Define.
+	* elf64-s390.c (elf_backend_rela_normal): Define.
+	* elf64-x86-64.c (elf_backend_rela_normal): Define.
+	* elfxx-ia64.c (elf_backend_rela_normal): Define.
+	* elf32-arm.h (elf_backend_rela_normal): Define #ifndef USE_REL.
+	* elf32-m32r.c (elf_backend_rela_normal): Likewise.
+
+	2002-05-06  Alan Modra  <amodra@bigpond.net.au>
+	* elflink.h (elf_link_input_bfd <emit_relocs>): Adjust r_offset
+	when not relocatable.  Fix reloc_emitter call for K&R.
+
+	2002-05-04  Alan Modra  <amodra@bigpond.net.au>
+	* dwarf2.c (struct line_head): Make prologue_length a bfd_vma.
+	(read_abbrevs): Change "offset" param to bfd_vma.
+	(parse_comp_unit): Change "version" and addr_size to unsigned ints.
+	Change "abbrev_offset" to bfd_vma.
+	(read_indirect_string): Use correct conversion chars in error
+	message format string, cast bfd_vma's to unsigned long.
+	(read_abbrevs): Likewise.
+	(read_attribute_value): Likewise.
+	(decode_line_info): Likewise.
+	(scan_unit_for_functions): Likewise.
+	(parse_comp_unit): Likewise.
+
+	2002-05-04  Bob Byrnes  <byrnes@curl.com>
+	* opncls.c (_bfd_new_bfd_contained_in): Check return value of
+	_bfd_new_bfd.
+
+	2002-05-02  Alan Modra  <amodra@bigpond.net.au>
+	* elf64-ppc.c (ppc64_elf_howto_raw <R_PPC64_SECTOFF>): Change to a
+	16 bit reloc.
+	<R_PPC64_SECTOFF_DS>: Likewise.
+	(ppc64_elf_reloc_type_lookup): Map from BFD_RELOC_16_BASEREL to
+	SECTOFF reloc.
+	* elf32-ppc.c (ppc_elf_howto_raw <R_PPC_SECTOFF>): Correct.
+	(ppc_elf_reloc_type_lookup): Map from BFD_RELOC_16_BASEREL to
+	SECTOFF reloc.
+	* elf64-ppc.c (ppc64_elf_addr16_ha_reloc): Delete.
+	(ppc64_elf_ha_reloc): New function.
+	(ppc64_elf_brtaken_reloc): New function.
+	(ppc64_elf_sectoff_reloc): New function.
+	(ppc64_elf_sectoff_ha_reloc): New function.
+	(ppc64_elf_toc_reloc): New function.
+	(ppc64_elf_toc_ha_reloc): New function.
+	(ppc64_elf_toc64_reloc): New function.
+	(ppc64_elf_unhandled_reloc): New function.
+	(ppc64_elf_howto_raw): Use the above.
+	<R_PPC64_RELATIVE>: Mark pc_relative, pcrel_offset.
+	<R_PPC64_SECTOFF>: Not pc_relative or pcrel_offset.  Fix dst_mask.
+	<R_PPC64_SECTOFF_DS>: Likewise.
+	(IS_ABSOLUTE_RELOC): Update.
+	(struct ppc_link_hash_table): Add have_undefweak.
+	(ppc64_elf_link_hash_table_create): Init.
+	(func_desc_adjust): Set have_undefweak.
+	(ppc64_elf_func_desc_adjust): Call func_desc_adjust earlier.  Only
+	add the .sfpr blr when have_undefweak.
+	(ppc64_elf_set_toc): Rename to ppc64_elf_toc, remove info param
+	and relocatable test.  Return TOCstart and don't set elf_gp.
+	(ppc64_elf_relocate_section): Correct BRTAKEN/BRNTAKEN branch
+	offset calculation.  Add assert on weak sym branch tweaks.
+	* elf64-ppc.h (ppc64_elf_set_toc): Delete.
+	(ppc64_elf_toc): Declare.
+
+	2002-05-01  Alan Modra  <amodra@bigpond.net.au>
+	* syms.c (_bfd_stab_section_find_nearest_line): Don't bomb on NULL
+	file_name.
+
+	2002-05-01  Alan Modra  <amodra@bigpond.net.au>
+	* elf64-ppc.c (CROR_151515, CROR_313131): Define.
+	(ppc64_elf_relocate_section): Use them.  Don't look for plt calls
+	on R_PPC64_ADDR24 relocs.  Require a nop or no link reg on plt
+	call branches.  Correct undefined weak destination.
+	(ppc64_elf_func_desc_adjust): Always create at least one blr in
+	.sfpr, and correct case where either only savef* or restf* is
+	needed.
+
+	2002-04-09  DJ Delorie  <dj@redhat.com>
+	* elfarm-nabi.c (elf32_arm_howto_table): Fix ABS16 masks.
+
+2002-05-06  Nick Clifton  <nickc@cambridge.redhat.com>
+
+	* elf32-arm.h (elf32_arm_final_link_relocate): Convert
+	'reloc_signed_max' and 'reloc_signed_min' into half-word offsets.
+
+2002-05-02  Richard Henderson  <rth@redhat.com>
+
+	* elf64-alpha.c (elf64_alpha_relocate_section): Force relative relocs
+	vs SHN_UNDEF to zero.
+
+2002-04-27  Alan Modra  <amodra@bigpond.net.au>
+
+	Merge from mainline
+	2002-04-12  Alan Modra  <amodra@bigpond.net.au>
+	* elf.c (prep_headers): Don't zero EI_OSABI, EI_ABIVERSION or
+	header pad.
+
+	2002-02-21  Andreas Jaeger  <aj@suse.de>
+	* elf64-x86-64.c: Major rework that introduces all recent changes
+	to the x86-64 backend.  Get a closer match to elf32-i386.
+	(struct elf64_x86_64_dyn_relocs): Rename from
+	elf64_x86_64_pcrel_relocs_copied, add additional fields.  Change
+	all users.
+	(struct elf64_x86_64_link_hash_table): Add short cuts to some
+	sections.
+	(link_hash_newfunc): Rename from elf64_x86_64_link_hash_newfunc,
+	remove casts, initialize new hash members.
+	(create_got_section): New.
+	(elf64_x86_64_create_dynamic_sections): New.
+	(elf64_x86_64_copy_indirect_symbol): New.
+	(elf64_x86_64_check_relocs): Don't allocate space for dynamic
+	relocs, .got or .relgot here but do it in allocate_dynrelocs.
+	Reference count possible .plt and .got entries.  Don't test input
+	section SEC_READONLY here to try to avoid copy relocs, and keep
+	dyn_relocs regardless of ELF_LINK_NON_GOT_REF.  Don't set
+	DF_TEXTREL here.  Delay setting of variables until needed.  Cache
+	pointer to "sreloc" section in elf_section_data. Tweak condition
+	under which .got created.  Report files with bad relocation
+	section names.
+	(elf64_x86_64_gc_sweep_hook): Sweep dyn_relocs and local_dynrel.
+	Reference count possible .plt entries.  Don't deallocate .got and
+	.relgot space here.
+	(elf64_x86_64_adjust_dynamic_symbol): Handle nocopyreloc.  Don't
+	do copy reloc processing for weakdefs.  Remove redundant casts and
+	aborts.  Delay setting of vars until needed.  Move creation of
+	dynamic symbols and allocation of .plt and .rela.plt to
+	allocate_dynrelocs.  Replace BFD_ASSERT with abort.
+	(WILL_CALL_FINISH_DYNAMIC_SYMBOL): New.
+	(allocate_dynrelocs): New.
+	(readonly_dynrelocs): New.
+	(elf64_x86_64_size_dynamic_sections): Call readonly_dynrelocs.
+	Allocate space for dyn relocs.  Replace BFD_ASSERT with abort.
+	Zero out the dynamic allocated content space.
+	(elf64_x86_64_discard_copies): Removed.
+	(elf64_x86_64_relocate_section): Make use of dynamic section
+	short-cuts.  Localise vars, and delay setting.  Better error
+	reporting, replace BFD_ASSERT with abort.  Check
+	ELF_LINK_HASH_DEF_DYNAMIC to see if a symbol is not defined in the
+	regular object file and tread the weak definition as the normal
+	one.  Don't discard relocs for undefweak or undefined symbols and
+	check !DEF_REGULAR as well as DEF_DYNAMIC in test for avoided copy
+	relocs.
+	(elf64_x86_64_finish_dynamic_symbol): Don't copy relocs for
+	symbols that have been forced local.  Use same test to decide if
+	we can use a relative reloc for got as relocate_section.  Expand
+	SHN_UNDEF comment.  Move expressions out of function calls.
+	Replace BFD_ASSERT with abort.
+	(bfd_elf64_bfd_final_link): Removed.
+	(elf_backend_copy_indirect_symbol): Define.
+
+	* reloc.c: Move sh relocs to where they belong.
+	* libbfd.h, bfd-in2.h: Regenerate.
+
+	Merge from mainline
+	2002-04-26  Alan Modra  <amodra@bigpond.net.au>
+	* opncls.c (bfd_make_readable): Call bfd_section_list_clear.
+	* xcofflink.c (xcoff_link_add_dynamic_symbols): Likewise.
+	* elflink.h (elf_bfd_final_link): Ensure input bfd class is the
+	same as the output before calling elf_link_input_bfd.
+	* coffcode.h (coff_compute_section_file_positions): Set
+	section_tail after shuffling section list.
+
+	2002-04-23  Alan Modra  <amodra@bigpond.net.au>
+	* elf32-hppa.c (hppa_type_of_stub): Correct and simplify condition
+	under which a plt call stub is used.
+	(final_link_relocate): Similarly.
+	(allocate_plt_static): Clear h-plabel except when plt entry is
+	exclusively used for a plabel.
+	(allocate_dynrelocs): Use the above to simplify plt sizing.
+	(struct elf32_hppa_link_hash_table): Add has_22bit_branch.
+	(elf32_hppa_link_hash_table_create): Init.
+	(BL22_RP): Define.
+	(hppa_build_one_stub): Use BL22_RP if has_22bit_branch.
+	(elf32_hppa_check_relocs): Set has_22bit_branch.
+	* elf32-hppa.c (elf32_hppa_check_relocs): Remove debug message.
+	(final_link_relocate): Likewise.
+
+	2002-04-20  Alan Modra  <amodra@bigpond.net.au>
+	* archures.c (bfd_arch_info): Add comment on list order.
+	(bfd_default_set_arch_mach): Use bfd_lookup_arch.
+	* cpu-powerpc.c (bfd_powerpc_archs): Re-order so that the default
+	is always at head of list.
+	* bfd-in2.h: Regenerate.
+
+	2002-04-16  Alan Modra  <amodra@bigpond.net.au>
+	* elf32-m32r.c (m32r_elf_add_symbol_hook): Check the hash table
+	type rather than just assuming entries are ELF.
+	* elf32-sh64.c (sh64_elf_add_symbol_hook): Likewise.
+	* elf64-sh64.c (sh64_elf64_add_symbol_hook): Likewise.
+	* elf64-sparc.c (sparc64_elf_add_symbol_hook): Likewise.
+	* elf64-mmix.c (mmix_elf_add_symbol_hook): Use bfd_link_hash_entry
+	rather than elf_link_hash_entry.
+
+	2002-04-15  Alan Modra  <amodra@bigpond.net.au>
+	* elf32-ppc.c (ppc_elf_add_symbol_hook): Check the hash table type.
+
+	2002-04-08  Randolph Chung  <tausq@debian.org>
+	* elf32-hppa.c (hppa_unwind_entry_compare): Move to elf-hppa.h.
+	(elf32_hppa_final_link): Split out sorting logic to..
+	* elf-hppa.h (elf_hppa_sort_unwind): ..here.
+	(elf_hppa_final_link): Call elf_hppa_sort_unwind.
+
+2002-04-26  Richard Smith  <richard@ex-parrot.com>
+	    Jakub Jelinek  <jakub@redhat.com>
+
+	* elf-eh-frame.c (struct eh_cie_fde): Add per_encoding_relative.
+	(_bfd_elf_discard_section_eh_frame): Set it for CIEs with pcrel
+	encoded personality.
+	(_bfd_elf_write_section_eh_frame): Adjust pcrel encoded personality
+	for CIE/FDE removal.
+
+2002-04-26  Jakub Jelinek  <jakub@redhat.com>
+
+	* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't build
+	search table if some FDE is DW_EH_PE_aligned encoded either.
+	(_bfd_elf_write_section_eh_frame): Handle terminating FDE specially.
+
+2002-04-18  Nick Clifton  <nickc@cambridge.redhat.com>
+
+	* coff-arm.c (coff_thumb_pcrel_12, coff_thumb_pcrel_9,
+	insert_thumb_branch, record_thumb_to_arm_glue): Suppress
+	definition of these functions for ARM_WINCE builds as they are
+	not used.
+        (SWAP_IN_RELOC_OFFSET, SWAP_OUT_RELOC_OFFSET): Do not define
+	for ARM_WINCE builds.
+
+2002-04-16  Nick Clifton  <nickc@cambridge.redhat.com>
+
+	* ihex.c (ihex_write_object_contents): Fix check for records
+	crossing 64K boundaries.
+
 2002-04-06  Hans-Peter Nilsson  <hp@axis.com>
 
 	* elf32-cris.c (cris_elf_howto_table) <R_CRIS_16_PCREL,

==== //depot/projects/trustedbsd/base/contrib/binutils/bfd/ChangeLog-9495#3 (text+ko) ====

@@ -6887,7 +6887,7 @@
 	* libelf.h (struct elf_obj_tdata): Add new field bad_symtab.
 	(elf_bad_symtab): Define new accessor macro.
 	(_bfd_elf_link_hash_newfunc): Declare.
-	(_bew_elf_link_hash_table_init): Declare.
+	(_bfd_elf_link_hash_table_init): Declare.
 	* elfcode.h (elf_object_p): Call backend object_p hook after
 	swapping in all the section headers.
 	(map_program_segments): Correct typo: Internal for External.

==== //depot/projects/trustedbsd/base/contrib/binutils/bfd/archures.c#5 (text+ko) ====

@@ -288,7 +288,9 @@
 .  const char *arch_name;
 .  const char *printable_name;
 .  unsigned int section_align_power;
-.  {* True if this is the default machine for the architecture.  *}
+.  {* True if this is the default machine for the architecture.
+.     The default arch should be the first entry for an arch so that
+.     all the entries for that arch can be accessed via <<next>>.  *}
 .  boolean the_default;
 .  const struct bfd_arch_info * (*compatible)
 .	PARAMS ((const struct bfd_arch_info *a,
@@ -604,21 +606,9 @@
      enum bfd_architecture arch;
      unsigned long mach;
 {
-  const bfd_arch_info_type * const *app, *ap;
-
-  for (app = bfd_archures_list; *app != NULL; app++)
-    {
-      for (ap = *app; ap != NULL; ap = ap->next)
-	{
-	  if (ap->arch == arch
-	      && (ap->mach == mach
-		  || (mach == 0 && ap->the_default)))
-	    {
-	      abfd->arch_info = ap;
-	      return true;
-	    }
-	}
-    }
+  abfd->arch_info = bfd_lookup_arch (arch, mach);
+  if (abfd->arch_info != NULL)
+    return true;
 
   abfd->arch_info = &bfd_default_arch_struct;
   bfd_set_error (bfd_error_bad_value);

==== //depot/projects/trustedbsd/base/contrib/binutils/bfd/bfd-in2.h#5 (text+ko) ====

@@ -1657,7 +1657,9 @@
   const char *arch_name;
   const char *printable_name;
   unsigned int section_align_power;
-  /* True if this is the default machine for the architecture.  */
+  /* True if this is the default machine for the architecture.
+     The default arch should be the first entry for an arch so that
+     all the entries for that arch can be accessed via <<next>>.  */
   boolean the_default;
   const struct bfd_arch_info * (*compatible)
        PARAMS ((const struct bfd_arch_info *a,
@@ -2194,55 +2196,6 @@
   BFD_RELOC_MIPS_REL16,
   BFD_RELOC_MIPS_RELGOT,
   BFD_RELOC_MIPS_JALR,
-  BFD_RELOC_SH_GOT_LOW16,
-  BFD_RELOC_SH_GOT_MEDLOW16,
-  BFD_RELOC_SH_GOT_MEDHI16,
-  BFD_RELOC_SH_GOT_HI16,
-  BFD_RELOC_SH_GOTPLT_LOW16,
-  BFD_RELOC_SH_GOTPLT_MEDLOW16,
-  BFD_RELOC_SH_GOTPLT_MEDHI16,
-  BFD_RELOC_SH_GOTPLT_HI16,
-  BFD_RELOC_SH_PLT_LOW16,
-  BFD_RELOC_SH_PLT_MEDLOW16,
-  BFD_RELOC_SH_PLT_MEDHI16,
-  BFD_RELOC_SH_PLT_HI16,
-  BFD_RELOC_SH_GOTOFF_LOW16,
-  BFD_RELOC_SH_GOTOFF_MEDLOW16,
-  BFD_RELOC_SH_GOTOFF_MEDHI16,
-  BFD_RELOC_SH_GOTOFF_HI16,
-  BFD_RELOC_SH_GOTPC_LOW16,
-  BFD_RELOC_SH_GOTPC_MEDLOW16,
-  BFD_RELOC_SH_GOTPC_MEDHI16,
-  BFD_RELOC_SH_GOTPC_HI16,
-  BFD_RELOC_SH_COPY64,
-  BFD_RELOC_SH_GLOB_DAT64,
-  BFD_RELOC_SH_JMP_SLOT64,
-  BFD_RELOC_SH_RELATIVE64,
-  BFD_RELOC_SH_GOT10BY4,
-  BFD_RELOC_SH_GOT10BY8,
-  BFD_RELOC_SH_GOTPLT10BY4,
-  BFD_RELOC_SH_GOTPLT10BY8,
-  BFD_RELOC_SH_GOTPLT32,
-  BFD_RELOC_SH_SHMEDIA_CODE,
-  BFD_RELOC_SH_IMMU5,
-  BFD_RELOC_SH_IMMS6,
-  BFD_RELOC_SH_IMMS6BY32,
-  BFD_RELOC_SH_IMMU6,
-  BFD_RELOC_SH_IMMS10,
-  BFD_RELOC_SH_IMMS10BY2,
-  BFD_RELOC_SH_IMMS10BY4,
-  BFD_RELOC_SH_IMMS10BY8,
-  BFD_RELOC_SH_IMMS16,
-  BFD_RELOC_SH_IMMU16,
-  BFD_RELOC_SH_IMM_LOW16,
-  BFD_RELOC_SH_IMM_LOW16_PCREL,
-  BFD_RELOC_SH_IMM_MEDLOW16,
-  BFD_RELOC_SH_IMM_MEDLOW16_PCREL,
-  BFD_RELOC_SH_IMM_MEDHI16,
-  BFD_RELOC_SH_IMM_MEDHI16_PCREL,
-  BFD_RELOC_SH_IMM_HI16,
-  BFD_RELOC_SH_IMM_HI16_PCREL,
-  BFD_RELOC_SH_PT_16,
 
 
 /* i386/elf relocations  */
@@ -2423,6 +2376,55 @@
   BFD_RELOC_SH_JMP_SLOT,
   BFD_RELOC_SH_RELATIVE,
   BFD_RELOC_SH_GOTPC,
+  BFD_RELOC_SH_GOT_LOW16,
+  BFD_RELOC_SH_GOT_MEDLOW16,
+  BFD_RELOC_SH_GOT_MEDHI16,
+  BFD_RELOC_SH_GOT_HI16,
+  BFD_RELOC_SH_GOTPLT_LOW16,
+  BFD_RELOC_SH_GOTPLT_MEDLOW16,
+  BFD_RELOC_SH_GOTPLT_MEDHI16,
+  BFD_RELOC_SH_GOTPLT_HI16,
+  BFD_RELOC_SH_PLT_LOW16,
+  BFD_RELOC_SH_PLT_MEDLOW16,
+  BFD_RELOC_SH_PLT_MEDHI16,
+  BFD_RELOC_SH_PLT_HI16,
+  BFD_RELOC_SH_GOTOFF_LOW16,
+  BFD_RELOC_SH_GOTOFF_MEDLOW16,
+  BFD_RELOC_SH_GOTOFF_MEDHI16,
+  BFD_RELOC_SH_GOTOFF_HI16,
+  BFD_RELOC_SH_GOTPC_LOW16,
+  BFD_RELOC_SH_GOTPC_MEDLOW16,
+  BFD_RELOC_SH_GOTPC_MEDHI16,
+  BFD_RELOC_SH_GOTPC_HI16,
+  BFD_RELOC_SH_COPY64,
+  BFD_RELOC_SH_GLOB_DAT64,
+  BFD_RELOC_SH_JMP_SLOT64,
+  BFD_RELOC_SH_RELATIVE64,
+  BFD_RELOC_SH_GOT10BY4,
+  BFD_RELOC_SH_GOT10BY8,
+  BFD_RELOC_SH_GOTPLT10BY4,
+  BFD_RELOC_SH_GOTPLT10BY8,
+  BFD_RELOC_SH_GOTPLT32,
+  BFD_RELOC_SH_SHMEDIA_CODE,
+  BFD_RELOC_SH_IMMU5,
+  BFD_RELOC_SH_IMMS6,
+  BFD_RELOC_SH_IMMS6BY32,
+  BFD_RELOC_SH_IMMU6,
+  BFD_RELOC_SH_IMMS10,
+  BFD_RELOC_SH_IMMS10BY2,
+  BFD_RELOC_SH_IMMS10BY4,
+  BFD_RELOC_SH_IMMS10BY8,
+  BFD_RELOC_SH_IMMS16,
+  BFD_RELOC_SH_IMMU16,
+  BFD_RELOC_SH_IMM_LOW16,
+  BFD_RELOC_SH_IMM_LOW16_PCREL,
+  BFD_RELOC_SH_IMM_MEDLOW16,
+  BFD_RELOC_SH_IMM_MEDLOW16_PCREL,
+  BFD_RELOC_SH_IMM_MEDHI16,
+  BFD_RELOC_SH_IMM_MEDHI16_PCREL,
+  BFD_RELOC_SH_IMM_HI16,
+  BFD_RELOC_SH_IMM_HI16_PCREL,
+  BFD_RELOC_SH_PT_16,
 
 /* Thumb 23-, 12- and 9-bit pc-relative branches.  The lowest bit must
 be zero and is not stored in the instruction.  */

==== //depot/projects/trustedbsd/base/contrib/binutils/bfd/coff-arm.c#5 (text+ko) ====

@@ -87,12 +87,16 @@
   PARAMS ((bfd *, arelent *, asymbol *, PTR, asection *, bfd *, char **));
 static bfd_reloc_status_type aoutarm_fix_pcrel_26
   PARAMS ((bfd *, arelent *, asymbol *, PTR, asection *, bfd *, char **));
+#ifndef ARM_WINCE
 static bfd_reloc_status_type coff_thumb_pcrel_23
   PARAMS ((bfd *, arelent *, asymbol *, PTR, asection *, bfd *, char **));
+static bfd_reloc_status_type coff_thumb_pcrel_9
+  PARAMS ((bfd *, arelent *, asymbol *, PTR, asection *, bfd *, char **));
+static insn32 insert_thumb_branch
+  PARAMS ((insn32, int));
+#endif
 static bfd_reloc_status_type coff_thumb_pcrel_12
   PARAMS ((bfd *, arelent *, asymbol *, PTR, asection *, bfd *, char **));
-static bfd_reloc_status_type coff_thumb_pcrel_9
-  PARAMS ((bfd *, arelent *, asymbol *, PTR, asection *, bfd *, char **));
 static bfd_reloc_status_type coff_arm_reloc
   PARAMS ((bfd *, arelent *, asymbol *, PTR, asection *, bfd *, char **));
 static boolean coff_arm_adjust_symndx
@@ -109,8 +113,6 @@
   PARAMS ((bfd *, bfd_reloc_code_real_type));
 static struct bfd_link_hash_table * coff_arm_link_hash_table_create
   PARAMS ((bfd *));
-static insn32 insert_thumb_branch
-  PARAMS ((insn32, int));
 static struct coff_link_hash_entry * find_thumb_glue
   PARAMS ((struct bfd_link_info *, const char *, bfd *));
 static struct coff_link_hash_entry * find_arm_glue
@@ -118,9 +120,11 @@
 #ifndef COFF_IMAGE_WITH_PE
 static void record_arm_to_thumb_glue
   PARAMS ((struct bfd_link_info *, struct coff_link_hash_entry *));
+#ifndef ARM_WINCE
 static void record_thumb_to_arm_glue
   PARAMS ((struct bfd_link_info *, struct coff_link_hash_entry *));
 #endif
+#endif
 static boolean coff_arm_merge_private_bfd_data
   PARAMS ((bfd *, bfd *));
 static boolean coff_arm_print_private_bfd_data
@@ -801,6 +805,7 @@
   return flag;
 }
 
+#ifndef ARM_WINCE
 static bfd_reloc_status_type
 coff_thumb_pcrel_23 (abfd, reloc_entry, symbol, data, input_section,
 		     output_bfd, error_message)
@@ -818,7 +823,7 @@
 }
 
 static bfd_reloc_status_type
-coff_thumb_pcrel_12 (abfd, reloc_entry, symbol, data, input_section,
+coff_thumb_pcrel_9 (abfd, reloc_entry, symbol, data, input_section,
 		     output_bfd, error_message)
      bfd *abfd;
      arelent *reloc_entry;
@@ -830,11 +835,12 @@
 {
   return coff_thumb_pcrel_common (abfd, reloc_entry, symbol, data,
                                   input_section, output_bfd, error_message,
-				  b12);
+				  b9);
 }
+#endif /* not ARM_WINCE */
 
 static bfd_reloc_status_type
-coff_thumb_pcrel_9 (abfd, reloc_entry, symbol, data, input_section,
+coff_thumb_pcrel_12 (abfd, reloc_entry, symbol, data, input_section,
 		     output_bfd, error_message)
      bfd *abfd;
      arelent *reloc_entry;
@@ -846,7 +852,7 @@
 {
   return coff_thumb_pcrel_common (abfd, reloc_entry, symbol, data,
                                   input_section, output_bfd, error_message,
-				  b9);
+				  b12);
 }
 
 static const struct reloc_howto_struct *
@@ -900,10 +906,12 @@
 #define BADMAG(x) ARMBADMAG(x)
 #define ARM 1			/* Customize coffcode.h */
 
+#ifndef ARM_WINCE
 /* Make sure that the 'r_offset' field is copied properly
    so that identical binaries will compare the same.  */
 #define SWAP_IN_RELOC_OFFSET	H_GET_32
 #define SWAP_OUT_RELOC_OFFSET	H_PUT_32
+#endif
 
 /* Extend the coff_link_hash_table structure with a few ARM specific fields.
    This allows us to store global data here without actually creating any
@@ -975,6 +983,7 @@
 
 }
 
+#ifndef ARM_WINCE
 /* The thumb form of a long branch is a bit finicky, because the offset
    encoding is split over two fields, each in it's own instruction. They
    can occur in any order. So given a thumb form of long branch, and an
@@ -1031,6 +1040,7 @@
 
   return br_insn;
 }
+
 
 static struct coff_link_hash_entry *
 find_thumb_glue (info, name, input_bfd)
@@ -1060,6 +1070,7 @@
 
   return myh;
 }
+#endif /* not ARM_WINCE */
 
 static struct coff_link_hash_entry *
 find_arm_glue (info, name, input_bfd)
@@ -1914,6 +1925,7 @@
   return;
 }
 
+#ifndef ARM_WINCE
 static void
 record_thumb_to_arm_glue (info, h)
      struct bfd_link_info *        info;
@@ -1987,6 +1999,7 @@
 
   return;
 }
+#endif /* not ARM_WINCE */
 
 /* Select a BFD to be used to hold the sections used by the glue code.
    This function is called from the linker scripts in ld/emultempl/

==== //depot/projects/trustedbsd/base/contrib/binutils/bfd/coffcode.h#5 (text+ko) ====

@@ -3014,6 +3014,7 @@
 	else
 	  current->target_index = target_index++;
       }
+    abfd->section_tail = &current->next;
 
     free (section_list);
   }

==== //depot/projects/trustedbsd/base/contrib/binutils/bfd/config.in#3 (text+ko) ====

@@ -214,6 +214,9 @@
 /* Define if getenv is not declared in system header files. */
 #undef NEED_DECLARATION_GETENV
 
+/* Define if struct core_dumpx has member c_impl */
+#undef HAVE_ST_C_IMPL
+
 /* Define if <sys/procfs.h> has prstatus_t. */
 #undef HAVE_PRSTATUS_T
 

==== //depot/projects/trustedbsd/base/contrib/binutils/bfd/configure#6 (text+ko) ====

@@ -1199,7 +1199,7 @@
 
 
 # Uncomment the next line to remove the date from the reported bfd version
-#is_release=y
+is_release=y
 
 bfd_version=`echo "${VERSION}" | sed -e 's/\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\).*/\1.00\2.00\3.00\4.00\5/' -e 's/\([^\.]*\)\..*\(..\)\..*\(..\)\..*\(..\)\..*\(..\)$/\1\2\3\4\5/'`
 
@@ -5173,6 +5173,32 @@
   rs6000-*-aix4.[3-9]* | powerpc-*-aix4.[3-9]*)
         COREFILE=rs6000-core.lo
 	COREFLAG="$COREFLAG -DAIX_CORE_DUMPX_CORE"
+	# Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
+	# have c_impl as a member of struct core_dumpx
+	echo $ac_n "checking for c_impl in struct core_dumpx""... $ac_c" 1>&6
+echo "configure:5180: checking for c_impl in struct core_dumpx" >&5
+	cat > conftest.$ac_ext <<EOF
+#line 5182 "configure"
+#include "confdefs.h"
+#include <core.h>
+int main() {
+struct core_dumpx c; c.c_impl = 0;
+; return 0; }
+EOF
+if { (eval echo configure:5189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+  rm -rf conftest*
+  cat >> confdefs.h <<\EOF
+#define HAVE_ST_C_IMPL 1
+EOF
+
+	  echo "$ac_t""yes" 1>&6
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  rm -rf conftest*
+  echo "$ac_t""no" 1>&6
+fi
+rm -f conftest*
 	;;
   rs6000-*-aix4*)	COREFILE=rs6000-core.lo ;;
   rs6000-*-*)		COREFILE=rs6000-core.lo ;;
@@ -5226,17 +5252,17 @@
 do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:5230: checking for $ac_hdr" >&5
+echo "configure:5256: checking for $ac_hdr" >&5
 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 5235 "configure"
+#line 5261 "configure"
 #include "confdefs.h"
 #include <$ac_hdr>
 EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:5240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:5266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 if test -z "$ac_err"; then
   rm -rf conftest*
@@ -5264,12 +5290,12 @@
 
   if test "$ac_cv_header_sys_procfs_h" = yes; then
     echo $ac_n "checking for prstatus_t in sys/procfs.h""... $ac_c" 1>&6
-echo "configure:5268: checking for prstatus_t in sys/procfs.h" >&5
+echo "configure:5294: checking for prstatus_t in sys/procfs.h" >&5
  if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prstatus_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 5273 "configure"
+#line 5299 "configure"
 #include "confdefs.h"
 
 #define _SYSCALL32
@@ -5278,7 +5304,7 @@
 prstatus_t avar
 ; return 0; }
 EOF
-if { (eval echo configure:5282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:5308: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   bfd_cv_have_sys_procfs_type_prstatus_t=yes
 else
@@ -5300,12 +5326,12 @@
  echo "$ac_t""$bfd_cv_have_sys_procfs_type_prstatus_t" 1>&6
 
     echo $ac_n "checking for prstatus32_t in sys/procfs.h""... $ac_c" 1>&6
-echo "configure:5304: checking for prstatus32_t in sys/procfs.h" >&5
+echo "configure:5330: checking for prstatus32_t in sys/procfs.h" >&5
  if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prstatus32_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 5309 "configure"
+#line 5335 "configure"
 #include "confdefs.h"
 
 #define _SYSCALL32
@@ -5314,7 +5340,7 @@
 prstatus32_t avar
 ; return 0; }
 EOF
-if { (eval echo configure:5318: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:5344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   bfd_cv_have_sys_procfs_type_prstatus32_t=yes
 else
@@ -5336,12 +5362,12 @@
  echo "$ac_t""$bfd_cv_have_sys_procfs_type_prstatus32_t" 1>&6
 
     echo $ac_n "checking for prstatus_t.pr_who in sys/procfs.h""... $ac_c" 1>&6
-echo "configure:5340: checking for prstatus_t.pr_who in sys/procfs.h" >&5
+echo "configure:5366: checking for prstatus_t.pr_who in sys/procfs.h" >&5
  if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 5345 "configure"
+#line 5371 "configure"
 #include "confdefs.h"
 
 #define _SYSCALL32
@@ -5350,7 +5376,7 @@
 prstatus_t avar; void* aref = (void*) &avar.pr_who
 ; return 0; }
 EOF
-if { (eval echo configure:5354: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:5380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=yes
 else
@@ -5372,12 +5398,12 @@
  echo "$ac_t""$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" 1>&6
 
     echo $ac_n "checking for prstatus32_t.pr_who in sys/procfs.h""... $ac_c" 1>&6
-echo "configure:5376: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
+echo "configure:5402: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
  if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 5381 "configure"
+#line 5407 "configure"
 #include "confdefs.h"
 
 #define _SYSCALL32
@@ -5386,7 +5412,7 @@
 prstatus32_t avar; void* aref = (void*) &avar.pr_who
 ; return 0; }
 EOF
-if { (eval echo configure:5390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:5416: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=yes
 else
@@ -5408,12 +5434,12 @@
  echo "$ac_t""$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" 1>&6
 
     echo $ac_n "checking for pstatus_t in sys/procfs.h""... $ac_c" 1>&6
-echo "configure:5412: checking for pstatus_t in sys/procfs.h" >&5
+echo "configure:5438: checking for pstatus_t in sys/procfs.h" >&5
  if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 5417 "configure"
+#line 5443 "configure"
 #include "confdefs.h"
 
 #define _SYSCALL32
@@ -5422,7 +5448,7 @@
 pstatus_t avar
 ; return 0; }
 EOF
-if { (eval echo configure:5426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:5452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   bfd_cv_have_sys_procfs_type_pstatus_t=yes
 else
@@ -5444,12 +5470,12 @@
  echo "$ac_t""$bfd_cv_have_sys_procfs_type_pstatus_t" 1>&6
 
     echo $ac_n "checking for pxstatus_t in sys/procfs.h""... $ac_c" 1>&6
-echo "configure:5448: checking for pxstatus_t in sys/procfs.h" >&5
+echo "configure:5474: checking for pxstatus_t in sys/procfs.h" >&5
  if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pxstatus_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 5453 "configure"
+#line 5479 "configure"

>>> TRUNCATED FOR MAIL (1000 lines) <<<

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207070449.g674nXYG030128>