From owner-svn-src-user@FreeBSD.ORG Sat Apr 20 17:43:23 2013 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 98284EB2; Sat, 20 Apr 2013 17:43:23 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 8AD9B7FD; Sat, 20 Apr 2013 17:43:23 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r3KHhNm1077240; Sat, 20 Apr 2013 17:43:23 GMT (envelope-from attilio@svn.freebsd.org) Received: (from attilio@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r3KHhMom077226; Sat, 20 Apr 2013 17:43:22 GMT (envelope-from attilio@svn.freebsd.org) Message-Id: <201304201743.r3KHhMom077226@svn.freebsd.org> From: Attilio Rao Date: Sat, 20 Apr 2013 17:43:22 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r249706 - in user/attilio/jeff-numa: gnu/lib/libgcc lib/libcompiler_rt sys/cam/scsi usr.bin/gcore X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Apr 2013 17:43:23 -0000 Author: attilio Date: Sat Apr 20 17:43:22 2013 New Revision: 249706 URL: http://svnweb.freebsd.org/changeset/base/249706 Log: mfc Modified: user/attilio/jeff-numa/gnu/lib/libgcc/Makefile user/attilio/jeff-numa/lib/libcompiler_rt/Makefile user/attilio/jeff-numa/sys/cam/scsi/scsi_ch.c user/attilio/jeff-numa/usr.bin/gcore/elfcore.c Directory Properties: user/attilio/jeff-numa/ (props changed) user/attilio/jeff-numa/gnu/lib/ (props changed) user/attilio/jeff-numa/sys/ (props changed) Modified: user/attilio/jeff-numa/gnu/lib/libgcc/Makefile ============================================================================== --- user/attilio/jeff-numa/gnu/lib/libgcc/Makefile Sat Apr 20 17:41:27 2013 (r249705) +++ user/attilio/jeff-numa/gnu/lib/libgcc/Makefile Sat Apr 20 17:43:22 2013 (r249706) @@ -19,10 +19,6 @@ MK_SSP= no CFLAGS+= -DTARGET_ARM_EABI .endif -.if ${TARGET_CPUARCH} == "mips" -LIB= gcc -.endif - .PATH: ${GCCDIR}/config/${GCC_CPU} ${GCCDIR}/config ${GCCDIR} CFLAGS+= -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED \ Modified: user/attilio/jeff-numa/lib/libcompiler_rt/Makefile ============================================================================== --- user/attilio/jeff-numa/lib/libcompiler_rt/Makefile Sat Apr 20 17:41:27 2013 (r249705) +++ user/attilio/jeff-numa/lib/libcompiler_rt/Makefile Sat Apr 20 17:43:22 2013 (r249706) @@ -196,13 +196,11 @@ SRCS+= aeabi_idivmod.S \ aeabi_uldivmod.S .endif -.if ${MACHINE_CPUARCH} != "mips" -. if ${MK_INSTALLLIB} != "no" +.if ${MK_INSTALLLIB} != "no" SYMLINKS+=libcompiler_rt.a ${LIBDIR}/libgcc.a -. endif -. if ${MK_PROFILE} != "no" +.endif +.if ${MK_PROFILE} != "no" SYMLINKS+=libcompiler_rt_p.a ${LIBDIR}/libgcc_p.a -. endif .endif .if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386" || \ Modified: user/attilio/jeff-numa/sys/cam/scsi/scsi_ch.c ============================================================================== --- user/attilio/jeff-numa/sys/cam/scsi/scsi_ch.c Sat Apr 20 17:41:27 2013 (r249705) +++ user/attilio/jeff-numa/sys/cam/scsi/scsi_ch.c Sat Apr 20 17:43:22 2013 (r249706) @@ -1147,15 +1147,11 @@ copy_element_status(struct ch_softc *sof ces->ces_designator_length = devid->designator_length; /* * Make sure we are always NUL terminated. The - * buffer should be sized for the maximum - * designator length plus 1, but this will make sure - * there is always a NUL at the end. This won't - * matter for the binary code set, since the user - * will only pay attention to the length field. + * This won't matter for the binary code set, + * since the user will only pay attention to the + * length field. */ - ces->ces_designator[ - MIN(sizeof(ces->ces_designator) - 1, - devid->designator_length)]= '\0'; + ces->ces_designator[devid->designator_length]= '\0'; } if (devid->piv_assoc_designator_type & READ_ELEMENT_STATUS_PIV_SET) { Modified: user/attilio/jeff-numa/usr.bin/gcore/elfcore.c ============================================================================== --- user/attilio/jeff-numa/usr.bin/gcore/elfcore.c Sat Apr 20 17:41:27 2013 (r249705) +++ user/attilio/jeff-numa/usr.bin/gcore/elfcore.c Sat Apr 20 17:43:22 2013 (r249706) @@ -634,8 +634,7 @@ static void * elf_note_procstat_groups(void *arg, size_t *sizep) { - return (procstat_sysctl(arg, KERN_PROC_GROUPS, - (int)sizeof(gid_t), sizep)); + return (procstat_sysctl(arg, KERN_PROC_GROUPS, sizeof(gid_t), sizep)); } static void *