Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Dec 2013 16:43:55 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r258991 - in projects/uefi: . bin/sh bin/test cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n cddl/contrib/opensolaris/lib/libdtrace/common contrib/gcc contrib/gcc/config/...
Message-ID:  <201312051643.rB5Ght6c056382@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Thu Dec  5 16:43:53 2013
New Revision: 258991
URL: http://svnweb.freebsd.org/changeset/base/258991

Log:
  Merge from HEAD at r258990
  
  Sponsored by:	The FreeBSD Foundation

Added:
  projects/uefi/contrib/gcclibs/libiberty/ChangeLog.gcc43
     - copied unchanged from r258990, head/contrib/gcclibs/libiberty/ChangeLog.gcc43
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/API/SBPlatform.h
     - copied unchanged from r258990, head/contrib/llvm/tools/lldb/include/lldb/API/SBPlatform.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Host/Debug.h
     - copied unchanged from r258990, head/contrib/llvm/tools/lldb/include/lldb/Host/Debug.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Target/RegisterCheckpoint.h
     - copied unchanged from r258990, head/contrib/llvm/tools/lldb/include/lldb/Target/RegisterCheckpoint.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Utility/Iterable.h
     - copied unchanged from r258990, head/contrib/llvm/tools/lldb/include/lldb/Utility/Iterable.h
  projects/uefi/contrib/llvm/tools/lldb/source/API/SBPlatform.cpp
     - copied unchanged from r258990, head/contrib/llvm/tools/lldb/source/API/SBPlatform.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp
     - copied unchanged from r258990, head/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.h
     - copied unchanged from r258990, head/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.h
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/HistoryThread.cpp
     - copied unchanged from r258990, head/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/HistoryThread.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/HistoryThread.h
     - copied unchanged from r258990, head/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/HistoryThread.h
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/HistoryUnwind.cpp
     - copied unchanged from r258990, head/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/HistoryUnwind.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/HistoryUnwind.h
     - copied unchanged from r258990, head/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/HistoryUnwind.h
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/RegisterContextHistory.cpp
     - copied unchanged from r258990, head/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/RegisterContextHistory.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/RegisterContextHistory.h
     - copied unchanged from r258990, head/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/RegisterContextHistory.h
  projects/uefi/etc/casper/
     - copied from r258990, head/etc/casper/
  projects/uefi/lib/libcapsicum/
     - copied from r258990, head/lib/libcapsicum/
  projects/uefi/lib/libcasper/
     - copied from r258990, head/lib/libcasper/
  projects/uefi/lib/libpjdlog/
     - copied from r258990, head/lib/libpjdlog/
  projects/uefi/libexec/casper/
     - copied from r258990, head/libexec/casper/
  projects/uefi/sbin/casperd/
     - copied from r258990, head/sbin/casperd/
  projects/uefi/sys/dev/nand/nfc_at91.c
     - copied unchanged from r258990, head/sys/dev/nand/nfc_at91.c
  projects/uefi/sys/powerpc/wii/ios_if.m
     - copied unchanged from r258990, head/sys/powerpc/wii/ios_if.m
  projects/uefi/sys/sys/ktr_class.h
     - copied unchanged from r258990, head/sys/sys/ktr_class.h
  projects/uefi/sys/sys/sf_sync.h
     - copied unchanged from r258990, head/sys/sys/sf_sync.h
  projects/uefi/tools/build/options/WITHOUT_CASPER
     - copied unchanged from r258990, head/tools/build/options/WITHOUT_CASPER
  projects/uefi/tools/regression/capsicum/libcapsicum/
     - copied from r258990, head/tools/regression/capsicum/libcapsicum/
