svn commit: r249706 - in user/attilio/jeff-numa: gnu/lib/libgcc lib/libcompiler_rt sys/cam/scsi usr.bin/gcore
Attilio Rao
attilio at FreeBSD.org
Sat Apr 20 17:43:23 UTC 2013
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 *
More information about the svn-src-user
mailing list