Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 2002 21:27:04 -0800 (PST)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 21839 for review
Message-ID:  <200212030527.gB35R4mv004839@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=21839

Change 21839 by marcel@marcel_vaio on 2002/12/02 21:26:48

	IFC @21837

Affected files ...

.. //depot/projects/ia64/Makefile#17 integrate
.. //depot/projects/ia64/Makefile.inc1#42 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/ChangeLog#8 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/Makefile.am#5 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/Makefile.in#5 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/aout-tic30.c#3 delete
.. //depot/projects/ia64/contrib/binutils/bfd/aoutx.h#5 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/archive.c#5 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/bfd-in.h#4 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/bfd-in2.h#6 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/bfd.c#4 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/binary.c#4 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/coff-arm.c#6 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/coff-mips.c#3 delete
.. //depot/projects/ia64/contrib/binutils/bfd/coff-tic30.c#3 delete
.. //depot/projects/ia64/contrib/binutils/bfd/coff-z8k.c#3 delete
.. //depot/projects/ia64/contrib/binutils/bfd/coffcode.h#6 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/coffgen.c#4 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/cofflink.c#5 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/config.bfd#4 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/config.in#4 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/configure#7 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/configure.in#7 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/cpu-mips.c#3 delete
.. //depot/projects/ia64/contrib/binutils/bfd/cpu-tic30.c#2 delete
.. //depot/projects/ia64/contrib/binutils/bfd/cpu-v850.c#3 delete
.. //depot/projects/ia64/contrib/binutils/bfd/cpu-z8k.c#3 delete
.. //depot/projects/ia64/contrib/binutils/bfd/doc/Makefile.in#5 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/doc/bfdt.texi#4 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/doc/coffcode.texi#3 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/doc/reloc.texi#5 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/dwarf2.c#6 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/ecoff.c#5 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/elf-bfd.h#6 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/elf-eh-frame.c#5 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/elf.c#7 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/elf32-arm.h#6 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/elf32-i386.c#5 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/elf32-mips.c#4 delete
.. //depot/projects/ia64/contrib/binutils/bfd/elf32-s390.c#2 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/elf32-sparc.c#5 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/elf32-v850.c#3 delete
.. //depot/projects/ia64/contrib/binutils/bfd/elf64-alpha.c#7 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/elf64-mips.c#3 delete
.. //depot/projects/ia64/contrib/binutils/bfd/elf64-ppc.c#6 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/elf64-s390.c#2 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/elf64-sparc.c#6 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/elflink.c#5 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/elflink.h#7 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/elfxx-ia64.c#6 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/elfxx-target.h#6 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/format.c#4 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/gen-aout.c#3 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/libbfd.c#5 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/libcoff.h#4 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/linker.c#5 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/merge.c#4 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/mipsbsd.c#3 delete
.. //depot/projects/ia64/contrib/binutils/bfd/pe-mips.c#3 delete
.. //depot/projects/ia64/contrib/binutils/bfd/peicode.h#3 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/po/SRC-POTFILES.in#4 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/po/bfd.pot#4 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/reloc.c#5 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/section.c#4 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/srec.c#5 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/stabs.c#4 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/syms.c#6 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/targets.c#4 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/version.h#6 integrate
.. //depot/projects/ia64/contrib/binutils/bfd/xcofflink.c#5 integrate
.. //depot/projects/ia64/contrib/binutils/binutils/ChangeLog#7 integrate
.. //depot/projects/ia64/contrib/binutils/binutils/bucomm.c#4 integrate
.. //depot/projects/ia64/contrib/binutils/binutils/configure#6 integrate
.. //depot/projects/ia64/contrib/binutils/binutils/configure.in#7 integrate
.. //depot/projects/ia64/contrib/binutils/binutils/nm.c#5 integrate
.. //depot/projects/ia64/contrib/binutils/binutils/objdump.c#4 integrate
.. //depot/projects/ia64/contrib/binutils/binutils/po/binutils.pot#4 integrate
.. //depot/projects/ia64/contrib/binutils/binutils/rcparse.c#4 delete
.. //depot/projects/ia64/contrib/binutils/binutils/rcparse.h#4 delete
.. //depot/projects/ia64/contrib/binutils/binutils/readelf.c#5 integrate
.. //depot/projects/ia64/contrib/binutils/binutils/strings.c#4 integrate
.. //depot/projects/ia64/contrib/binutils/etc/ChangeLog#2 integrate
.. //depot/projects/ia64/contrib/binutils/gas/ChangeLog#7 integrate
.. //depot/projects/ia64/contrib/binutils/gas/config/obj-elf.c#5 integrate
.. //depot/projects/ia64/contrib/binutils/gas/config/tc-alpha.c#5 integrate
.. //depot/projects/ia64/contrib/binutils/gas/config/tc-alpha.h#4 integrate
.. //depot/projects/ia64/contrib/binutils/gas/config/tc-i386.c#6 integrate
.. //depot/projects/ia64/contrib/binutils/gas/config/tc-i386.h#5 integrate
.. //depot/projects/ia64/contrib/binutils/gas/config/tc-ia64.c#7 integrate
.. //depot/projects/ia64/contrib/binutils/gas/config/tc-ppc.c#6 integrate
.. //depot/projects/ia64/contrib/binutils/gas/config/tc-s390.c#2 integrate
.. //depot/projects/ia64/contrib/binutils/gas/config/tc-s390.h#2 integrate
.. //depot/projects/ia64/contrib/binutils/gas/config/tc-sparc.c#4 integrate
.. //depot/projects/ia64/contrib/binutils/gas/config/tc-tic30.c#3 delete
.. //depot/projects/ia64/contrib/binutils/gas/config/tc-tic30.h#2 delete
.. //depot/projects/ia64/contrib/binutils/gas/config/tc-v850.c#3 delete
.. //depot/projects/ia64/contrib/binutils/gas/config/tc-v850.h#3 delete
.. //depot/projects/ia64/contrib/binutils/gas/config/tc-z8k.c#3 delete
.. //depot/projects/ia64/contrib/binutils/gas/config/tc-z8k.h#2 delete
.. //depot/projects/ia64/contrib/binutils/gas/config/te-freebsd.h#2 integrate
.. //depot/projects/ia64/contrib/binutils/gas/configure#5 integrate
.. //depot/projects/ia64/contrib/binutils/gas/configure.in#5 integrate
.. //depot/projects/ia64/contrib/binutils/gas/doc/as.1#5 integrate
.. //depot/projects/ia64/contrib/binutils/gas/doc/c-v850.texi#2 delete
.. //depot/projects/ia64/contrib/binutils/gas/doc/c-z8k.texi#2 delete
.. //depot/projects/ia64/contrib/binutils/gas/itbl-lex.l#3 integrate
.. //depot/projects/ia64/contrib/binutils/gas/itbl-ops.c#3 integrate
.. //depot/projects/ia64/contrib/binutils/gas/itbl-parse.y#2 integrate
.. //depot/projects/ia64/contrib/binutils/gas/po/gas.pot#4 integrate
.. //depot/projects/ia64/contrib/binutils/gas/write.c#5 integrate
.. //depot/projects/ia64/contrib/binutils/gprof/po/Make-in#2 integrate
.. //depot/projects/ia64/contrib/binutils/gprof/po/gprof.pot#2 integrate
.. //depot/projects/ia64/contrib/binutils/include/ChangeLog#4 integrate
.. //depot/projects/ia64/contrib/binutils/include/ansidecl.h#3 integrate
.. //depot/projects/ia64/contrib/binutils/include/opcode/mips.h#3 delete
.. //depot/projects/ia64/contrib/binutils/include/opcode/tic30.h#2 delete
.. //depot/projects/ia64/contrib/binutils/include/opcode/v850.h#3 delete
.. //depot/projects/ia64/contrib/binutils/ld/ChangeLog#8 integrate
.. //depot/projects/ia64/contrib/binutils/ld/configure.host#6 integrate
.. //depot/projects/ia64/contrib/binutils/ld/configure.tgt#5 integrate
.. //depot/projects/ia64/contrib/binutils/ld/emulparams/elf32ppc.sh#4 integrate
.. //depot/projects/ia64/contrib/binutils/ld/emulparams/elf64_s390.sh#2 integrate
.. //depot/projects/ia64/contrib/binutils/ld/emulparams/elf64_sparc.sh#4 integrate
.. //depot/projects/ia64/contrib/binutils/ld/emulparams/elf64alpha.sh#4 integrate
.. //depot/projects/ia64/contrib/binutils/ld/emulparams/elf64ppc.sh#3 integrate
.. //depot/projects/ia64/contrib/binutils/ld/emulparams/elf_x86_64.sh#5 integrate
.. //depot/projects/ia64/contrib/binutils/ld/emulparams/shelf.sh#3 delete
.. //depot/projects/ia64/contrib/binutils/ld/emulparams/shelf_linux.sh#3 delete
.. //depot/projects/ia64/contrib/binutils/ld/emulparams/tic30aout.sh#2 delete
.. //depot/projects/ia64/contrib/binutils/ld/emulparams/tic30coff.sh#2 delete
.. //depot/projects/ia64/contrib/binutils/ld/emulparams/v850.sh#2 delete
.. //depot/projects/ia64/contrib/binutils/ld/emulparams/z8001.sh#2 delete
.. //depot/projects/ia64/contrib/binutils/ld/emulparams/z8002.sh#2 delete
.. //depot/projects/ia64/contrib/binutils/ld/emultempl/elf32.em#5 integrate
.. //depot/projects/ia64/contrib/binutils/ld/emultempl/pe.em#4 integrate
.. //depot/projects/ia64/contrib/binutils/ld/ld.1#5 integrate
.. //depot/projects/ia64/contrib/binutils/ld/ldctor.c#3 integrate
.. //depot/projects/ia64/contrib/binutils/ld/ldexp.c#4 integrate
.. //depot/projects/ia64/contrib/binutils/ld/ldfile.c#4 integrate
.. //depot/projects/ia64/contrib/binutils/ld/ldgram.y#4 integrate
.. //depot/projects/ia64/contrib/binutils/ld/ldlang.c#7 integrate
.. //depot/projects/ia64/contrib/binutils/ld/ldlang.h#4 integrate
.. //depot/projects/ia64/contrib/binutils/ld/ldlex.l#4 integrate
.. //depot/projects/ia64/contrib/binutils/ld/ldmain.c#5 integrate
.. //depot/projects/ia64/contrib/binutils/ld/ldmisc.c#4 integrate
.. //depot/projects/ia64/contrib/binutils/ld/ldwrite.c#3 integrate
.. //depot/projects/ia64/contrib/binutils/ld/lexsup.c#4 integrate
.. //depot/projects/ia64/contrib/binutils/ld/mri.c#4 integrate
.. //depot/projects/ia64/contrib/binutils/ld/pe-dll.c#4 integrate
.. //depot/projects/ia64/contrib/binutils/ld/po/ld.pot#4 integrate
.. //depot/projects/ia64/contrib/binutils/ld/scripttempl/pe.sc#3 integrate
.. //depot/projects/ia64/contrib/binutils/ld/scripttempl/tic30aout.sc#2 delete
.. //depot/projects/ia64/contrib/binutils/ld/scripttempl/tic30coff.sc#2 delete
.. //depot/projects/ia64/contrib/binutils/ld/scripttempl/v850.sc#3 delete
.. //depot/projects/ia64/contrib/binutils/ld/scripttempl/z8000.sc#2 delete
.. //depot/projects/ia64/contrib/binutils/libiberty/ChangeLog#4 integrate
.. //depot/projects/ia64/contrib/binutils/libiberty/config.table#4 integrate
.. //depot/projects/ia64/contrib/binutils/opcodes/ChangeLog#7 integrate
.. //depot/projects/ia64/contrib/binutils/opcodes/po/opcodes.pot#4 integrate
.. //depot/projects/ia64/contrib/binutils/opcodes/sparc-opc.c#2 integrate
.. //depot/projects/ia64/contrib/binutils/opcodes/tic30-dis.c#2 delete
.. //depot/projects/ia64/contrib/binutils/opcodes/v850-dis.c#3 delete
.. //depot/projects/ia64/contrib/binutils/opcodes/v850-opc.c#3 delete
.. //depot/projects/ia64/contrib/binutils/opcodes/z8k-dis.c#3 delete
.. //depot/projects/ia64/contrib/binutils/opcodes/z8k-opc.h#3 delete
.. //depot/projects/ia64/contrib/binutils/opcodes/z8kgen.c#3 delete
.. //depot/projects/ia64/contrib/gcc/config/freebsd-spec.h#6 integrate
.. //depot/projects/ia64/gnu/usr.bin/binutils/Makefile.inc0#9 integrate
.. //depot/projects/ia64/gnu/usr.bin/binutils/as/Makefile.inc0#7 integrate
.. //depot/projects/ia64/gnu/usr.bin/binutils/as/alpha-freebsd/config.h#6 integrate
.. //depot/projects/ia64/gnu/usr.bin/binutils/as/i386-freebsd/config.h#6 integrate
.. //depot/projects/ia64/gnu/usr.bin/binutils/as/sparc64-freebsd/config.h#7 integrate
.. //depot/projects/ia64/gnu/usr.bin/binutils/ld/Makefile.alpha#6 integrate
.. //depot/projects/ia64/gnu/usr.bin/binutils/ld/config.h#5 integrate
.. //depot/projects/ia64/gnu/usr.bin/binutils/libbfd/Makefile#8 integrate
.. //depot/projects/ia64/gnu/usr.bin/binutils/libbfd/Makefile.alpha#3 integrate
.. //depot/projects/ia64/gnu/usr.bin/binutils/libbfd/Makefile.i386#3 integrate
.. //depot/projects/ia64/gnu/usr.bin/binutils/libbfd/Makefile.ia64#2 integrate
.. //depot/projects/ia64/gnu/usr.bin/binutils/libbfd/Makefile.powerpc#3 integrate
.. //depot/projects/ia64/gnu/usr.bin/binutils/libbfd/Makefile.sparc64#2 integrate
.. //depot/projects/ia64/gnu/usr.bin/binutils/libbfd/Makefile.x86-64#2 integrate
.. //depot/projects/ia64/gnu/usr.bin/binutils/libbfd/alpha/bfd.h#7 integrate
.. //depot/projects/ia64/gnu/usr.bin/binutils/libbfd/config.h.fbsd#5 integrate
.. //depot/projects/ia64/gnu/usr.bin/binutils/libbfd/i386/bfd.h#8 integrate
.. //depot/projects/ia64/gnu/usr.bin/binutils/libbfd/ia64/bfd.h#6 integrate
.. //depot/projects/ia64/gnu/usr.bin/binutils/libbfd/powerpc/bfd.h#6 integrate
.. //depot/projects/ia64/gnu/usr.bin/binutils/libbfd/sparc64/bfd.h#8 integrate
.. //depot/projects/ia64/gnu/usr.bin/binutils/libbinutils/config.h#6 integrate
.. //depot/projects/ia64/gnu/usr.bin/binutils/libiberty/config.h#3 integrate
.. //depot/projects/ia64/gnu/usr.bin/binutils/libopcodes/config.h#5 integrate
.. //depot/projects/ia64/lib/libdisk/chunk.c#9 integrate
.. //depot/projects/ia64/release/Makefile#27 integrate
.. //depot/projects/ia64/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml#56 integrate
.. //depot/projects/ia64/sbin/disklabel/disklabel.c#19 integrate
.. //depot/projects/ia64/sbin/fsck_ffs/setup.c#13 integrate
.. //depot/projects/ia64/sbin/newfs/mkfs.c#20 integrate
.. //depot/projects/ia64/sys/dev/vinum/vinumconfig.c#6 integrate
.. //depot/projects/ia64/sys/dev/vinum/vinumioctl.c#7 integrate
.. //depot/projects/ia64/sys/geom/geom_bsd.c#19 integrate
.. //depot/projects/ia64/sys/geom/geom_slice.c#16 integrate
.. //depot/projects/ia64/sys/geom/geom_slice.h#8 integrate
.. //depot/projects/ia64/sys/i386/i386/genassym.c#9 integrate
.. //depot/projects/ia64/sys/i386/i386/locore.s#6 integrate
.. //depot/projects/ia64/sys/i386/i386/machdep.c#32 integrate
.. //depot/projects/ia64/sys/i386/i386/pmap.c#26 integrate
.. //depot/projects/ia64/sys/i386/include/signal.h#6 integrate
.. //depot/projects/ia64/sys/i386/include/ucontext.h#7 integrate
.. //depot/projects/ia64/sys/sparc64/sparc64/elf_machdep.c#13 integrate
.. //depot/projects/ia64/usr.bin/finger/net.c#6 integrate
.. //depot/projects/ia64/usr.sbin/raycontrol/raycontrol.c#2 integrate
.. //depot/projects/ia64/usr.sbin/setfmac/setfmac.c#3 integrate
.. //depot/projects/ia64/usr.sbin/sysinstall/install.c#13 integrate
.. //depot/projects/ia64/usr.sbin/sysinstall/misc.c#2 integrate
.. //depot/projects/ia64/usr.sbin/sysinstall/sysinstall.h#12 integrate