Modified:
  projects/uefi/Makefile.inc1
  projects/uefi/ObsoleteFiles.inc
  projects/uefi/UPDATING
  projects/uefi/bin/sh/cd.c
  projects/uefi/bin/sh/exec.c
  projects/uefi/bin/sh/expand.c
  projects/uefi/bin/sh/memalloc.c
  projects/uefi/bin/sh/mystring.c
  projects/uefi/bin/sh/mystring.h
  projects/uefi/bin/sh/show.c
  projects/uefi/bin/sh/var.c
  projects/uefi/bin/test/test.c
  projects/uefi/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n/tst.ufunc.ksh
  projects/uefi/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n/tst.umod.ksh
  projects/uefi/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n/tst.usym.ksh
  projects/uefi/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c
  projects/uefi/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c
  projects/uefi/contrib/gcc/ChangeLog.gcc43
  projects/uefi/contrib/gcc/builtins.c
  projects/uefi/contrib/gcc/c-common.c
  projects/uefi/contrib/gcc/c-decl.c
  projects/uefi/contrib/gcc/c-typeck.c
  projects/uefi/contrib/gcc/config/rs6000/rs6000.c
  projects/uefi/contrib/gcc/cp/ChangeLog.gcc43
  projects/uefi/contrib/gcc/cp/decl.c
  projects/uefi/contrib/gcc/cp/mangle.c
  projects/uefi/contrib/gcc/cp/semantics.c
  projects/uefi/contrib/gcc/cp/typeck.c
  projects/uefi/contrib/gcc/doc/extend.texi
  projects/uefi/contrib/gcc/flags.h
  projects/uefi/contrib/gcc/print-tree.c
  projects/uefi/contrib/gcc/toplev.c
  projects/uefi/contrib/gcc/tree.c
  projects/uefi/contrib/gcc/tree.h
  projects/uefi/contrib/gcc/varasm.c
  projects/uefi/contrib/gcclibs/libcpp/ChangeLog.gcc43
  projects/uefi/contrib/gcclibs/libcpp/expr.c
  projects/uefi/contrib/gcclibs/libcpp/lex.c
  projects/uefi/contrib/gcclibs/libcpp/macro.c
  projects/uefi/contrib/gcclibs/libcpp/pch.c
  projects/uefi/contrib/gcclibs/libiberty/choose-temp.c
  projects/uefi/contrib/gcclibs/libiberty/cp-demangle.c
  projects/uefi/contrib/gcclibs/libiberty/cp-demangle.h
  projects/uefi/contrib/gcclibs/libiberty/floatformat.c
  projects/uefi/contrib/gcclibs/libiberty/functions.texi
  projects/uefi/contrib/gcclibs/libiberty/pex-unix.c
  projects/uefi/contrib/gcclibs/libiberty/strsignal.c
  projects/uefi/contrib/gcclibs/libiberty/testsuite/demangle-expected
  projects/uefi/contrib/gcclibs/libiberty/testsuite/test-demangle.c
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/API/SBDebugger.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/API/SBError.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/API/SBExpressionOptions.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/API/SBFileSpec.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/API/SBModule.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/API/SBTarget.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/API/SBThread.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Breakpoint/Breakpoint.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointList.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointLocationList.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Core/Address.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Core/Debugger.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Core/Module.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/DataFormatters/CXXFormatterFunctions.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/DataFormatters/FormatCache.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/DataFormatters/FormatClasses.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/DataFormatters/FormatManager.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/DataFormatters/FormatNavigator.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/DataFormatters/TypeCategory.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Expression/ClangFunction.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Expression/ClangUserExpression.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Host/File.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Host/FileSpec.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Host/Host.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Host/OptionParser.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Interpreter/PythonDataObjects.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Interpreter/ScriptInterpreterPython.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Symbol/TypeList.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Target/ABI.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Target/LanguageRuntime.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Target/Platform.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Target/Process.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Target/RegisterContext.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Target/SystemRuntime.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Target/Target.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Target/Thread.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Target/ThreadList.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Target/ThreadPlanCallFunction.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Target/ThreadPlanCallUserExpression.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/Utility/PythonPointer.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/lldb-enumerations.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/lldb-forward.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/lldb-private-enumerations.h
  projects/uefi/contrib/llvm/tools/lldb/include/lldb/lldb-python.h
  projects/uefi/contrib/llvm/tools/lldb/source/API/SBDebugger.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/API/SBExpressionOptions.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/API/SBFileSpec.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/API/SBModule.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/API/SBProcess.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/API/SBStream.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/API/SBTarget.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/API/SBThread.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Breakpoint/Breakpoint.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointList.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointLocation.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointLocationList.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectExpression.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectMemory.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectPlatform.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectPlugin.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectProcess.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectTarget.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectThread.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectWatchpoint.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Core/Address.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Core/ConnectionFileDescriptor.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Core/Debugger.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Core/Mangled.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Core/Module.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Core/StreamFile.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Core/ValueObjectSyntheticFilter.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/DataFormatters/CXXFormatterFunctions.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/DataFormatters/FormatClasses.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/DataFormatters/FormatManager.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/DataFormatters/LibCxx.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/DataFormatters/LibStdcpp.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/DataFormatters/NSDictionary.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/DataFormatters/NSSet.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/DataFormatters/TypeCategory.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/DataFormatters/TypeCategoryMap.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Expression/ClangFunction.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Expression/ClangUserExpression.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Expression/Materializer.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Host/common/File.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Host/common/FileSpec.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Host/common/Host.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Host/common/OptionParser.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Interpreter/Args.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Interpreter/CommandInterpreter.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Interpreter/PythonDataObjects.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Interpreter/ScriptInterpreterPython.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.h
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.h
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.h
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.h
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.h
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.h
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.h
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/POSIXThread.h
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.h
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterInfos_x86_64.h
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/InferiorCallPOSIX.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
  projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Symbol/UnwindPlan.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Target/Platform.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Target/Process.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Target/RegisterContext.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Target/StackFrameList.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Target/SystemRuntime.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Target/Target.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Target/Thread.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Target/ThreadPlanCallFunction.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Target/ThreadPlanCallUserExpression.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Target/ThreadPlanStepInRange.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Utility/StringExtractor.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Utility/StringExtractorGDBRemote.cpp
  projects/uefi/contrib/llvm/tools/lldb/source/Utility/StringExtractorGDBRemote.h
  projects/uefi/contrib/llvm/tools/lldb/source/lldb.cpp
  projects/uefi/contrib/llvm/tools/lldb/tools/lldb-platform/lldb-platform.cpp
  projects/uefi/contrib/mdocml/lib.in
  projects/uefi/etc/Makefile
  projects/uefi/etc/gettytab
  projects/uefi/etc/mtree/BSD.root.dist
  projects/uefi/etc/pf.os
  projects/uefi/etc/rc
  projects/uefi/etc/services
  projects/uefi/lib/Makefile
  projects/uefi/lib/clang/liblldbAPI/Makefile
  projects/uefi/lib/clang/liblldbPluginProcessFreeBSD/Makefile
  projects/uefi/lib/clang/liblldbPluginProcessUtility/Makefile
  projects/uefi/lib/libc/sparc64/fpu/fpu.c
  projects/uefi/lib/libc/sparc64/fpu/fpu_sqrt.c
  projects/uefi/lib/libc/sys/chmod.2
  projects/uefi/lib/libc/sys/pdfork.2
  projects/uefi/lib/libc/sys/wait.2
  projects/uefi/lib/libc/xdr/xdr_rec.c
  projects/uefi/lib/libstand/libstand.3
  projects/uefi/libexec/Makefile
  projects/uefi/release/Makefile
  projects/uefi/release/doc/en_US.ISO8859-1/relnotes/article.xml
  projects/uefi/release/release.sh
  projects/uefi/release/scripts/pkg-stage.sh
  projects/uefi/sbin/Makefile
  projects/uefi/sbin/mdconfig/mdconfig.8
  projects/uefi/sbin/mdconfig/mdconfig.c
  projects/uefi/sbin/route/route.c
  projects/uefi/share/man/man4/capsicum.4
  projects/uefi/share/man/man4/procdesc.4
  projects/uefi/share/man/man5/src.conf.5
  projects/uefi/share/man/man7/development.7
  projects/uefi/share/man/man7/release.7
  projects/uefi/share/mk/bsd.libnames.mk
  projects/uefi/share/mk/bsd.own.mk
  projects/uefi/sys/amd64/conf/GENERIC
  projects/uefi/sys/amd64/include/vmm.h   (contents, props changed)
  projects/uefi/sys/amd64/pci/pci_cfgreg.c
  projects/uefi/sys/amd64/vmm/intel/vmcs.h
  projects/uefi/sys/amd64/vmm/intel/vmx.c
  projects/uefi/sys/amd64/vmm/intel/vmx_controls.h
  projects/uefi/sys/amd64/vmm/intel/vtd.c
  projects/uefi/sys/amd64/vmm/vmm.c
  projects/uefi/sys/amd64/vmm/vmm_lapic.c
  projects/uefi/sys/arm/arm/db_trace.c
  projects/uefi/sys/arm/arm/locore.S
  projects/uefi/sys/arm/arm/pl190.c
  projects/uefi/sys/arm/arm/pmap-v6.c
  projects/uefi/sys/arm/at91/at91_pioreg.h
  projects/uefi/sys/arm/at91/files.at91
  projects/uefi/sys/arm/at91/if_macbvar.h
  projects/uefi/sys/arm/broadcom/bcm2835/bcm2835_dma.c
  projects/uefi/sys/arm/econa/if_ece.c
  projects/uefi/sys/arm/freescale/imx/imx6_anatopreg.h
  projects/uefi/sys/arm/freescale/imx/imx6_usbphy.c
  projects/uefi/sys/arm/freescale/imx/imx_gptreg.h
  projects/uefi/sys/arm/freescale/vybrid/vf_anadig.c
  projects/uefi/sys/arm/freescale/vybrid/vf_ccm.c
  projects/uefi/sys/arm/freescale/vybrid/vf_ehci.c
  projects/uefi/sys/arm/include/armreg.h
  projects/uefi/sys/arm/lpc/if_lpereg.h
  projects/uefi/sys/arm/lpc/lpcreg.h
  projects/uefi/sys/arm/mv/mv_pci.c
  projects/uefi/sys/arm/samsung/exynos/ehci_exynos5.c
  projects/uefi/sys/arm/xscale/i8134x/i81342reg.h
  projects/uefi/sys/arm/xscale/ixp425/ixp425reg.h
  projects/uefi/sys/boot/arm/at91/libat91/mci_device.h
  projects/uefi/sys/boot/i386/libfirewire/fwohci.h
  projects/uefi/sys/boot/i386/libfirewire/fwohcireg.h
  projects/uefi/sys/cam/ctl/ctl_backend_block.c
  projects/uefi/sys/cddl/compat/opensolaris/kern/opensolaris_vm.c
  projects/uefi/sys/cddl/compat/opensolaris/sys/vm.h
  projects/uefi/sys/cddl/contrib/opensolaris/uts/common/Makefile.files
  projects/uefi/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu.c
  projects/uefi/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dmu.h
  projects/uefi/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_dir.c
  projects/uefi/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
  projects/uefi/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c
  projects/uefi/sys/compat/freebsd32/freebsd32_misc.c
  projects/uefi/sys/conf/NOTES
  projects/uefi/sys/conf/files.i386
  projects/uefi/sys/conf/files.powerpc
  projects/uefi/sys/conf/kern.pre.mk
  projects/uefi/sys/conf/options
  projects/uefi/sys/conf/options.amd64
  projects/uefi/sys/dev/aac/aacvar.h
  projects/uefi/sys/dev/acpica/acpi_video.c
  projects/uefi/sys/dev/agp/agp_i810.c
  projects/uefi/sys/dev/ahci/ahci.h
  projects/uefi/sys/dev/bge/if_bge.c
  projects/uefi/sys/dev/bge/if_bgereg.h
  projects/uefi/sys/dev/bktr/bktr_core.c
  projects/uefi/sys/dev/cesa/cesa.h
  projects/uefi/sys/dev/cxgbe/common/common.h
  projects/uefi/sys/dev/cxgbe/common/t4_hw.c
  projects/uefi/sys/dev/cxgbe/t4_ioctl.h
  projects/uefi/sys/dev/cxgbe/t4_main.c
  projects/uefi/sys/dev/drm/i915_reg.h
  projects/uefi/sys/dev/drm/mach64_drv.h
  projects/uefi/sys/dev/drm/mga_drv.h
  projects/uefi/sys/dev/drm/r128_drv.h
  projects/uefi/sys/dev/drm/r300_reg.h
  projects/uefi/sys/dev/drm/r600_blit.c
  projects/uefi/sys/dev/drm/radeon_cp.c
  projects/uefi/sys/dev/drm/radeon_drv.h
  projects/uefi/sys/dev/drm/via_irq.c
  projects/uefi/sys/dev/drm2/drm_pci.c
  projects/uefi/sys/dev/drm2/radeon/evergreen_blit_kms.c
  projects/uefi/sys/dev/drm2/radeon/evergreen_cs.c
  projects/uefi/sys/dev/drm2/radeon/evergreend.h
  projects/uefi/sys/dev/drm2/radeon/nid.h
  projects/uefi/sys/dev/drm2/radeon/r200.c
  projects/uefi/sys/dev/drm2/radeon/r300.c
  projects/uefi/sys/dev/drm2/radeon/r300_reg.h
  projects/uefi/sys/dev/drm2/radeon/r500_reg.h
  projects/uefi/sys/dev/drm2/radeon/r600_blit.c
  projects/uefi/sys/dev/drm2/radeon/r600_blit_kms.c
  projects/uefi/sys/dev/drm2/radeon/r600_cs.c
  projects/uefi/sys/dev/drm2/radeon/r600d.h
  projects/uefi/sys/dev/drm2/radeon/radeon_cp.c
  projects/uefi/sys/dev/drm2/radeon/radeon_drv.h
  projects/uefi/sys/dev/drm2/radeon/radeon_reg.h
  projects/uefi/sys/dev/drm2/radeon/rv770d.h
  projects/uefi/sys/dev/drm2/radeon/sid.h
  projects/uefi/sys/dev/drm2/ttm/ttm_bo.c
  projects/uefi/sys/dev/e1000/e1000_82575.h
  projects/uefi/sys/dev/e1000/e1000_ich8lan.c
  projects/uefi/sys/dev/e1000/e1000_regs.h
  projects/uefi/sys/dev/etherswitch/arswitch/arswitchreg.h
  projects/uefi/sys/dev/ffec/if_ffecreg.h
  projects/uefi/sys/dev/firewire/firewire.c
  projects/uefi/sys/dev/firewire/fwohci.c
  projects/uefi/sys/dev/firewire/fwohcireg.h
  projects/uefi/sys/dev/firewire/sbp.c
  projects/uefi/sys/dev/firewire/sbp.h
  projects/uefi/sys/dev/firewire/sbp_targ.c
  projects/uefi/sys/dev/hatm/if_hatmreg.h
  projects/uefi/sys/dev/hwpmc/hwpmc_piv.h
  projects/uefi/sys/dev/iscsi/iscsi.c
  projects/uefi/sys/dev/iwn/if_iwn.c
  projects/uefi/sys/dev/iwn/if_iwnreg.h
  projects/uefi/sys/dev/iwn/if_iwnvar.h
  projects/uefi/sys/dev/md/md.c
  projects/uefi/sys/dev/mge/if_mgevar.h
  projects/uefi/sys/dev/mpt/mpt_cam.c
  projects/uefi/sys/dev/msk/if_mskreg.h
  projects/uefi/sys/dev/mvs/mvs.h
  projects/uefi/sys/dev/mxge/mxge_mcp.h
  projects/uefi/sys/dev/nand/nandbus.c
  projects/uefi/sys/dev/oce/oce_if.c
  projects/uefi/sys/dev/oce/oce_if.h
  projects/uefi/sys/dev/oce/oce_mbox.c
  projects/uefi/sys/dev/oce/oce_sysctl.c
  projects/uefi/sys/dev/ofw/ofw_fdt.c
  projects/uefi/sys/dev/qlxge/qls_dump.c
  projects/uefi/sys/dev/ral/rt2560reg.h
  projects/uefi/sys/dev/ral/rt2661reg.h
  projects/uefi/sys/dev/ral/rt2860reg.h
  projects/uefi/sys/dev/sound/pci/hda/hdaa.h
  projects/uefi/sys/dev/uart/uart_cpu_powerpc.c
  projects/uefi/sys/dev/usb/controller/ehci.h
  projects/uefi/sys/dev/usb/usb_busdma.c
  projects/uefi/sys/dev/usb/wlan/if_rsu.c
  projects/uefi/sys/dev/usb/wlan/if_rum.c
  projects/uefi/sys/dev/usb/wlan/if_rumreg.h
  projects/uefi/sys/dev/usb/wlan/if_run.c
  projects/uefi/sys/dev/usb/wlan/if_runreg.h
  projects/uefi/sys/dev/usb/wlan/if_runvar.h
  projects/uefi/sys/dev/usb/wlan/if_ural.c
  projects/uefi/sys/dev/usb/wlan/if_uralreg.h
  projects/uefi/sys/dev/usb/wlan/if_urtw.c
  projects/uefi/sys/dev/usb/wlan/if_urtwreg.h
  projects/uefi/sys/dev/usb/wlan/if_zydreg.h
  projects/uefi/sys/dev/wpi/if_wpireg.h
  projects/uefi/sys/fs/ext2fs/ext2_dinode.h
  projects/uefi/sys/geom/raid/tr_raid1e.c
  projects/uefi/sys/i386/conf/GENERIC
  projects/uefi/sys/i386/conf/NOTES
  projects/uefi/sys/i386/pci/pci_cfgreg.c
  projects/uefi/sys/ia64/conf/GENERIC
  projects/uefi/sys/kern/kern_descrip.c
  projects/uefi/sys/kern/kern_exit.c
  projects/uefi/sys/kern/kern_fork.c
  projects/uefi/sys/kern/kern_mib.c
  projects/uefi/sys/kern/kern_shutdown.c
  projects/uefi/sys/kern/kern_sig.c
  projects/uefi/sys/kern/makesyscalls.sh
  projects/uefi/sys/kern/sched_ule.c
  projects/uefi/sys/kern/sys_procdesc.c
  projects/uefi/sys/kern/uipc_syscalls.c
  projects/uefi/sys/libkern/iconv.c
  projects/uefi/sys/mips/atheros/ar71xxreg.h
  projects/uefi/sys/mips/atheros/ar934xreg.h
  projects/uefi/sys/mips/atheros/if_argevar.h
  projects/uefi/sys/mips/malta/gt_pci.c
  projects/uefi/sys/mips/nlm/dev/net/nae.c
  projects/uefi/sys/mips/nlm/xlp_machdep.c
  projects/uefi/sys/mips/rmi/pic.h
  projects/uefi/sys/modules/Makefile
  projects/uefi/sys/net80211/ieee80211_scan.c
  projects/uefi/sys/net80211/ieee80211_scan_sta.c
  projects/uefi/sys/netinet/sctp_bsd_addr.c
  projects/uefi/sys/netinet/sctp_pcb.c
  projects/uefi/sys/netinet/tcp_input.c
  projects/uefi/sys/ofed/drivers/infiniband/hw/mlx4/qp.c
  projects/uefi/sys/ofed/drivers/infiniband/hw/mthca/mthca_mcg.c
  projects/uefi/sys/ofed/drivers/infiniband/hw/mthca/mthca_qp.c
  projects/uefi/sys/ofed/drivers/net/mlx4/mcg.c
  projects/uefi/sys/pc98/conf/GENERIC
  projects/uefi/sys/powerpc/aim/trap_subr32.S
  projects/uefi/sys/powerpc/aim/trap_subr64.S
  projects/uefi/sys/powerpc/booke/platform_bare.c
  projects/uefi/sys/powerpc/conf/GENERIC
  projects/uefi/sys/powerpc/fpu/fpu_emu.c
  projects/uefi/sys/powerpc/fpu/fpu_sqrt.c
  projects/uefi/sys/powerpc/include/fdt.h
  projects/uefi/sys/powerpc/include/ofw_machdep.h
  projects/uefi/sys/powerpc/mpc85xx/platform_mpc85xx.c
  projects/uefi/sys/powerpc/ofw/ofw_machdep.c
  projects/uefi/sys/powerpc/powermac/nvbl.c
  projects/uefi/sys/powerpc/powermac/platform_powermac.c
  projects/uefi/sys/powerpc/powerpc/copyinout.c
  projects/uefi/sys/powerpc/powerpc/cpu.c
  projects/uefi/sys/powerpc/powerpc/platform.c
  projects/uefi/sys/powerpc/powerpc/platform_if.m
  projects/uefi/sys/powerpc/ps3/platform_ps3.c
  projects/uefi/sys/powerpc/pseries/platform_chrp.c
  projects/uefi/sys/powerpc/wii/platform_wii.c
  projects/uefi/sys/sparc64/conf/GENERIC
  projects/uefi/sys/sys/consio.h
  projects/uefi/sys/sys/file.h
  projects/uefi/sys/sys/ktr.h
  projects/uefi/sys/sys/lock.h
  projects/uefi/sys/sys/mdioctl.h
  projects/uefi/sys/ufs/ffs/ffs_softdep.c
  projects/uefi/sys/vm/uma_core.c
  projects/uefi/sys/x86/iommu/intel_reg.h
  projects/uefi/tools/build/options/WITHOUT_PKGBOOTSTRAP
  projects/uefi/tools/test/dtrace/Makefile
  projects/uefi/usr.bin/script/script.1
  projects/uefi/usr.bin/script/script.c
  projects/uefi/usr.bin/yacc/Makefile
  projects/uefi/usr.sbin/bhyveload/bhyveload.8
  projects/uefi/usr.sbin/bluetooth/bthidd/kbd.c
  projects/uefi/usr.sbin/bsdconfig/includes/includes
  projects/uefi/usr.sbin/bsdconfig/share/common.subr
  projects/uefi/usr.sbin/bsdinstall/scripts/zfsboot
  projects/uefi/usr.sbin/ctld/ctl.conf.5
  projects/uefi/usr.sbin/ctld/parse.y
  projects/uefi/usr.sbin/mfiutil/mfi_show.c
  projects/uefi/usr.sbin/rwhod/rwhod.c
Directory Properties:
  projects/uefi/   (props changed)
  projects/uefi/cddl/   (props changed)
  projects/uefi/cddl/contrib/opensolaris/   (props changed)
  projects/uefi/contrib/gcc/   (props changed)
  projects/uefi/contrib/llvm/   (props changed)
  projects/uefi/contrib/llvm/tools/lldb/   (props changed)
  projects/uefi/lib/libc/   (props changed)
  projects/uefi/sbin/   (props changed)
  projects/uefi/share/man/man4/   (props changed)
  projects/uefi/sys/   (props changed)
  projects/uefi/sys/amd64/vmm/   (props changed)
  projects/uefi/sys/boot/   (props changed)
  projects/uefi/sys/cddl/contrib/opensolaris/   (props changed)
  projects/uefi/sys/conf/   (props changed)
  projects/uefi/usr.sbin/bhyveload/   (props changed)

Modified: projects/uefi/Makefile.inc1
==============================================================================
--- projects/uefi/Makefile.inc1	Thu Dec  5 16:29:22 2013	(r258990)
+++ projects/uefi/Makefile.inc1	Thu Dec  5 16:43:53 2013	(r258991)
@@ -1499,13 +1499,14 @@ _prebuild_libs=	${_kerberos5_lib_libasn1
 		lib/libbz2 ${_libcom_err} lib/libcrypt \
 		lib/libelf lib/libexpat \
 		${_lib_libgssapi} ${_lib_libipx} \
-		lib/libkiconv lib/libkvm lib/liblzma lib/libmd \
+		lib/libkiconv lib/libkvm lib/liblzma lib/libmd lib/libnv \
+		${_lib_libcapsicum} \
 		lib/ncurses/ncurses lib/ncurses/ncursesw \
 		lib/libopie lib/libpam ${_lib_libthr} \
 		lib/libradius lib/libsbuf lib/libtacplus \
 		${_cddl_lib_libumem} ${_cddl_lib_libnvpair} \
 		${_cddl_lib_libzfs_core} \
-		lib/libutil ${_lib_libypclnt} lib/libz lib/msun \
+		lib/libutil lib/libpjdlog ${_lib_libypclnt} lib/libz lib/msun \
 		${_secure_lib_libcrypto} ${_lib_libldns} \
 		${_secure_lib_libssh} ${_secure_lib_libssl}
 
@@ -1521,6 +1522,13 @@ _lib_libthr=	lib/libthr
 _ofed_lib=	contrib/ofed/usr.lib/
 .endif
 
+.if ${MK_CASPER} != "no"
+_lib_libcapsicum=lib/libcapsicum
+.endif
+
+lib/libcapsicum__L: lib/libnv__L
+lib/libpjdlog__L: lib/libutil__L
+
 _generic_libs=	${_cddl_lib} gnu/lib ${_kerberos5_lib} lib ${_secure_lib} usr.bin/lex/lib ${_ofed_lib}
 .for _DIR in ${LOCAL_LIB_DIRS}
 .if exists(${.CURDIR}/${_DIR}/Makefile)

Modified: projects/uefi/ObsoleteFiles.inc
==============================================================================
--- projects/uefi/ObsoleteFiles.inc	Thu Dec  5 16:29:22 2013	(r258990)
+++ projects/uefi/ObsoleteFiles.inc	Thu Dec  5 16:43:53 2013	(r258991)
@@ -38,6 +38,9 @@
 #   xargs -n1 | sort | uniq -d;
 # done
 
+# 20131202: libcapsicum and libcasper moved to /lib/
+OLD_LIBS+=usr/lib/libcapsicum.so.0
+OLD_LIBS+=usr/lib/libcasper.so.0
 # 20131109: extattr(2) mlinks fixed
 OLD_FILES+=usr/share/man/man2/extattr_delete_list.2.gz
 OLD_FILES+=usr/share/man/man2/extattr_get_list.2.gz

Modified: projects/uefi/UPDATING
==============================================================================
--- projects/uefi/UPDATING	Thu Dec  5 16:29:22 2013	(r258990)
+++ projects/uefi/UPDATING	Thu Dec  5 16:43:53 2013	(r258991)
@@ -79,7 +79,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11
 	available in the ports tree.   The dns/bind99 port is one example.
 
 	With this change, nslookup(1) and dig(1) are no longer in the base
-	system.  Users should instead use host(1) which is still
+	system.  Users should instead use host(1) and drill(1) which are
 	in the base system.  Alternatively, nslookup and dig can
 	be obtained by installing the dns/bind-tools port.
 

Modified: projects/uefi/bin/sh/cd.c
==============================================================================
--- projects/uefi/bin/sh/cd.c	Thu Dec  5 16:29:22 2013	(r258990)
+++ projects/uefi/bin/sh/cd.c	Thu Dec  5 16:43:53 2013	(r258991)
@@ -182,6 +182,7 @@ cdlogical(char *dest)
 	struct stat statb;
 	int first;
 	int badstat;
+	size_t len;
 
 	/*
 	 *  Check each component of the path. If we find a symlink or
@@ -189,8 +190,9 @@ cdlogical(char *dest)
 	 *  next time we get the value of the current directory.
 	 */
 	badstat = 0;
-	cdcomppath = stalloc(strlen(dest) + 1);
-	scopy(dest, cdcomppath);
+	len = strlen(dest);
+	cdcomppath = stalloc(len + 1);
+	memcpy(cdcomppath, dest, len + 1);
 	STARTSTACKSTR(p);
 	if (*dest == '/') {
 		STPUTC('/', p);
@@ -275,6 +277,7 @@ findcwd(char *dir)
 {
 	char *new;
 	char *p;
+	size_t len;
 
 	/*
 	 * If our argument is NULL, we don't know the current directory
@@ -283,8 +286,9 @@ findcwd(char *dir)
 	 */
 	if (dir == NULL || curdir == NULL)
 		return getpwd2();
-	cdcomppath = stalloc(strlen(dir) + 1);
-	scopy(dir, cdcomppath);
+	len = strlen(dir);
+	cdcomppath = stalloc(len + 1);
+	memcpy(cdcomppath, dir, len + 1);
 	STARTSTACKSTR(new);
 	if (*dir != '/') {
 		STPUTS(curdir, new);

Modified: projects/uefi/bin/sh/exec.c
==============================================================================
--- projects/uefi/bin/sh/exec.c	Thu Dec  5 16:29:22 2013	(r258990)
+++ projects/uefi/bin/sh/exec.c	Thu Dec  5 16:43:53 2013	(r258991)
@@ -187,14 +187,15 @@ padvance(const char **path, const char *
 {
 	const char *p, *start;
 	char *q;
-	size_t len;
+	size_t len, namelen;
 
 	if (*path == NULL)
 		return NULL;
 	start = *path;
 	for (p = start; *p && *p != ':' && *p != '%'; p++)
 		; /* nothing */
-	len = p - start + strlen(name) + 2;	/* "2" is for '/' and '\0' */
+	namelen = strlen(name);
+	len = p - start + namelen + 2;	/* "2" is for '/' and '\0' */
 	STARTSTACKSTR(q);
 	CHECKSTRSPACE(len, q);
 	if (p != start) {
@@ -202,7 +203,7 @@ padvance(const char **path, const char *
 		q += p - start;
 		*q++ = '/';
 	}
-	strcpy(q, name);
+	memcpy(q, name, namelen + 1);
 	pathopt = NULL;
 	if (*p == '%') {
 		pathopt = ++p;
@@ -527,6 +528,7 @@ cmdlookup(const char *name, int add)
 	const char *p;
 	struct tblentry *cmdp;
 	struct tblentry **pp;
+	size_t len;
 
 	p = name;
 	hashval = *p << 4;
@@ -541,11 +543,11 @@ cmdlookup(const char *name, int add)
 	}
 	if (add && cmdp == NULL) {
 		INTOFF;
-		cmdp = *pp = ckmalloc(sizeof (struct tblentry)
-					+ strlen(name) + 1);
+		len = strlen(name);
+		cmdp = *pp = ckmalloc(sizeof (struct tblentry) + len + 1);
 		cmdp->next = NULL;
 		cmdp->cmdtype = CMDUNKNOWN;
-		strcpy(cmdp->cmdname, name);
+		memcpy(cmdp->cmdname, name, len + 1);
 		INTON;
 	}
 	lastcmdentry = pp;

Modified: projects/uefi/bin/sh/expand.c
==============================================================================
--- projects/uefi/bin/sh/expand.c	Thu Dec  5 16:29:22 2013	(r258990)
+++ projects/uefi/bin/sh/expand.c	Thu Dec  5 16:43:53 2013	(r258991)
@@ -1307,9 +1307,11 @@ addfname(char *name)
 {
 	char *p;
 	struct strlist *sp;
+	size_t len;
 
-	p = stalloc(strlen(name) + 1);
-	scopy(name, p);
+	len = strlen(name);
+	p = stalloc(len + 1);
+	memcpy(p, name, len + 1);
 	sp = (struct strlist *)stalloc(sizeof *sp);
 	sp->text = p;
 	*exparg.lastp = sp;

Modified: projects/uefi/bin/sh/memalloc.c
==============================================================================
--- projects/uefi/bin/sh/memalloc.c	Thu Dec  5 16:29:22 2013	(r258990)
+++ projects/uefi/bin/sh/memalloc.c	Thu Dec  5 16:43:53 2013	(r258991)
@@ -98,9 +98,11 @@ char *
 savestr(const char *s)
 {
 	char *p;
+	size_t len;
 
-	p = ckmalloc(strlen(s) + 1);
-	scopy(s, p);
+	len = strlen(s);
+	p = ckmalloc(len + 1);
+	memcpy(p, s, len + 1);
 	return p;
 }
 

Modified: projects/uefi/bin/sh/mystring.c
==============================================================================
--- projects/uefi/bin/sh/mystring.c	Thu Dec  5 16:29:22 2013	(r258990)
+++ projects/uefi/bin/sh/mystring.c	Thu Dec  5 16:43:53 2013	(r258991)
@@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$");
  * String functions.
  *
  *	equal(s1, s2)		Return true if strings are equal.
- *	scopy(from, to)		Copy a string.
  *	number(s)		Convert a string of digits to an integer.
  *	is_number(s)		Return true if s is a string of digits.
  */
@@ -60,10 +59,6 @@ char nullstr[1];		/* zero length string 
  * equal - #defined in mystring.h
  */
 
-/*
- * scopy - #defined in mystring.h
- */
-
 
 /*
  * prefix -- see if pfx is a prefix of string.

Modified: projects/uefi/bin/sh/mystring.h
==============================================================================
--- projects/uefi/bin/sh/mystring.h	Thu Dec  5 16:29:22 2013	(r258990)
+++ projects/uefi/bin/sh/mystring.h	Thu Dec  5 16:43:53 2013	(r258991)
@@ -40,4 +40,3 @@ int number(const char *);
 int is_number(const char *);
 
 #define equal(s1, s2)	(strcmp(s1, s2) == 0)
-#define scopy(s1, s2)	((void)strcpy(s2, s1))

Modified: projects/uefi/bin/sh/show.c
==============================================================================
--- projects/uefi/bin/sh/show.c	Thu Dec  5 16:29:22 2013	(r258990)
+++ projects/uefi/bin/sh/show.c	Thu Dec  5 16:43:53 2013	(r258991)
@@ -390,11 +390,11 @@ opentrace(void)
 			else
 				p = "/tmp";
 		}
-		scopy(p, s);
+		strcpy(s, p);
 		strcat(s, "/trace");
 	}
 #else
-	scopy("./trace", s);
+	strcpy(s, "./trace");
 #endif /* not_this_way */
 	if ((tracefile = fopen(s, "a")) == NULL) {
 		fprintf(stderr, "Can't open %s: %s\n", s, strerror(errno));

Modified: projects/uefi/bin/sh/var.c
==============================================================================
--- projects/uefi/bin/sh/var.c	Thu Dec  5 16:29:22 2013	(r258990)
+++ projects/uefi/bin/sh/var.c	Thu Dec  5 16:43:53 2013	(r258991)
@@ -224,8 +224,9 @@ void
 setvar(const char *name, const char *val, int flags)
 {
 	const char *p;
-	int len;
-	int namelen;
+	size_t len;
+	size_t namelen;
+	size_t vallen;
 	char *nameeq;
 	int isbad;
 
@@ -244,18 +245,20 @@ setvar(const char *name, const char *val
 	}
 	namelen = p - name;
 	if (isbad)
-		error("%.*s: bad variable name", namelen, name);
+		error("%.*s: bad variable name", (int)namelen, name);
 	len = namelen + 2;		/* 2 is space for '=' and '\0' */
 	if (val == NULL) {
 		flags |= VUNSET;
+		vallen = 0;
 	} else {
-		len += strlen(val);
+		vallen = strlen(val);
+		len += vallen;
 	}
 	nameeq = ckmalloc(len);
 	memcpy(nameeq, name, namelen);
 	nameeq[namelen] = '=';
 	if (val)
-		scopy(val, nameeq + namelen + 1);
+		memcpy(nameeq + namelen + 1, val, vallen + 1);
 	else
 		nameeq[namelen + 1] = '\0';
 	setvareq(nameeq, flags);

Modified: projects/uefi/bin/test/test.c
==============================================================================
--- projects/uefi/bin/test/test.c	Thu Dec  5 16:29:22 2013	(r258990)
+++ projects/uefi/bin/test/test.c	Thu Dec  5 16:43:53 2013	(r258991)
@@ -67,9 +67,18 @@ error(const char *msg, ...)
 	operand ::= <any legal UNIX file name>
 */
 
+enum token_types {
+	UNOP = 0x100,
+	BINOP = 0x200,
+	BUNOP = 0x300,
+	BBINOP = 0x400,
+	PAREN = 0x500
+};
+
 enum token {
 	EOI,
-	FILRD,
+	OPERAND,
+	FILRD = UNOP + 1,
 	FILWR,
 	FILEX,
 	FILEXIST,
@@ -85,13 +94,13 @@ enum token {
 	FILSUID,
 	FILSGID,
 	FILSTCK,
-	FILNT,
-	FILOT,
-	FILEQ,
-	FILUID,
-	FILGID,
 	STREZ,
 	STRNZ,
+	FILUID,
+	FILGID,
+	FILNT = BINOP + 1,
+	FILOT,
+	FILEQ,
 	STREQ,
 	STRNE,
 	STRLT,
@@ -102,70 +111,62 @@ enum token {
 	INTGT,
 	INTLE,
 	INTLT,
-	UNOT,
-	BAND,
+	UNOT = BUNOP + 1,
+	BAND = BBINOP + 1,
 	BOR,
-	LPAREN,
-	RPAREN,
-	OPERAND
+	LPAREN = PAREN + 1,
+	RPAREN
 };
 
-enum token_types {
-	UNOP,
-	BINOP,
-	BUNOP,
-	BBINOP,
-	PAREN
-};
+#define TOKEN_TYPE(token) ((token) & 0xff00)
 
 static struct t_op {
 	char op_text[4];
-	short op_num, op_type;
+	short op_num;
 } const ops [] = {
-	{"-r",	FILRD,	UNOP},
-	{"-w",	FILWR,	UNOP},
-	{"-x",	FILEX,	UNOP},
-	{"-e",	FILEXIST,UNOP},
-	{"-f",	FILREG,	UNOP},
-	{"-d",	FILDIR,	UNOP},
-	{"-c",	FILCDEV,UNOP},
-	{"-b",	FILBDEV,UNOP},
-	{"-p",	FILFIFO,UNOP},
-	{"-u",	FILSUID,UNOP},
-	{"-g",	FILSGID,UNOP},
-	{"-k",	FILSTCK,UNOP},
-	{"-s",	FILGZ,	UNOP},
-	{"-t",	FILTT,	UNOP},
-	{"-z",	STREZ,	UNOP},
-	{"-n",	STRNZ,	UNOP},
-	{"-h",	FILSYM,	UNOP},		/* for backwards compat */
-	{"-O",	FILUID,	UNOP},
-	{"-G",	FILGID,	UNOP},
-	{"-L",	FILSYM,	UNOP},
-	{"-S",	FILSOCK,UNOP},
-	{"=",	STREQ,	BINOP},
-	{"==",	STREQ,	BINOP},
-	{"!=",	STRNE,	BINOP},
-	{"<",	STRLT,	BINOP},
-	{">",	STRGT,	BINOP},
-	{"-eq",	INTEQ,	BINOP},
-	{"-ne",	INTNE,	BINOP},
-	{"-ge",	INTGE,	BINOP},
-	{"-gt",	INTGT,	BINOP},
-	{"-le",	INTLE,	BINOP},
-	{"-lt",	INTLT,	BINOP},
-	{"-nt",	FILNT,	BINOP},
-	{"-ot",	FILOT,	BINOP},
-	{"-ef",	FILEQ,	BINOP},
-	{"!",	UNOT,	BUNOP},
-	{"-a",	BAND,	BBINOP},
-	{"-o",	BOR,	BBINOP},
-	{"(",	LPAREN,	PAREN},
-	{")",	RPAREN,	PAREN},
-	{"",	0,	0}
+	{"-r",	FILRD},
+	{"-w",	FILWR},
+	{"-x",	FILEX},
+	{"-e",	FILEXIST},
+	{"-f",	FILREG},
+	{"-d",	FILDIR},
+	{"-c",	FILCDEV},
+	{"-b",	FILBDEV},
+	{"-p",	FILFIFO},
+	{"-u",	FILSUID},
+	{"-g",	FILSGID},
+	{"-k",	FILSTCK},
+	{"-s",	FILGZ},
+	{"-t",	FILTT},
+	{"-z",	STREZ},
+	{"-n",	STRNZ},
+	{"-h",	FILSYM},		/* for backwards compat */
+	{"-O",	FILUID},
+	{"-G",	FILGID},
+	{"-L",	FILSYM},
+	{"-S",	FILSOCK},
+	{"=",	STREQ},
+	{"==",	STREQ},
+	{"!=",	STRNE},
+	{"<",	STRLT},
+	{">",	STRGT},
+	{"-eq",	INTEQ},
+	{"-ne",	INTNE},
+	{"-ge",	INTGE},
+	{"-gt",	INTGT},
+	{"-le",	INTLE},
+	{"-lt",	INTLT},
+	{"-nt",	FILNT},
+	{"-ot",	FILOT},
+	{"-ef",	FILEQ},
+	{"!",	UNOT},
+	{"-a",	BAND},
+	{"-o",	BOR},
+	{"(",	LPAREN},
+	{")",	RPAREN},
+	{"",	0}
 };
 
-static struct t_op const *t_wp_op;
 static int nargc;
 static char **t_wp;
 static int parenlevel;
@@ -295,10 +296,10 @@ primary(enum token n)
 		parenlevel--;
 		return res;
 	}
-	if (t_wp_op && t_wp_op->op_type == UNOP) {
+	if (TOKEN_TYPE(n) == UNOP) {
 		/* unary expression */
 		if (--nargc == 0)
-			syntax(t_wp_op->op_text, "argument expected");
+			syntax(NULL, "argument expected"); /* impossible */
 		switch (n) {
 		case STREZ:
 			return strlen(*++t_wp) == 0;
@@ -311,10 +312,8 @@ primary(enum token n)
 		}
 	}
 
-	if (t_lex(nargc > 0 ? t_wp[1] : NULL), t_wp_op && t_wp_op->op_type ==
-	    BINOP) {
+	if (TOKEN_TYPE(t_lex(nargc > 0 ? t_wp[1] : NULL)) == BINOP)
 		return binop();
-	}
 
 	return strlen(*t_wp) > 0;
 }
@@ -322,17 +321,17 @@ primary(enum token n)
 static int
 binop(void)
 {
-	const char *opnd1, *opnd2;
-	struct t_op const *op;
+	const char *opnd1, *op, *opnd2;
+	enum token n;
 
 	opnd1 = *t_wp;
-	(void) t_lex(nargc > 0 ? (--nargc, *++t_wp) : NULL);
-	op = t_wp_op;
+	op = nargc > 0 ? t_wp[1] : NULL;
+	n = t_lex(nargc > 0 ? (--nargc, *++t_wp) : NULL);
 
 	if ((opnd2 = nargc > 0 ? (--nargc, *++t_wp) : NULL) == NULL)
-		syntax(op->op_text, "argument expected");
+		syntax(op, "argument expected");
 
-	switch (op->op_num) {
+	switch (n) {
 	case STREQ:
 		return strcmp(opnd1, opnd2) == 0;
 	case STRNE:
@@ -424,22 +423,20 @@ t_lex(char *s)
 	struct t_op const *op = ops;
 
 	if (s == 0) {
-		t_wp_op = NULL;
 		return EOI;
 	}
 	while (*op->op_text) {
 		if (strcmp(s, op->op_text) == 0) {
-			if (((op->op_type == UNOP || op->op_type == BUNOP)
+			if (((TOKEN_TYPE(op->op_num) == UNOP ||
+			    TOKEN_TYPE(op->op_num) == BUNOP)
 						&& isunopoperand()) ||
 			    (op->op_num == LPAREN && islparenoperand()) ||
 			    (op->op_num == RPAREN && isrparenoperand()))
 				break;
-			t_wp_op = op;
 			return op->op_num;
 		}
 		op++;
 	}
-	t_wp_op = NULL;
 	return OPERAND;
 }
 
@@ -458,7 +455,7 @@ isunopoperand(void)
 	t = *(t_wp + 2);
 	while (*op->op_text) {
 		if (strcmp(s, op->op_text) == 0)
-			return op->op_type == BINOP &&
+			return TOKEN_TYPE(op->op_num) == BINOP &&
 			    (parenlevel == 0 || t[0] != ')' || t[1] != '\0');
 		op++;
 	}
@@ -480,7 +477,7 @@ islparenoperand(void)
 		return 0;
 	while (*op->op_text) {
 		if (strcmp(s, op->op_text) == 0)
-			return op->op_type == BINOP;
+			return TOKEN_TYPE(op->op_num) == BINOP;
 		op++;
 	}
 	return 0;

Modified: projects/uefi/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n/tst.ufunc.ksh
==============================================================================
--- projects/uefi/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n/tst.ufunc.ksh	Thu Dec  5 16:29:22 2013	(r258990)
+++ projects/uefi/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n/tst.ufunc.ksh	Thu Dec  5 16:43:53 2013	(r258991)
@@ -64,7 +64,7 @@ child=$!
 # ksh doing work.  (This actually goes one step further and assumes that we
 # catch some non-static function in ksh.)
 #
-script | tee /dev/fd/2 | grep 'ksh`[a-zA-Z_]' > /dev/null
+script | tee /dev/fd/2 | egrep 'ksh(93)?`[a-zA-Z_]' > /dev/null
 status=$? 
 
 kill $child

Modified: projects/uefi/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n/tst.umod.ksh
==============================================================================
--- projects/uefi/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n/tst.umod.ksh	Thu Dec  5 16:29:22 2013	(r258990)
+++ projects/uefi/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n/tst.umod.ksh	Thu Dec  5 16:43:53 2013	(r258991)
@@ -62,7 +62,7 @@ child=$!
 #
 # The only thing we can be sure of here is that ksh is doing some work.
 #
-script | tee /dev/fd/2 | grep -w ksh > /dev/null
+script | tee /dev/fd/2 | egrep -w 'ksh(93)?' > /dev/null
 status=$? 
 
 kill $child

Modified: projects/uefi/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n/tst.usym.ksh
==============================================================================
--- projects/uefi/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n/tst.usym.ksh	Thu Dec  5 16:29:22 2013	(r258990)
+++ projects/uefi/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n/tst.usym.ksh	Thu Dec  5 16:43:53 2013	(r258991)
@@ -63,7 +63,7 @@ child=$!
 # This test is essentially the same as that in the ufunc test; see that
 # test for the rationale.
 #
-script | tee /dev/fd/2 | grep 'ksh`[a-zA-Z_]' > /dev/null
+script | tee /dev/fd/2 | egrep 'ksh(93)?`[a-zA-Z_]' > /dev/null
 status=$? 
 
 kill $child

Modified: projects/uefi/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c
==============================================================================
--- projects/uefi/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c	Thu Dec  5 16:29:22 2013	(r258990)
+++ projects/uefi/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c	Thu Dec  5 16:43:53 2013	(r258991)
@@ -1709,8 +1709,6 @@ dtrace_program_link(dtrace_hdl_t *dtp, d
 		 */
 		return (0);
 	}
-	/* XXX Should get a temp file name here. */
-	snprintf(tfile, sizeof(tfile), "%s.tmp", file);
 #endif
 
 	/*
@@ -1785,9 +1783,11 @@ dtrace_program_link(dtrace_hdl_t *dtp, d
 		    "failed to open %s: %s", file, strerror(errno)));
 	}
 #else
-	if ((fd = open(tfile, O_RDWR | O_CREAT | O_TRUNC, 0666)) == -1)
+	snprintf(tfile, sizeof(tfile), "%s.XXXXXX", file);
+	if ((fd = mkstemp(tfile)) == -1)
 		return (dt_link_error(dtp, NULL, -1, NULL,
-		    "failed to open %s: %s", tfile, strerror(errno)));
+		    "failed to create temporary file %s: %s",
+		    tfile, strerror(errno)));
 #endif
 
 	/*
@@ -1830,13 +1830,15 @@ dtrace_program_link(dtrace_hdl_t *dtp, d
 		status = dump_elf32(dtp, dof, fd);
 
 	if (status != 0 || lseek(fd, 0, SEEK_SET) != 0) {
-#else
-	/* We don't write the ELF header, just the DOF section */
-	if (dt_write(dtp, fd, dof, dof->dofh_filesz) < dof->dofh_filesz) {
-#endif
 		return (dt_link_error(dtp, NULL, -1, NULL,
 		    "failed to write %s: %s", file, strerror(errno)));
 	}
+#else
+	/* We don't write the ELF header, just the DOF section */
+	if (dt_write(dtp, fd, dof, dof->dofh_filesz) < dof->dofh_filesz)
+		return (dt_link_error(dtp, NULL, -1, NULL,
+		    "failed to write %s: %s", tfile, strerror(errno)));
+#endif
 
 	if (!dtp->dt_lazyload) {
 #if defined(sun)

Modified: projects/uefi/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c
==============================================================================
--- projects/uefi/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c	Thu Dec  5 16:29:22 2013	(r258990)
+++ projects/uefi/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c	Thu Dec  5 16:43:53 2013	(r258991)
@@ -487,22 +487,16 @@ static const dt_ident_t _dtrace_globals[
 	DT_VERS_1_0, &dt_idops_func, "void(...)" },
 { "typeref", DT_IDENT_FUNC, 0, DIF_SUBR_TYPEREF, DT_ATTR_STABCMN, DT_VERS_1_1,
 	&dt_idops_func, "uintptr_t *(void *, size_t, string, size_t)" },
-#if defined(sun)
 { "uaddr", DT_IDENT_ACTFUNC, 0, DT_ACT_UADDR, DT_ATTR_STABCMN,
 	DT_VERS_1_2, &dt_idops_func, "_usymaddr(uintptr_t)" },
-#endif
 { "ucaller", DT_IDENT_SCALAR, 0, DIF_VAR_UCALLER, DT_ATTR_STABCMN,
 	DT_VERS_1_2, &dt_idops_type, "uint64_t" },
-#if defined(sun)
 { "ufunc", DT_IDENT_ACTFUNC, 0, DT_ACT_USYM, DT_ATTR_STABCMN,
 	DT_VERS_1_2, &dt_idops_func, "_usymaddr(uintptr_t)" },
-#endif
 { "uid", DT_IDENT_SCALAR, 0, DIF_VAR_UID, DT_ATTR_STABCMN, DT_VERS_1_0,
 	&dt_idops_type, "uid_t" },
-#if defined(sun)
 { "umod", DT_IDENT_ACTFUNC, 0, DT_ACT_UMOD, DT_ATTR_STABCMN,
 	DT_VERS_1_2, &dt_idops_func, "_usymaddr(uintptr_t)" },
-#endif
 { "uregs", DT_IDENT_ARRAY, 0, DIF_VAR_UREGS, DT_ATTR_STABCMN, DT_VERS_1_0,
 	&dt_idops_regs, NULL },
 { "ustack", DT_IDENT_ACTFUNC, 0, DT_ACT_USTACK, DT_ATTR_STABCMN, DT_VERS_1_0,
@@ -510,10 +504,8 @@ static const dt_ident_t _dtrace_globals[
 { "ustackdepth", DT_IDENT_SCALAR, 0, DIF_VAR_USTACKDEPTH,
 	DT_ATTR_STABCMN, DT_VERS_1_2,
 	&dt_idops_type, "uint32_t" },
-#if defined(sun)
 { "usym", DT_IDENT_ACTFUNC, 0, DT_ACT_USYM, DT_ATTR_STABCMN,
 	DT_VERS_1_2, &dt_idops_func, "_usymaddr(uintptr_t)" },
-#endif
 { "vtimestamp", DT_IDENT_SCALAR, 0, DIF_VAR_VTIMESTAMP,
 	DT_ATTR_STABCMN, DT_VERS_1_0,
 	&dt_idops_type, "uint64_t" },

Modified: projects/uefi/contrib/gcc/ChangeLog.gcc43
==============================================================================
--- projects/uefi/contrib/gcc/ChangeLog.gcc43	Thu Dec  5 16:29:22 2013	(r258990)
+++ projects/uefi/contrib/gcc/ChangeLog.gcc43	Thu Dec  5 16:43:53 2013	(r258991)
@@ -4,18 +4,67 @@
 	* config/arm/unwind-arm.h (__gnu_Unwind_Backtrace): New.
 	* config/arm/unwind-arm.c (__gnu_Unwind_Backtrace): New.
 
+2007-07-12  Geoffrey Keating  <geoffk@apple.com> (r126588)
+
+	* builtins.c (get_pointer_alignment): Honor DECL_ALIGN on a
+	FUNCTION_DECL.
+	* tree.c (build_decl_stat): Move code from here...
+	(make_node_stat): ... to here.  Don't uselessly clear DECL_USER_ALIGN.
+	(expr_align): Honor DECL_ALIGN on a FUNCTION_DECL.  Add comment
+	about using DECL_ALIGN of LABEL_DECL and CONST_DECL.
+	* tree.h (DECL_USER_ALIGN): Fix misplaced comment.
+	* varasm.c (assemble_start_function): Use DECL_ALIGN instead of
+	FUNCTION_BOUNDARY.
+
+2007-07-09  Geoffrey Keating  <geoffk@apple.com> (r126529)
+
+	PR 32617
+	* c-common.c (c_alignof_expr): Look at DECL_ALIGN of
+	FUNCTION_DECLs.
+	(handle_aligned_attribute): Allow use on FUNCTION_DECLs.
+	* varasm.c (assemble_start_function): Honor DECL_ALIGN
+	for FUNCTION_DECLs.  Don't use align_functions_log if
+	DECL_USER_ALIGN.
+	* print-tree.c (print_node): Print DECL_ALIGN and DECL_USER_ALIGN
+	even for FUNCTION_DECLs.
+	* c-decl.c (merge_decls): Propagate DECL_ALIGN even for
+	FUNCTION_DECLs.
+	* tree.h (DECL_ALIGN): Update for new location of 'align'.
+	(DECL_FUNCTION_CODE): Update for new location and name of
+	'function_code'.
+	(DECL_OFFSET_ALIGN): Update for new location of 'off_align'.
+	(struct tree_decl_common): Move 'align' and 'off_align' out
+	of union, ensure they're still on a 32-bit boundary.  Remove
+	other fields in union 'u1'.
+	(struct tree_function_decl): Add field 'function_code' replacing
+	'u1.f' in tree_decl_common.
+	* tree.c (build_decl_stat): Set initial value of DECL_ALIGN.
+	* doc/extend.texi (Function Attributes): Add 'aligned' attribute.
+	(Variable Attributes): Cross-reference 'aligned' attribute
+	to Function Attributes.
+	* flags.h (force_align_functions_log): Delete.
+	* toplev.c (force_align_functions_log): Delete.
+
 2007-06-05  Joerg Wunsch  <j.gnu@uriah.heep.sax.de> (r125346)
 
 	PR preprocessor/23479
 	* doc/extend.texi: Document the 0b-prefixed binary integer
 	constant extension.
 	
-2007-05-31  Eric Christopher  <echristo@apple.com>
+2007-05-31  Eric Christopher  <echristo@apple.com> (r125246)
 
 	* expr.c (convert_move): Assert that we don't have a BLKmode
 	operand.
 	(store_expr): Handle BLKmode moves by calling emit_block_move.
 
+2007-05-27  Eric Christopher  <echristo@apple.com> (r125116)
+
+	* config/rs6000/rs6000.c (rs6000_emit_prologue): Update
+	sp_offset depending on stack size. Save r12 depending
+	on registers we're saving later.
+	(rs6000_emit_epilogue): Update sp_offset depending only
+	on stack size.
+
 2007-05-24  Richard Sandiford  <rsandifo@nildram.co.uk> (r125037)
 
 	* postreload-gcse.c (reg_changed_after_insn_p): New function.
@@ -60,7 +109,7 @@
 	alignment for amdfam10 architecture. Increasing the max loop
 	alignment to 24 bytes.
 
-2007-04-16  Lawrence Crowl  <crowl@google.com>
+2007-04-16  Lawrence Crowl  <crowl@google.com> (r123909)
 
 	* doc/invoke.texi (Debugging Options): Add documentation for the
 	-femit-struct-debug options -femit-struct-debug-baseonly,
@@ -139,7 +188,7 @@
 	* config/i386/i386.c (override_options): Likewise.
 	* doc/invoke.texi: Likewise.
 
-2007-03-12  Seongbae Park <seongbae.park@gmail.com>
+2007-03-12  Seongbae Park <seongbae.park@gmail.com> (r122851)
 
 	* c-decl.c (warn_variable_length_array): New function.
 	Refactored from grokdeclarator to handle warn_vla
@@ -340,6 +389,16 @@
 
 	* config.gcc: Support core2 processor.
 
+2007-01-05  Manuel Lopez-Ibanez  <manu@gcc.gnu.org> (r120505)
+
+	PR c/19978
+	* tree.h (TREE_OVERFLOW_P): New.
+	* c-typeck.c (parser_build_unary_op): Warn only if result
+	overflowed and operands did not.
+	(parser_build_binary_op): Likewise.
+	(convert_for_assignment): Remove redundant overflow_warning.
+	* c-common.c (overflow_warning): Don't check or set TREE_OVERFLOW.
+
 2006-12-13  Ian Lance Taylor  <iant@google.com> (r119855)
 
 	PR c++/19564

Modified: projects/uefi/contrib/gcc/builtins.c
==============================================================================
--- projects/uefi/contrib/gcc/builtins.c	Thu Dec  5 16:29:22 2013	(r258990)
+++ projects/uefi/contrib/gcc/builtins.c	Thu Dec  5 16:43:53 2013	(r258991)
@@ -315,9 +315,7 @@ get_pointer_alignment (tree exp, unsigne
 	      else if (offset)
 		inner = MIN (inner, BITS_PER_UNIT);
 	    }
-	  if (TREE_CODE (exp) == FUNCTION_DECL)
-	    align = FUNCTION_BOUNDARY;
-	  else if (DECL_P (exp))
+	  if (DECL_P (exp))
 	    align = MIN (inner, DECL_ALIGN (exp));
 #ifdef CONSTANT_ALIGNMENT
 	  else if (CONSTANT_CLASS_P (exp))

Modified: projects/uefi/contrib/gcc/c-common.c
==============================================================================
--- projects/uefi/contrib/gcc/c-common.c	Thu Dec  5 16:29:22 2013	(r258990)
+++ projects/uefi/contrib/gcc/c-common.c	Thu Dec  5 16:43:53 2013	(r258991)
@@ -916,39 +916,45 @@ constant_expression_warning (tree value)
     pedwarn ("overflow in constant expression");
 }
 
-/* Print a warning if an expression had overflow in folding.
+/* Print a warning if an expression had overflow in folding and its
+   operands hadn't.
+
    Invoke this function on every expression that
    (1) appears in the source code, and
-   (2) might be a constant expression that overflowed, and
+   (2) is a constant expression that overflowed, and
    (3) is not already checked by convert_and_check;
-   however, do not invoke this function on operands of explicit casts.  */
+   however, do not invoke this function on operands of explicit casts
+   or when the expression is the result of an operator and any operand
+   already overflowed.  */
 
 void
 overflow_warning (tree value)
 {
-  if ((TREE_CODE (value) == INTEGER_CST
-       || (TREE_CODE (value) == COMPLEX_CST
-	   && TREE_CODE (TREE_REALPART (value)) == INTEGER_CST))
-      && TREE_OVERFLOW (value))
-    {
-      TREE_OVERFLOW (value) = 0;
-      if (skip_evaluation == 0)
-	warning (OPT_Woverflow, "integer overflow in expression");
-    }
-  else if ((TREE_CODE (value) == REAL_CST
-	    || (TREE_CODE (value) == COMPLEX_CST
-		&& TREE_CODE (TREE_REALPART (value)) == REAL_CST))
-	   && TREE_OVERFLOW (value))
-    {
-      TREE_OVERFLOW (value) = 0;
-      if (skip_evaluation == 0)
-	warning (OPT_Woverflow, "floating point overflow in expression");
-    }
-  else if (TREE_CODE (value) == VECTOR_CST && TREE_OVERFLOW (value))
-    {
-      TREE_OVERFLOW (value) = 0;
-      if (skip_evaluation == 0)
-	warning (OPT_Woverflow, "vector overflow in expression");
+  if (skip_evaluation) return;
+
+  switch (TREE_CODE (value))
+    {
+    case INTEGER_CST:
+      warning (OPT_Woverflow, "integer overflow in expression");
+      break;
+      
+    case REAL_CST:
+      warning (OPT_Woverflow, "floating point overflow in expression");
+      break;
+      
+    case VECTOR_CST:
+      warning (OPT_Woverflow, "vector overflow in expression");
+      break;
+      
+    case COMPLEX_CST:
+      if (TREE_CODE (TREE_REALPART (value)) == INTEGER_CST)
+	warning (OPT_Woverflow, "complex integer overflow in expression");
+      else if (TREE_CODE (TREE_REALPART (value)) == REAL_CST)
+	warning (OPT_Woverflow, "complex floating point overflow in expression");
+      break;
+
+    default:
+      break;
     }
 }
 
@@ -2989,16 +2995,16 @@ c_sizeof_or_alignof_type (tree type, boo
 }
 
 /* Implement the __alignof keyword: Return the minimum required
-   alignment of EXPR, measured in bytes.  For VAR_DECL's and
-   FIELD_DECL's return DECL_ALIGN (which can be set from an
-   "aligned" __attribute__ specification).  */
+   alignment of EXPR, measured in bytes.  For VAR_DECLs,
+   FUNCTION_DECLs and FIELD_DECLs return DECL_ALIGN (which can be set
+   from an "aligned" __attribute__ specification).  */
 
 tree
 c_alignof_expr (tree expr)
 {
   tree t;
 
-  if (TREE_CODE (expr) == VAR_DECL)
+  if (VAR_OR_FUNCTION_DECL_P (expr))
     t = size_int (DECL_ALIGN_UNIT (expr));
 
   else if (TREE_CODE (expr) == COMPONENT_REF
@@ -4803,12 +4809,24 @@ handle_aligned_attribute (tree *node, tr
       TYPE_ALIGN (*type) = (1 << i) * BITS_PER_UNIT;
       TYPE_USER_ALIGN (*type) = 1;
     }
-  else if (TREE_CODE (decl) != VAR_DECL
+  else if (! VAR_OR_FUNCTION_DECL_P (decl)
 	   && TREE_CODE (decl) != FIELD_DECL)
     {
       error ("alignment may not be specified for %q+D", decl);
       *no_add_attrs = true;
     }
+  else if (TREE_CODE (decl) == FUNCTION_DECL
+	   && DECL_ALIGN (decl) > (1 << i) * BITS_PER_UNIT)
+    {
+      if (DECL_USER_ALIGN (decl))
+	error ("alignment for %q+D was previously specified as %d "
+	       "and may not be decreased", decl,
+	       DECL_ALIGN (decl) / BITS_PER_UNIT);
+      else
+	error ("alignment for %q+D must be at least %d", decl,
+	       DECL_ALIGN (decl) / BITS_PER_UNIT);
+      *no_add_attrs = true;
+    }
   else
     {
       DECL_ALIGN (decl) = (1 << i) * BITS_PER_UNIT;

Modified: projects/uefi/contrib/gcc/c-decl.c
==============================================================================
--- projects/uefi/contrib/gcc/c-decl.c	Thu Dec  5 16:29:22 2013	(r258990)
+++ projects/uefi/contrib/gcc/c-decl.c	Thu Dec  5 16:43:53 2013	(r258991)
@@ -1690,12 +1690,11 @@ merge_decls (tree newdecl, tree olddecl,
       DECL_SIZE (newdecl) = DECL_SIZE (olddecl);
       DECL_SIZE_UNIT (newdecl) = DECL_SIZE_UNIT (olddecl);
       DECL_MODE (newdecl) = DECL_MODE (olddecl);
-      if (TREE_CODE (olddecl) != FUNCTION_DECL)
-	if (DECL_ALIGN (olddecl) > DECL_ALIGN (newdecl))
-	  {
-	    DECL_ALIGN (newdecl) = DECL_ALIGN (olddecl);
-	    DECL_USER_ALIGN (newdecl) |= DECL_ALIGN (olddecl);
-	  }
+      if (DECL_ALIGN (olddecl) > DECL_ALIGN (newdecl))
+	{
+	  DECL_ALIGN (newdecl) = DECL_ALIGN (olddecl);
+	  DECL_USER_ALIGN (newdecl) |= DECL_ALIGN (olddecl);
+	}
     }
 
 

Modified: projects/uefi/contrib/gcc/c-typeck.c
==============================================================================
--- projects/uefi/contrib/gcc/c-typeck.c	Thu Dec  5 16:29:22 2013	(r258990)
+++ projects/uefi/contrib/gcc/c-typeck.c	Thu Dec  5 16:43:53 2013	(r258991)
@@ -2616,7 +2616,10 @@ parser_build_unary_op (enum tree_code co
 
   result.original_code = ERROR_MARK;
   result.value = build_unary_op (code, arg.value, 0);
-  overflow_warning (result.value);
+  
+  if (TREE_OVERFLOW_P (result.value) && !TREE_OVERFLOW_P (arg.value))
+    overflow_warning (result.value);
+
   return result;
 }
 
@@ -2660,7 +2663,10 @@ parser_build_binary_op (enum tree_code c
     warning (OPT_Waddress, 
              "comparison with string literal results in unspecified behaviour");
 
-  overflow_warning (result.value);
+  if (TREE_OVERFLOW_P (result.value) 
+      && !TREE_OVERFLOW_P (arg1.value) 
+      && !TREE_OVERFLOW_P (arg2.value))
+    overflow_warning (result.value);
 
   return result;
 }
@@ -3847,10 +3853,7 @@ convert_for_assignment (tree type, tree 
     }
 
   if (TYPE_MAIN_VARIANT (type) == TYPE_MAIN_VARIANT (rhstype))
-    {
-      overflow_warning (rhs);
-      return rhs;
-    }
+    return rhs;
 
   if (coder == VOID_TYPE)
     {

Modified: projects/uefi/contrib/gcc/config/rs6000/rs6000.c
==============================================================================
--- projects/uefi/contrib/gcc/config/rs6000/rs6000.c	Thu Dec  5 16:29:22 2013	(r258990)
+++ projects/uefi/contrib/gcc/config/rs6000/rs6000.c	Thu Dec  5 16:43:53 2013	(r258991)
@@ -14704,8 +14704,17 @@ rs6000_emit_prologue (void)
   if (!WORLD_SAVE_P (info) && info->push_p
       && !(DEFAULT_ABI == ABI_V4 || current_function_calls_eh_return))
     {
-      rs6000_emit_allocate_stack (info->total_size, FALSE);
+      if (info->total_size < 32767)
       sp_offset = info->total_size;
+      else
+	frame_reg_rtx = frame_ptr_rtx;
+      rs6000_emit_allocate_stack (info->total_size,
+				  (frame_reg_rtx != sp_reg_rtx
+				   && ((info->altivec_size != 0)
+				       || (info->vrsave_mask != 0)
+				       )));
+      if (frame_reg_rtx != sp_reg_rtx)
+	rs6000_emit_stack_tie ();
     }
 
   /* Set frame pointer, if needed.  */
@@ -15046,8 +15055,7 @@ rs6000_emit_epilogue (int sibcall)
     }
 
   /* Set sp_offset based on the stack push from the prologue.  */
-  if ((DEFAULT_ABI == ABI_V4 || current_function_calls_eh_return)
-      && info->total_size < 32767)
+  if (info->total_size < 32767)
     sp_offset = info->total_size;
 
   /* Restore AltiVec registers if needed.  */

Modified: projects/uefi/contrib/gcc/cp/ChangeLog.gcc43
==============================================================================
--- projects/uefi/contrib/gcc/cp/ChangeLog.gcc43	Thu Dec  5 16:29:22 2013	(r258990)
+++ projects/uefi/contrib/gcc/cp/ChangeLog.gcc43	Thu Dec  5 16:43:53 2013	(r258991)
@@ -1,3 +1,12 @@
+2007-07-09  Geoffrey Keating  <geoffk@apple.com> (r126529)
+
+	PR 32617
+	* decl.c (cxx_init_decl_processing): Don't set
+	force_align_functions_log.
+	(grokfndecl): Honour ptrmemfunc_vbit_in_pfn.
+	* typeck.c (cxx_alignof_expr): When alignof is used on a plain
+	FUNCTION_DECL, return its alignment.
+
 2007-06-28  Geoffrey Keating  <geoffk@apple.com> (r126080)
 
 	* decl2.c (start_objects): Mark constructor-runnning function
@@ -9,6 +18,13 @@
 	* decl2.c (determine_visibility): Remove duplicate code for
 	handling type info.
 
+2007-05-05  Geoffrey Keating  <geoffk@apple.com> (r124467)
+
+	PR 31775
+	* mangle.c (write_mangled_name): Mangle static variable names.
+	(write_unqualified_name): Use local-source-name for
+	namespace-scope static variables.
+
 2007-03-12  Seongbae Park <seongbae.park@gmail.com> (r122851)
 
 	* decl.c (compute_array_index_type): New warning flag warn_vla.
@@ -20,6 +36,12 @@
 	TREE_OVERFLOW_P is true for the result and not for any of the
 	operands.
 	
+2007-01-05  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
+
+	PR c/19978
+	* semantics.c (finish_unary_op_expr): Warn only if result
+	overflowed and operands did not.
+
 2006-10-31  Geoffrey Keating  <geoffk@apple.com> (r118360)
 
 	* name-lookup.c (get_anonymous_namespace_name): New.

*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***



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