Differences ...

==== //depot/projects/ia64/Makefile#17 (text+ko) ====

@@ -1,5 +1,5 @@
 #
-# $FreeBSD: src/Makefile,v 1.269 2002/11/28 13:08:09 ru Exp $
+# $FreeBSD: src/Makefile,v 1.270 2002/12/02 14:31:21 ru Exp $
 #
 # The user-driven targets are:
 #
@@ -104,7 +104,9 @@
 .ORDER: buildkernel installkernel
 .ORDER: buildkernel reinstallkernel
 
-PATH=	/sbin:/bin:/usr/sbin:/usr/bin
+MAKEOBJDIRPREFIX?=	/usr/obj
+MAKEPATH=	${MAKEOBJDIRPREFIX}${.CURDIR}/make.${MACHINE_ARCH}
+PATH=	${MAKEPATH}:/sbin:/bin:/usr/sbin:/usr/bin
 MAKE=	PATH=${PATH} make -m ${.CURDIR}/share/mk -f Makefile.inc1
 
 #
@@ -161,21 +163,32 @@
 # for building the world.
 #
 upgrade_checks:
-	@(cd ${.CURDIR}/tools/regression/usr.bin/make && make 2>/dev/null) || \
-	(cd ${.CURDIR} && make make)
+	@(cd ${.CURDIR}/tools/regression/usr.bin/make && \
+	    PATH=${PATH} make 2>/dev/null) || \
+	    (cd ${.CURDIR} && make make)
 
 #
-# Upgrade the installed make to the current version using the installed
+# Upgrade make(1) to the current version using the installed
 # headers, libraries and tools.
 #
+MMAKEENV=	MAKEOBJDIRPREFIX=${MAKEPATH} \
+		DESTDIR= \
+		INSTALL="sh ${.CURDIR}/tools/install.sh"
+MMAKE=		${MMAKEENV} make \
+		-D_UPGRADING \
+		-DNOMAN -DNOSHARED \
+		-DNO_CPU_CFLAGS -DNO_WERROR
+
 make:
 	@echo
 	@echo "--------------------------------------------------------------"
-	@echo " Upgrading the installed make"
+	@echo " Upgrading make(1)"
 	@echo "--------------------------------------------------------------"
 	@cd ${.CURDIR}/usr.bin/make; \
-		make obj && make -D_UPGRADING depend && \
-		make -D_UPGRADING all && make install
+		${MMAKE} obj && \
+		${MMAKE} depend && \
+		${MMAKE} all && \
+		${MMAKE} install DESTDIR=${MAKEPATH} BINDIR=
 
 #
 # Define the upgrade targets. These are listed here in alphabetical

==== //depot/projects/ia64/Makefile.inc1#42 (text+ko) ====

@@ -1,5 +1,5 @@
 #
-# $FreeBSD: src/Makefile.inc1,v 1.312 2002/11/14 19:24:50 ru Exp $
+# $FreeBSD: src/Makefile.inc1,v 1.313 2002/12/02 14:03:40 ru Exp $
 #
 # Make command line options:
 #	-DMAKE_KERBEROS4 to build KerberosIV
@@ -521,7 +521,8 @@
 #
 installkernel reinstallkernel:
 	cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \
-	    ${CROSSENV} ${MAKE} KERNEL=${INSTKERNNAME} ${.TARGET:S/kernel$//}
+	    ${CROSSENV} PATH=${TMPPATH} \
+	    ${MAKE} KERNEL=${INSTKERNNAME} ${.TARGET:S/kernel$//}
 
 #
 # update

==== //depot/projects/ia64/contrib/binutils/bfd/ChangeLog#8 (text+ko) ====

@@ -1,7 +1,276 @@
+2002-11-27  David O'Brien  <obrien@FreeBSD.org>
+
+        * elf.c (_bfd_elf_copy_private_section_data): Don't define bed.
+
+2002-11-21  Richard Henderson  <rth@redhat.com>
+
+        * elflink.h (elf_link_add_object_symbols): Don't overwrite the
+        arch's st_other bits when merging visibilities.
+        (elf_link_output_extsym): Tidy clearing of visibility field.
+
+2002-11-14  David O'Brien  <obrien@FreeBSD.org>
+
+	Merge from mainline:
+	2002-11-12  Thomas Moestl <tmm@FreeBSD.org>
+	* elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): Correct
+	references to large plt symbols.
+
+2002-11-13  Alan Modra  <amodra@bigpond.net.au>
+
+	Merge from mainline.
+	2002-11-07  Alan Modra  <amodra@bigpond.net.au>
+	* elf64-ppc.c: Comment typo fixes.
+	(ppc64_elf_merge_private_bfd_data): Allow BFD_ENDIAN_UNKNOWN input.
+
+2002-11-11  Nick Clifton  <nickc@redhat.com>
+	
+	Import this patch from mainline:
+	
+	2002-09-19  Nick Clifton  <nickc@redhat.com>
+	
+	* elflink.h (elf_fix_symbol_flags): When examining weak symbols,
+	follow indirect links.
+
+2002-11-07  Daniel Jacobowitz  <drow@mvista.com>
+
+	* configure.in: Clear is_release on the branch after release.
+
+2002-11-07  Daniel Jacobowitz  <drow@mvista.com>
+
+	* configure.in: Bump version and set is_release.
+	* configure: Regenerate.
+
+2002-11-07  Nick Clifton  <nickc@redhat.com>
+
+	* po/da.po: Updated Danish translation.
+
+2002-11-07  Graeme Peterson  <gp@qnx.com>
+
+	* Makefile.am: Removed entries for elf32-i386qnx.c and
+	elf32-i386qnx.lo.
+	* Makefile.in: Regenerate.
+	* config.bfd: Changed i[3456]86-*-nto-qnx* targ_defvec from
+	bfd_elf32_i386qnx_vec to bfd_elf32_i386_vec.
+	* configure.in: Removed support for bfd_elf32_i386qnx_vec.
+	* configure: Regenerate.
+	* elf32-i386qnx.c: Removed.
+	* elf.c: Removed calls to QNX specific set_nonloadable_filepos,
+	is_contained_by_filepos, and copy_private_bfd_data_p.
+	* elf32-i386.c: Removed QNX specific #ifdef ELF32_I386_C_INCLUDED.
+	* targets.c: Removed bfd_elf32_i386qnx_vec.
+	* elfxx-target.h: Removed QNX specific elf_backend_set_nonloadable_filepos,
+	elf_backend_is_contained_by_filepos, and elf_backend_copy_private_bfd_data_p.
+	* elf-bfd.h: Removed QNX specific set_nonloadable_filepos,
+	is_contained_by_filepos, and copy_private_bfd_data_p.
+
+2002-11-06  David O'Brien  <obrien@FreeBSD.org>
+	    Alan Modra  <amodra@bigpond.net.au>
+
+	* elf64-sparc.c (sparc64_elf_relocate_section): Adjust addend of
+	dynamic relocs against section symbols for the output section vma.
+
+2002-11-05  Elias Athanasopoulos  <eathan@otenet.gr>
+
+	* vms-gsd.c (_bfd_vms_write_gsd): Check that symbol->udata.p is
+	non-NULL before dereferencing.
+
+2002-11-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+	* vms.c (vms_object_p): Restore the start address when returning
+	NULL.
+
+2002-10-31  David O'Brien  <obrien@FreeBSD.org>
+
+	* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't mix
+	signed and unsigned in comparison.
+
+2002-10-30  Daniel Jacobowitz  <drow@mvista.com>
+
+	* bfd-in2.h: Regenerated.
+	* po/SRC-POTFILES.in: Regenerated.
+	* po/bfd.pot: Regenerated.
+
+2002-10-30  Daniel Jacobowitz  <drow@mvista.com>
+
+	* coffcode.h: Remove extraneous '\'.
+
+2002-10-28  Daniel Jacobowitz  <drow@mvista.com>
+
+	Merge from mainline:
+	2002-10-24  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+	* aoutx.h (NAME(aout,swap_ext_reloc_in)): Cast bytes->r_index to
+	unsigned int.  Cast RELOC_BASE10, RELOC_BASE13 and RELOC_BASE22 to
+	unsigned int.
+	(NAME(aout,final_link)): Cast enum used in assignment.
+	(aout_link_write_symbols): Cast enums in comparisons, int values to
+	boolean, enums in assignments to int.
+	(aout_link_input_section_std): Cast rel->r_index to unsigned int.
+	(aout_link_input_section_ext): Likewise.  Cast enums used in comparisons
+	with unsigned ints.
+	(aout_link_reloc_link_order): Cast enum to int in assignment.
+	* archive.c (_bfd_generic_read_ar_hdr_mag): Cast result of memchr
+	calls to char *.
+	* bfd-in.h (bfd_set_section_vma): Cast enum true to unsigned int in
+	assignment.
+	* bfd-in2.h (bfd_set_section_vma): Likewise.
+	* bfd.c (bfd_record_phdr): Cast enums in assignments.
+	* binary.c (bfd_alloc): Cast enum to long.
+	* coffgen.c (_bfd_coff_is_local_label_name): Cast return to boolean.
+	* dwarf2.c (read_abbrevs): Add casts to enum types.
+	(read_attribute_value): Likewise.
+	(arange_add): Cast result of bfd_zalloc call.
+	(comp_unit_contains_address): Return true and false.
+	(comp_unit_find_nearest_line): Cast return to boolean.
+	* format.c (bfd_check_format_matches, bfd_set_format): Likewise.
+	* gen-aout.c: define macro '_' if not defined.
+	* libbfd.c (bfd_realloc): Cast malloc and realloc to PTR.
+	(bfd_bwrite): Cast bfd_realloc to bfd_byte *.
+	(bfd_write_bigendian_4byte_int): Cast return to boolean.
+	(bfd_seek): Cast bfd_realloc to bfd_byte *.
+	(bfd_generic_is_local_label_name): Cast return to boolean.
+	* libcoff.h (_bfd_coff_adjust_symndx): Remove extraneous '\'.
+	* linker.c (_bfd_link_hash_newfunc): Cast bfd_hash_allocate result to
+	struct bfd_hash_entry *.
+	(_bfd_generic_link_hash_newfunc): likewise.
+	(_bfd_generic_final_link): Cast enum to unsigned int.
+	* merge.c (sec_merge_emit): Cast return to boolean.
+	(merge_strings): Add casts to const unsigned char *.
+	* reloc.c (bfd_get_reloc_code_name): Cast enums in comparison to int.
+	(bfd_generic_get_relocated_section_content): Cast enum to unsigned int.
+	* section.c (bfd_section_hash_newfunc): Cast bfd_hash_allocate result to
+	struct bfd_hash_entry *.
+	(bfd_set_section_content): Add cast to PTR in comparison.
+	* srec.c (S3Forced): Initialize to false.
+	(srec_get_symtab): Cast return value from bfd_alloc to asymbol *.
+	* stabs.c (_bfd_link_section_stabs): Cast enum to int in comparisons.
+	(_bfd_discard_section_stabs): Likewise.  Also cast return to boolean.
+	* syms.c (bfd_is_undefined_symclass): Cast return to boolean.
+	(_bfd_stab_section_find_nearest_line): Cast enum to bfd_byte in
+	comparisons.
+
+	2002-10-23  Jakub Jelinek  <jakub@redhat.com>
+	* elf64-alpha.c (elf64_alpha_check_relocs): Only put maybe_dynamic
+	relocs into shared lib non-allocated reloc sections.
+
+	2002-10-23  Nathan Tallent  <eraxxon@alumni.rice.edu>
+	* dwarf2.c (add_line_info): Ensure that the line_info_table is
+	sorted even when given an out-of-order line sequence.
+	(lookup_address_in_line_info_table): When an exact VMA match is
+	not found, return line information with the closest VMA.
+
+	2002-10-21  Alan Modra  <amodra@bigpond.net.au>
+	* targets.c (bfd_target_list): Don't return the default target twice.
+
+	2002-10-19  H.J. Lu <hjl@gnu.org>
+	* elflink.h (elf_link_add_object_symbols): Correctly handle
+	DT_RPATH and DT_RUNPATH.
+
+	2002-10-16  Jakub Jelinek  <jakub@redhat.com>
+	* config.bfd (s390-*-linux*): Add targ64_selvecs.
+	(s390x-*-linux*): Add targ_selvecs.
+
+	2002-10-16  Alan Modra  <amodra@bigpond.net.au>
+	* elflink.h (elf_link_add_object_symbols): Error out on dynamic objects
+	loaded with --just-symbols.
+
+	* elf32-i386qnx.c (TARGET_LITTLE_NAME): Define.
+
+	2002-10-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+	* config.bfd (sh*eb-*-linux*, sh*-*-linux*): Add the alternative
+	endian vector to targ_selvecs.
+
+	2002-10-08  H.J. Lu <hjl@gnu.org>
+	* elf32-i386.c (elf_i386_relocate_section): Re-arrange the
+	IE->LE transition for R_386_TLS_IE.
+
+	2002-10-07  Mark Elbrecht  <snowball3@softhome.net>
+	* cofflink.c (mark_relocs): Don't mark relocations in excluded
+	sections.
+
+	2002-10-05  Alexandre Oliva  <aoliva@redhat.com>
+	* elfxx-mips.c (mips_elf_create_dynamic_relocation): Set the type
+	of the other two relocations packed with a REL32 to NONE.
+
+	2002-10-02  Stephen Clarke <stephen.clarke@superh.com>
+	* elf32-sh.c (elf_sh_link_hash_entry): Add gotplt_refcount.
+	(sh_elf_link_hash_newfunc): Initialize it.
+	(allocate_dynrelocs): Transfer gotplt refs from plt.refcount
+	to got.refcount for symbols that are forced local or when
+	we have direct got refs.
+	(sh_elf_gc_sweep_hook): Adjust gotplt_refcount.  Use it
+	to correctly adjust got.refcount and plt.refcount.
+	(sh_elf_copy_indirect_symbol): Copy gotplt_refcount across.
+	(sh_elf_check_relocs): Increment gotplt_refcount.
+
+	2002-10-01  Jakub Jelinek  <jakub@redhat.com>
+	* elf32-i386.c (elf_i386_relocate_section): Fix
+	movl foo@indntpoff, %eax IE->LE transition.
+
+	2002-09-28  Jason Thorpe  <thorpej@wasabisystems.com>
+	* elf32-vax.c (elf_vax_size_dynamic_section): Don't strip
+	.got sections.
+
+	2002-09-27  Matt Thomas  <matt@3am-software.com>
+	* elf32-vax.c (elf_vax_check_relocs): Remove unused
+	local_got_refcounts usage.  Remove allocation of got slot.
+	(elf_vax_gc_sweep_hook): Remove unused local_got_refcounts usage.
+	Remove de-allocation of got slot.
+	(elf_vax_size_dynamic_section): Fix some indentation.  Add hash
+	traversal for elf_vax_instantiate_got_entries.  Allow empty .got
+	sections to be GC'ed.
+	(elf_vax_instantiate_got_entries): New function.
+	(elf_vax_relocate_section): Simplify R_VAX_GOT32 handling.  Remove
+	tests that are now handled by elf_vax_instantiate_got_entries.
+	Assert GOT entry falls within .got section size.  Remove redundant
+	comparisions.  Fix comments.
+
+	2002-09-24  Jakub Jelinek  <jakub@redhat.com>
+	* elf32-sparc.c (elf32_sparc_relocate_section): Put R_SPARC_RELATIVE
+	addend into r_addend, not *r_offset.
+	(elf32_sparc_finish_dynamic_symbol): Likewise.
+	* elf64-sparc.c (sparc64_elf_finish_dynamic_symbol): Clear xword at
+	R_SPARC_RELATIVE's r_offset.
+
+	2002-08-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+	* elfxx-mips.c (mips_elf_create_dynamic_relocation): Cast signedness
+	mismatch.
+
+2002-10-14  Richard Henderson  <rth@redhat.com>
+
+	* elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: Increment
+	VALUE, not ADDEND.
+
 2002-10-11  Alan Modra  <amodra@bigpond.net.au>
 
+	* coff-arm.c (record_arm_to_thumb_glue): Avoid type-punned pointers.
+	(record_thumb_to_arm_glue): Likewise.
+	* ecoff.c (ecoff_link_add_externals): Likewise.
+	* elf32-arm.h (record_arm_to_thumb_glue): Likewise.
+	(record_thumb_to_arm_glue): Likewise.
+	* elf32-m32r.c (m32r_elf_add_symbol_hook): Likewise.
+	* elf32-sh.c (sh_elf_create_dynamic_sections): Likewise.
+	* elf32-sh64.c (sh64_elf_add_symbol_hook): Likewise.
+	* elf64-alpha.c (elf64_alpha_create_dynamic_sections): Likewise.
+	* elf64-ppc.c (func_desc_adjust): Likewise.
+	* elf64-sh64.c (sh64_elf64_add_symbol_hook): Likewise.
+	(sh64_elf64_create_dynamic_sections): Likewise.
+	* elflink.c (_bfd_elf_create_got_section): Likewise.
+	(_bfd_elf_create_dynamic_sections): Likewise.
+	(_bfd_elf_create_linker_section): Likewise.
+	* elflink.h (elf_add_default_symbol): Likewise.
+	(elf_link_create_dynamic_sections): Likewise.
+	(NAME(bfd_elf,size_dynamic_sections)): Likewise.
+	* elfxx-ia64.c (elfNN_ia64_aix_add_symbol_hook): Likewise.
+	* elfxx-mips.c (mips_elf_create_got_section): Likewise.
+	(_bfd_mips_elf_add_symbol_hook): Likewise.
+	(_bfd_mips_elf_create_dynamic_sections): Likewise.
+	* linker.c (generic_link_add_symbol_list): Likewise.
+	* xcofflink.c (xcoff_link_add_symbols): Likewise.
+
+	* elfxx-ia64.c (oor_brl, oor_ip): Conditionally define.
+
 	* elf64-ppc.c (edit_opd): Only zero opd syms when function is
-	completely removed.
+	completely removed.  Correct local sym adjustment.
 
 2002-10-08  Alan Modra  <amodra@bigpond.net.au>
 

==== //depot/projects/ia64/contrib/binutils/bfd/Makefile.am#5 (text+ko) ====

@@ -211,7 +211,6 @@
 	elf32-i370.lo \
 	elf32-i386.lo \
 	elf32-i386-fbsd.lo \
-	elf32-i386qnx.lo \
 	elf32-i860.lo \
 	elf32-i960.lo \
 	elf32-ia64.lo \
@@ -369,7 +368,6 @@
 	elf32-i370.c \
 	elf32-i386.c \
 	elf32-i386-fbsd.c \
-	elf32-i386qnx.c \
 	elf32-i860.c \
 	elf32-i960.c \
 	elf32-m32r.c \
@@ -1145,10 +1143,6 @@
   $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/i386.h \
   $(INCDIR)/elf/reloc-macros.h elf32-target.h
-elf32-i386qnx.lo: elf32-i386qnx.c elf32-i386.c $(INCDIR)/filenames.h \
-  $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
-  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/i386.h \
-  $(INCDIR)/elf/reloc-macros.h elf32-target.h
 elf32-i860.lo: elf32-i860.c $(INCDIR)/filenames.h elf-bfd.h \
   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
   $(INCDIR)/bfdlink.h $(INCDIR)/elf/i860.h $(INCDIR)/elf/reloc-macros.h \

==== //depot/projects/ia64/contrib/binutils/bfd/Makefile.in#5 (text+ko) ====

@@ -1,6 +1,6 @@
-# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
+# Makefile.in generated automatically by automake 1.4 from Makefile.am
 
-# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -339,7 +339,6 @@
 	elf32-i370.lo \
 	elf32-i386.lo \
 	elf32-i386-fbsd.lo \
-	elf32-i386qnx.lo \
 	elf32-i860.lo \
 	elf32-i960.lo \
 	elf32-ia64.lo \
@@ -498,7 +497,6 @@
 	elf32-i370.c \
 	elf32-i386.c \
 	elf32-i386-fbsd.c \
-	elf32-i386qnx.c \
 	elf32-i860.c \
 	elf32-i960.c \
 	elf32-m32r.c \
@@ -933,7 +931,7 @@
 	dot_seen=no; \
 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
 	  rev="$$subdir $$rev"; \
-	  test "$$subdir" != "." || dot_seen=yes; \
+	  test "$$subdir" = "." && dot_seen=yes; \
 	done; \
 	test "$$dot_seen" = "no" && rev=". $$rev"; \
 	target=`echo $@ | sed s/-recursive//`; \
@@ -1675,10 +1673,6 @@
   $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/i386.h \
   $(INCDIR)/elf/reloc-macros.h elf32-target.h
-elf32-i386qnx.lo: elf32-i386qnx.c elf32-i386.c $(INCDIR)/filenames.h \
-  $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
-  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/i386.h \
-  $(INCDIR)/elf/reloc-macros.h elf32-target.h
 elf32-i860.lo: elf32-i860.c $(INCDIR)/filenames.h elf-bfd.h \
   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
   $(INCDIR)/bfdlink.h $(INCDIR)/elf/i860.h $(INCDIR)/elf/reloc-macros.h \

==== //depot/projects/ia64/contrib/binutils/bfd/aoutx.h#5 (text+ko) ====

@@ -2259,8 +2259,8 @@
   /* now the fun stuff */
   if (bfd_header_big_endian (abfd))
     {
-      r_index = ((bytes->r_index[0] << 16)
-		 | (bytes->r_index[1] << 8)
+      r_index = (((unsigned int) bytes->r_index[0] << 16)
+		 | ((unsigned int) bytes->r_index[1] << 8)
 		 | bytes->r_index[2]);
       r_extern = (0 != (bytes->r_type[0] & RELOC_EXT_BITS_EXTERN_BIG));
       r_type = ((bytes->r_type[0] & RELOC_EXT_BITS_TYPE_BIG)
@@ -2268,8 +2268,8 @@
     }
   else
     {
-      r_index =  ((bytes->r_index[2] << 16)
-		  | (bytes->r_index[1] << 8)
+      r_index =  (((unsigned int) bytes->r_index[2] << 16)
+		  | ((unsigned int) bytes->r_index[1] << 8)
 		  | bytes->r_index[0]);
       r_extern = (0 != (bytes->r_type[0] & RELOC_EXT_BITS_EXTERN_LITTLE));
       r_type = ((bytes->r_type[0] & RELOC_EXT_BITS_TYPE_LITTLE)
@@ -2281,9 +2281,9 @@
   /* Base relative relocs are always against the symbol table,
      regardless of the setting of r_extern.  r_extern just reflects
      whether the symbol the reloc is against is local or global.  */
-  if (r_type == RELOC_BASE10
-      || r_type == RELOC_BASE13
-      || r_type == RELOC_BASE22)
+  if (r_type == (unsigned int) RELOC_BASE10
+      || r_type == (unsigned int) RELOC_BASE13
+      || r_type == (unsigned int) RELOC_BASE22)
     r_extern = 1;
 
   if (r_extern && r_index > symcount)
@@ -2318,8 +2318,8 @@
   /* now the fun stuff */
   if (bfd_header_big_endian (abfd))
     {
-      r_index = ((bytes->r_index[0] << 16)
-		 | (bytes->r_index[1] << 8)
+      r_index = (((unsigned int) bytes->r_index[0] << 16)
+		 | ((unsigned int) bytes->r_index[1] << 8)
 		 | bytes->r_index[2]);
       r_extern  = (0 != (bytes->r_type[0] & RELOC_STD_BITS_EXTERN_BIG));
       r_pcrel   = (0 != (bytes->r_type[0] & RELOC_STD_BITS_PCREL_BIG));
@@ -2331,8 +2331,8 @@
     }
   else
     {
-      r_index = ((bytes->r_index[2] << 16)
-		 | (bytes->r_index[1] << 8)
+      r_index = (((unsigned int) bytes->r_index[2] << 16)
+		 | ((unsigned int) bytes->r_index[1] << 8)
 		 | bytes->r_index[0]);
       r_extern  = (0 != (bytes->r_type[0] & RELOC_STD_BITS_EXTERN_LITTLE));
       r_pcrel   = (0 != (bytes->r_type[0] & RELOC_STD_BITS_PCREL_LITTLE));
@@ -3863,7 +3863,7 @@
       for (p = o->link_order_head; p != NULL; p = p->next)
 	{
 	  if (p->type == bfd_indirect_link_order)
-	    p->u.indirect.section->linker_mark = true;
+	    p->u.indirect.section->linker_mark = (unsigned int) true;
 	}
     }
 
@@ -4412,7 +4412,7 @@
 	     characters in the symbol names, not including the file
 	     numbers in types (the first number after an open
 	     parenthesis).  */
-	  if (type == N_BINCL)
+	  if (type == (int) N_BINCL)
 	    {
 	      struct external_nlist *incl_sym;
 	      int nest;
@@ -4426,13 +4426,13 @@
 		  int incl_type;
 
 		  incl_type = H_GET_8 (input_bfd, incl_sym->e_type);
-		  if (incl_type == N_EINCL)
+		  if (incl_type == (int) N_EINCL)
 		    {
 		      if (nest == 0)
 			break;
 		      --nest;
 		    }
-		  else if (incl_type == N_BINCL)
+		  else if (incl_type == (int) N_BINCL)
 		    ++nest;
 		  else if (nest == 0)
 		    {
@@ -4457,7 +4457,7 @@
 	      /* If we have already included a header file with the
                  same value, then replace this one with an N_EXCL
                  symbol.  */
-	      copy = ! finfo->info->keep_memory;
+	      copy = (boolean) (! finfo->info->keep_memory);
 	      incl_entry = aout_link_includes_lookup (&finfo->includes,
 						      name, true, copy);
 	      if (incl_entry == NULL)
@@ -4485,7 +4485,7 @@
 		  /* This is a duplicate header file.  We must change
                      it to be an N_EXCL entry, and mark all the
                      included symbols to prevent outputting them.  */
-		  type = N_EXCL;
+		  type = (int) N_EXCL;
 
 		  nest = 0;
 		  for (incl_sym = sym + 1, incl_map = symbol_map + 1;
@@ -4495,7 +4495,7 @@
 		      int incl_type;
 
 		      incl_type = H_GET_8 (input_bfd, incl_sym->e_type);
-		      if (incl_type == N_EINCL)
+		      if (incl_type == (int) N_EINCL)
 			{
 			  if (nest == 0)
 			    {
@@ -4504,7 +4504,7 @@
 			    }
 			  --nest;
 			}
-		      else if (incl_type == N_BINCL)
+		      else if (incl_type == (int) N_BINCL)
 			++nest;
 		      else if (nest == 0)
 			*incl_map = -1;
@@ -4859,8 +4859,8 @@
 
 	if (bfd_header_big_endian (input_bfd))
 	  {
-	    r_index   =  ((rel->r_index[0] << 16)
-			  | (rel->r_index[1] << 8)
+	    r_index   =  (((unsigned int) rel->r_index[0] << 16)
+			  | ((unsigned int) rel->r_index[1] << 8)
 			  | rel->r_index[2]);
 	    r_extern  = (0 != (rel->r_type[0] & RELOC_STD_BITS_EXTERN_BIG));
 	    r_pcrel   = (0 != (rel->r_type[0] & RELOC_STD_BITS_PCREL_BIG));
@@ -4872,8 +4872,8 @@
 	  }
 	else
 	  {
-	    r_index   = ((rel->r_index[2] << 16)
-			 | (rel->r_index[1] << 8)
+	    r_index   = (((unsigned int) rel->r_index[2] << 16)
+			 | ((unsigned int) rel->r_index[1] << 8)
 			 | rel->r_index[0]);
 	    r_extern  = (0 != (rel->r_type[0] & RELOC_STD_BITS_EXTERN_LITTLE));
 	    r_pcrel   = (0 != (rel->r_type[0] & RELOC_STD_BITS_PCREL_LITTLE));
@@ -5195,8 +5195,8 @@
 
       if (bfd_header_big_endian (input_bfd))
 	{
-	  r_index  = ((rel->r_index[0] << 16)
-		      | (rel->r_index[1] << 8)
+	  r_index  = (((unsigned int) rel->r_index[0] << 16)
+		      | ((unsigned int) rel->r_index[1] << 8)
 		      | rel->r_index[2]);
 	  r_extern = (0 != (rel->r_type[0] & RELOC_EXT_BITS_EXTERN_BIG));
 	  r_type   = ((rel->r_type[0] & RELOC_EXT_BITS_TYPE_BIG)
@@ -5204,8 +5204,8 @@
 	}
       else
 	{
-	  r_index  = ((rel->r_index[2] << 16)
-		      | (rel->r_index[1] << 8)
+	  r_index  = (((unsigned int) rel->r_index[2] << 16)
+		      | ((unsigned int) rel->r_index[1] << 8)
 		      | rel->r_index[0]);
 	  r_extern = (0 != (rel->r_type[0] & RELOC_EXT_BITS_EXTERN_LITTLE));
 	  r_type   = ((rel->r_type[0] & RELOC_EXT_BITS_TYPE_LITTLE)
@@ -5221,16 +5221,16 @@
 	  /* We are generating a relocateable output file, and must
 	     modify the reloc accordingly.  */
 	  if (r_extern
-	      || r_type == RELOC_BASE10
-	      || r_type == RELOC_BASE13
-	      || r_type == RELOC_BASE22)
+	      || r_type == (unsigned int) RELOC_BASE10
+	      || r_type == (unsigned int) RELOC_BASE13
+	      || r_type == (unsigned int) RELOC_BASE22)
 	    {
 	      /* If we know the symbol this relocation is against,
 		 convert it into a relocation against a section.  This
 		 is what the native linker does.  */
-	      if (r_type == RELOC_BASE10
-		  || r_type == RELOC_BASE13
-		  || r_type == RELOC_BASE22)
+	      if (r_type == (unsigned int) RELOC_BASE10
+		  || r_type == (unsigned int) RELOC_BASE13
+		  || r_type == (unsigned int) RELOC_BASE22)
 		h = NULL;
 	      else
 		h = sym_hashes[r_index];
@@ -5398,9 +5398,9 @@
 		  relocation = 0;
 		}
 	    }
-	  else if (r_type == RELOC_BASE10
-		   || r_type == RELOC_BASE13
-		   || r_type == RELOC_BASE22)
+	  else if (r_type == (unsigned int) RELOC_BASE10
+		   || r_type == (unsigned int) RELOC_BASE13
+		   || r_type == (unsigned int) RELOC_BASE22)
 	    {
 	      struct external_nlist *sym;
 	      int type;
@@ -5482,9 +5482,9 @@
              to skip this reloc.  */
 	  if (hundef
 	      && ! finfo->info->shared
-	      && r_type != RELOC_BASE10
-	      && r_type != RELOC_BASE13
-	      && r_type != RELOC_BASE22)
+	      && r_type != (unsigned int) RELOC_BASE10
+	      && r_type != (unsigned int) RELOC_BASE13
+	      && r_type != (unsigned int) RELOC_BASE22)
 	    {
 	      const char *name;
 
@@ -5498,7 +5498,7 @@
 		return false;
 	    }
 
-	  if (r_type != RELOC_SPARC_REV32)
+	  if (r_type != (unsigned int) RELOC_SPARC_REV32)
 	    r = MY_final_link_relocate (howto_table_ext + r_type,
 					input_bfd, input_section,
 					contents, r_addr, relocation,
@@ -5527,9 +5527,9 @@
 		    if (h != NULL)
 		      name = h->root.root.string;
 		    else if (r_extern
-			     || r_type == RELOC_BASE10
-			     || r_type == RELOC_BASE13
-			     || r_type == RELOC_BASE22)
+			     || r_type == (unsigned int) RELOC_BASE10
+			     || r_type == (unsigned int) RELOC_BASE13
+			     || r_type == (unsigned int) RELOC_BASE22)
 		      name = strings + GET_WORD (input_bfd,
 						 syms[r_index].e_strx);
 		    else
@@ -5645,7 +5645,7 @@
 	int r_relative;
 	int r_length;
 
-	r_pcrel = howto->pc_relative;
+	r_pcrel = (int) howto->pc_relative;
 	r_baserel = (howto->type & 8) != 0;
 	r_jmptable = (howto->type & 16) != 0;
 	r_relative = (howto->type & 32) != 0;

==== //depot/projects/ia64/contrib/binutils/bfd/archive.c#5 (text+ko) ====

@@ -436,12 +436,12 @@
 	 spaces, so only look for ' ' if we don't find '/'.  */
 
       char *e;
-      e = memchr (hdr.ar_name, '\0', ar_maxnamelen (abfd));
+      e = (char *) memchr (hdr.ar_name, '\0', ar_maxnamelen (abfd));
       if (e == NULL)
 	{
-	  e = memchr (hdr.ar_name, '/', ar_maxnamelen (abfd));
+	  e = (char *) memchr (hdr.ar_name, '/', ar_maxnamelen (abfd));
 	  if (e == NULL)
-	    e = memchr (hdr.ar_name, ' ', ar_maxnamelen (abfd));
+	    e = (char *) memchr (hdr.ar_name, ' ', ar_maxnamelen (abfd));
 	}
 
       if (e != NULL)

==== //depot/projects/ia64/contrib/binutils/bfd/bfd-in.h#4 (text+ko) ====

@@ -346,7 +346,7 @@
 
 #define bfd_is_com_section(ptr) (((ptr)->flags & SEC_IS_COMMON) != 0)
 
-#define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = (boolean)true), true)
+#define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = (unsigned int)true), true)
 #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),true)
 #define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata = (val)),true)
 

==== //depot/projects/ia64/contrib/binutils/bfd/bfd-in2.h#6 (text+ko) ====

@@ -352,7 +352,7 @@
 
 #define bfd_is_com_section(ptr) (((ptr)->flags & SEC_IS_COMMON) != 0)
 
-#define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = (boolean)true), true)
+#define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = (unsigned int)true), true)
 #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),true)
 #define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata = (val)),true)
 
@@ -3634,7 +3634,7 @@
                  boolean, asymbol **));
 
 boolean
-bfd_alt_mach_code PARAMS ((bfd *abfd, int index));
+bfd_alt_mach_code PARAMS ((bfd *abfd, int alternative));
 
 /* Extracted from archive.c.  */
 symindex

==== //depot/projects/ia64/contrib/binutils/bfd/bfd.c#4 (text+ko) ====

@@ -1293,10 +1293,10 @@
   m->p_type = type;
   m->p_flags = flags;
   m->p_paddr = at;
-  m->p_flags_valid = flags_valid;
-  m->p_paddr_valid = at_valid;
-  m->includes_filehdr = includes_filehdr;
-  m->includes_phdrs = includes_phdrs;
+  m->p_flags_valid = (unsigned int) flags_valid;
+  m->p_paddr_valid = (unsigned int) at_valid;
+  m->includes_filehdr = (unsigned int) includes_filehdr;
+  m->includes_phdrs = (unsigned int) includes_phdrs;
   m->count = count;
   if (count > 0)
     memcpy (m->sections, secs, count * sizeof (asection *));

==== //depot/projects/ia64/contrib/binutils/bfd/binary.c#4 (text+ko) ====

@@ -185,7 +185,7 @@
 
   syms = (asymbol *) bfd_alloc (abfd, amt);
   if (syms == NULL)
-    return false;
+    return (long) false;
 
   /* Start symbol.  */
   syms[0].the_bfd = abfd;

==== //depot/projects/ia64/contrib/binutils/bfd/coff-arm.c#6 (text+ko) ====


>>> 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?200212030527.gB35R4mv004839>