Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Mar 2015 11:19:42 +0000 (UTC)
From:      Dmitry Chagin <dchagin@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r279777 - in user/dchagin/lemul: . bin/kill bin/rcp bin/sh bin/sh/bltin cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt ...
Message-ID:  <201503081119.t28BJgxL071347@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dchagin
Date: Sun Mar  8 11:19:41 2015
New Revision: 279777
URL: https://svnweb.freebsd.org/changeset/base/279777

Log:
  Merge from head.

Added:
  user/dchagin/lemul/cddl/usr.sbin/dtrace/tests/
     - copied from r279776, head/cddl/usr.sbin/dtrace/tests/
  user/dchagin/lemul/contrib/binutils/binutils/doc/binutils.7
     - copied unchanged from r279776, head/contrib/binutils/binutils/doc/binutils.7
  user/dchagin/lemul/contrib/binutils/gas/doc/as.7
     - copied unchanged from r279776, head/contrib/binutils/gas/doc/as.7
  user/dchagin/lemul/contrib/binutils/ld/ld.7
     - copied unchanged from r279776, head/contrib/binutils/ld/ld.7
  user/dchagin/lemul/contrib/binutils/ld/ldint.7
     - copied unchanged from r279776, head/contrib/binutils/ld/ldint.7
  user/dchagin/lemul/contrib/diff/doc/diff.7
     - copied unchanged from r279776, head/contrib/diff/doc/diff.7
  user/dchagin/lemul/contrib/gperf/doc/gperf.7
     - copied unchanged from r279776, head/contrib/gperf/doc/gperf.7
  user/dchagin/lemul/contrib/libucl/klib/
     - copied from r279776, head/contrib/libucl/klib/
  user/dchagin/lemul/contrib/libucl/tests/basic/14.in
     - copied unchanged from r279776, head/contrib/libucl/tests/basic/14.in
  user/dchagin/lemul/contrib/libucl/tests/basic/14.res
     - copied unchanged from r279776, head/contrib/libucl/tests/basic/14.res
  user/dchagin/lemul/contrib/mdocml/Makefile.local
     - copied unchanged from r279776, head/contrib/mdocml/Makefile.local
  user/dchagin/lemul/contrib/mdocml/compat_strtonum.c
     - copied unchanged from r279776, head/contrib/mdocml/compat_strtonum.c
  user/dchagin/lemul/contrib/mdocml/test-strtonum.c
     - copied unchanged from r279776, head/contrib/mdocml/test-strtonum.c
  user/dchagin/lemul/etc/rc.d/iovctl
     - copied unchanged from r279776, head/etc/rc.d/iovctl
  user/dchagin/lemul/lib/libnv/tests/dnv_tests.cc
     - copied unchanged from r279776, head/lib/libnv/tests/dnv_tests.cc
  user/dchagin/lemul/lib/libnv/tests/nv_tests.cc
     - copied unchanged from r279776, head/lib/libnv/tests/nv_tests.cc
  user/dchagin/lemul/share/dtrace/tcpconn
     - copied unchanged from r279776, head/share/dtrace/tcpconn
  user/dchagin/lemul/share/dtrace/tcpstate
     - copied unchanged from r279776, head/share/dtrace/tcpstate
  user/dchagin/lemul/share/dtrace/tcptrack
     - copied unchanged from r279776, head/share/dtrace/tcptrack
  user/dchagin/lemul/share/dtrace/udptrack
     - copied unchanged from r279776, head/share/dtrace/udptrack
  user/dchagin/lemul/share/man/man9/PCI_ADD_VF.9
     - copied unchanged from r279776, head/share/man/man9/PCI_ADD_VF.9
  user/dchagin/lemul/share/man/man9/PCI_INIT_IOV.9
     - copied unchanged from r279776, head/share/man/man9/PCI_INIT_IOV.9
  user/dchagin/lemul/share/man/man9/PCI_UNINIT_IOV.9
     - copied unchanged from r279776, head/share/man/man9/PCI_UNINIT_IOV.9
  user/dchagin/lemul/share/man/man9/pci_iov_schema.9
     - copied unchanged from r279776, head/share/man/man9/pci_iov_schema.9
  user/dchagin/lemul/sys/cddl/compat/opensolaris/sys/nvpair.h
     - copied unchanged from r279776, head/sys/cddl/compat/opensolaris/sys/nvpair.h
  user/dchagin/lemul/sys/dev/pci/pci_iov.c
     - copied unchanged from r279776, head/sys/dev/pci/pci_iov.c
  user/dchagin/lemul/sys/dev/pci/pci_iov_private.h
     - copied unchanged from r279776, head/sys/dev/pci/pci_iov_private.h
  user/dchagin/lemul/sys/dev/pci/pci_iov_schema.c
     - copied unchanged from r279776, head/sys/dev/pci/pci_iov_schema.c
  user/dchagin/lemul/sys/dev/pci/schema_private.h
     - copied unchanged from r279776, head/sys/dev/pci/schema_private.h
  user/dchagin/lemul/sys/dev/uart/uart_cpu_fdt.h
     - copied unchanged from r279776, head/sys/dev/uart/uart_cpu_fdt.h
  user/dchagin/lemul/sys/kern/subr_dnvlist.c
     - copied unchanged from r279776, head/sys/kern/subr_dnvlist.c
  user/dchagin/lemul/sys/kern/subr_nvlist.c
     - copied unchanged from r279776, head/sys/kern/subr_nvlist.c
  user/dchagin/lemul/sys/kern/subr_nvpair.c
     - copied unchanged from r279776, head/sys/kern/subr_nvpair.c
  user/dchagin/lemul/sys/libkern/asprintf.c
     - copied unchanged from r279776, head/sys/libkern/asprintf.c
  user/dchagin/lemul/sys/mips/conf/AP135
     - copied unchanged from r279776, head/sys/mips/conf/AP135
  user/dchagin/lemul/sys/mips/conf/AP135.hints
     - copied unchanged from r279776, head/sys/mips/conf/AP135.hints
  user/dchagin/lemul/sys/mips/conf/QCA955X_BASE
     - copied unchanged from r279776, head/sys/mips/conf/QCA955X_BASE
  user/dchagin/lemul/sys/mips/conf/QCA955X_BASE.hints
     - copied unchanged from r279776, head/sys/mips/conf/QCA955X_BASE.hints
  user/dchagin/lemul/sys/modules/dtb/imx6/
     - copied from r279776, head/sys/modules/dtb/imx6/
  user/dchagin/lemul/sys/sys/dnv.h
     - copied unchanged from r279776, head/sys/sys/dnv.h
  user/dchagin/lemul/sys/sys/iov.h
     - copied unchanged from r279776, head/sys/sys/iov.h
  user/dchagin/lemul/sys/sys/iov_schema.h
     - copied unchanged from r279776, head/sys/sys/iov_schema.h
  user/dchagin/lemul/sys/sys/nv.h
     - copied unchanged from r279776, head/sys/sys/nv.h
  user/dchagin/lemul/sys/sys/nv_impl.h
     - copied unchanged from r279776, head/sys/sys/nv_impl.h
  user/dchagin/lemul/sys/sys/nvlist_impl.h
     - copied unchanged from r279776, head/sys/sys/nvlist_impl.h
  user/dchagin/lemul/sys/sys/nvpair_impl.h
     - copied unchanged from r279776, head/sys/sys/nvpair_impl.h
  user/dchagin/lemul/usr.sbin/iovctl/
     - copied from r279776, head/usr.sbin/iovctl/
Deleted:
  user/dchagin/lemul/contrib/binutils/gas/doc/as.txt
  user/dchagin/lemul/contrib/binutils/ld/ld.txt
  user/dchagin/lemul/contrib/libucl/m4/
  user/dchagin/lemul/lib/libnv/dnv.h
  user/dchagin/lemul/lib/libnv/dnvlist.c
  user/dchagin/lemul/lib/libnv/nv.h
  user/dchagin/lemul/lib/libnv/nv_impl.h
  user/dchagin/lemul/lib/libnv/nvlist.c
  user/dchagin/lemul/lib/libnv/nvlist_impl.h
  user/dchagin/lemul/lib/libnv/nvpair.c
  user/dchagin/lemul/lib/libnv/nvpair_impl.h
  user/dchagin/lemul/tools/test/dtrace/
  user/dchagin/lemul/usr.bin/calendar/calcpp.c
Modified:
  user/dchagin/lemul/ObsoleteFiles.inc
  user/dchagin/lemul/UPDATING
  user/dchagin/lemul/bin/kill/kill.c
  user/dchagin/lemul/bin/rcp/Makefile
  user/dchagin/lemul/bin/sh/arith_yacc.h
  user/dchagin/lemul/bin/sh/arith_yylex.c
  user/dchagin/lemul/bin/sh/bltin/bltin.h
  user/dchagin/lemul/bin/sh/error.c
  user/dchagin/lemul/bin/sh/eval.c
  user/dchagin/lemul/bin/sh/eval.h
  user/dchagin/lemul/bin/sh/histedit.c
  user/dchagin/lemul/bin/sh/jobs.c
  user/dchagin/lemul/bin/sh/mknodes.c
  user/dchagin/lemul/bin/sh/mksyntax.c
  user/dchagin/lemul/bin/sh/mktokens
  user/dchagin/lemul/bin/sh/options.c
  user/dchagin/lemul/bin/sh/options.h
  user/dchagin/lemul/bin/sh/var.c
  user/dchagin/lemul/bin/sh/var.h
  user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.manypids.ksh
  user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.provregex2.ksh
  user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.provregex3.ksh
  user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.provregex4.ksh
  user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.dlclose1.ksh
  user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.dlclose2.ksh
  user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.dlclose3.ksh
  user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.multiprov.ksh
  user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.noprobes.ksh
  user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.noreap.ksh
  user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.noreapring.ksh
  user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.reap.ksh
  user/dchagin/lemul/contrib/libc++/include/__bit_reference
  user/dchagin/lemul/contrib/libc++/include/__tree
  user/dchagin/lemul/contrib/libc++/include/algorithm
  user/dchagin/lemul/contrib/libucl/ChangeLog.md
  user/dchagin/lemul/contrib/libucl/Makefile.am
  user/dchagin/lemul/contrib/libucl/README.md
  user/dchagin/lemul/contrib/libucl/cmake/CMakeLists.txt
  user/dchagin/lemul/contrib/libucl/configure.ac
  user/dchagin/lemul/contrib/libucl/doc/Makefile.am
  user/dchagin/lemul/contrib/libucl/doc/api.md
  user/dchagin/lemul/contrib/libucl/doc/libucl.3
  user/dchagin/lemul/contrib/libucl/doc/pandoc.template
  user/dchagin/lemul/contrib/libucl/include/ucl.h
  user/dchagin/lemul/contrib/libucl/src/Makefile.am
  user/dchagin/lemul/contrib/libucl/src/ucl_emitter.c
  user/dchagin/lemul/contrib/libucl/src/ucl_emitter_utils.c
  user/dchagin/lemul/contrib/libucl/src/ucl_hash.c
  user/dchagin/lemul/contrib/libucl/src/ucl_hash.h
  user/dchagin/lemul/contrib/libucl/src/ucl_internal.h
  user/dchagin/lemul/contrib/libucl/src/ucl_parser.c
  user/dchagin/lemul/contrib/libucl/src/ucl_schema.c
  user/dchagin/lemul/contrib/libucl/src/ucl_util.c
  user/dchagin/lemul/contrib/libucl/tests/schema.test
  user/dchagin/lemul/contrib/libucl/tests/test_generate.c
  user/dchagin/lemul/contrib/libucl/tests/test_schema.c
  user/dchagin/lemul/contrib/libucl/uthash/utstring.h
  user/dchagin/lemul/contrib/libucl/utils/objdump.c
  user/dchagin/lemul/contrib/mdocml/LICENSE
  user/dchagin/lemul/contrib/mdocml/Makefile
  user/dchagin/lemul/contrib/mdocml/Makefile.depend
  user/dchagin/lemul/contrib/mdocml/TODO
  user/dchagin/lemul/contrib/mdocml/apropos.1
  user/dchagin/lemul/contrib/mdocml/cgi.c
  user/dchagin/lemul/contrib/mdocml/chars.c
  user/dchagin/lemul/contrib/mdocml/chars.in
  user/dchagin/lemul/contrib/mdocml/compat_fts.c
  user/dchagin/lemul/contrib/mdocml/config.h
  user/dchagin/lemul/contrib/mdocml/configure
  user/dchagin/lemul/contrib/mdocml/configure.local.example
  user/dchagin/lemul/contrib/mdocml/demandoc.c
  user/dchagin/lemul/contrib/mdocml/eqn.7
  user/dchagin/lemul/contrib/mdocml/eqn.c
  user/dchagin/lemul/contrib/mdocml/eqn_term.c
  user/dchagin/lemul/contrib/mdocml/example.style.css
  user/dchagin/lemul/contrib/mdocml/gmdiff
  user/dchagin/lemul/contrib/mdocml/html.c
  user/dchagin/lemul/contrib/mdocml/libman.h
  user/dchagin/lemul/contrib/mdocml/libmandoc.h
  user/dchagin/lemul/contrib/mdocml/libmdoc.h
  user/dchagin/lemul/contrib/mdocml/libroff.h
  user/dchagin/lemul/contrib/mdocml/main.c
  user/dchagin/lemul/contrib/mdocml/main.h
  user/dchagin/lemul/contrib/mdocml/man-cgi.css
  user/dchagin/lemul/contrib/mdocml/man.1
  user/dchagin/lemul/contrib/mdocml/man.7
  user/dchagin/lemul/contrib/mdocml/man.c
  user/dchagin/lemul/contrib/mdocml/man.h
  user/dchagin/lemul/contrib/mdocml/man_html.c
  user/dchagin/lemul/contrib/mdocml/man_macro.c
  user/dchagin/lemul/contrib/mdocml/man_term.c
  user/dchagin/lemul/contrib/mdocml/man_validate.c
  user/dchagin/lemul/contrib/mdocml/mandoc.1
  user/dchagin/lemul/contrib/mdocml/mandoc.3
  user/dchagin/lemul/contrib/mdocml/mandoc.c
  user/dchagin/lemul/contrib/mdocml/mandoc.db.5
  user/dchagin/lemul/contrib/mdocml/mandoc.h
  user/dchagin/lemul/contrib/mdocml/mandoc_char.7
  user/dchagin/lemul/contrib/mdocml/mandoc_escape.3
  user/dchagin/lemul/contrib/mdocml/mandoc_headers.3
  user/dchagin/lemul/contrib/mdocml/mandocdb.c
  user/dchagin/lemul/contrib/mdocml/manpage.c
  user/dchagin/lemul/contrib/mdocml/mansearch.c
  user/dchagin/lemul/contrib/mdocml/mdoc.7
  user/dchagin/lemul/contrib/mdocml/mdoc.c
  user/dchagin/lemul/contrib/mdocml/mdoc.h
  user/dchagin/lemul/contrib/mdocml/mdoc_argv.c
  user/dchagin/lemul/contrib/mdocml/mdoc_html.c
  user/dchagin/lemul/contrib/mdocml/mdoc_macro.c
  user/dchagin/lemul/contrib/mdocml/mdoc_man.c
  user/dchagin/lemul/contrib/mdocml/mdoc_term.c
  user/dchagin/lemul/contrib/mdocml/mdoc_validate.c
  user/dchagin/lemul/contrib/mdocml/msec.c
  user/dchagin/lemul/contrib/mdocml/out.c
  user/dchagin/lemul/contrib/mdocml/preconv.c
  user/dchagin/lemul/contrib/mdocml/read.c
  user/dchagin/lemul/contrib/mdocml/roff.7
  user/dchagin/lemul/contrib/mdocml/roff.c
  user/dchagin/lemul/contrib/mdocml/st.in
  user/dchagin/lemul/contrib/mdocml/style.css
  user/dchagin/lemul/contrib/mdocml/tbl.3
  user/dchagin/lemul/contrib/mdocml/tbl.7
  user/dchagin/lemul/contrib/mdocml/tbl.c
  user/dchagin/lemul/contrib/mdocml/tbl_data.c
  user/dchagin/lemul/contrib/mdocml/tbl_html.c
  user/dchagin/lemul/contrib/mdocml/tbl_layout.c
  user/dchagin/lemul/contrib/mdocml/tbl_opts.c
  user/dchagin/lemul/contrib/mdocml/tbl_term.c
  user/dchagin/lemul/contrib/mdocml/term.c
  user/dchagin/lemul/contrib/mdocml/term.h
  user/dchagin/lemul/contrib/mdocml/term_ascii.c
  user/dchagin/lemul/contrib/mdocml/term_ps.c
  user/dchagin/lemul/contrib/mdocml/tree.c
  user/dchagin/lemul/contrib/tzdata/antarctica
  user/dchagin/lemul/contrib/tzdata/asia
  user/dchagin/lemul/contrib/tzdata/backward
  user/dchagin/lemul/contrib/tzdata/europe
  user/dchagin/lemul/contrib/tzdata/leap-seconds.list
  user/dchagin/lemul/contrib/tzdata/northamerica
  user/dchagin/lemul/contrib/tzdata/southamerica
  user/dchagin/lemul/contrib/tzdata/zone.tab
  user/dchagin/lemul/contrib/tzdata/zone1970.tab
  user/dchagin/lemul/etc/defaults/rc.conf
  user/dchagin/lemul/etc/mtree/BSD.tests.dist
  user/dchagin/lemul/etc/mtree/BSD.usr.dist
  user/dchagin/lemul/etc/rc.d/Makefile
  user/dchagin/lemul/etc/rc.d/netif
  user/dchagin/lemul/gnu/usr.bin/binutils/doc/Makefile
  user/dchagin/lemul/gnu/usr.bin/diff/Makefile
  user/dchagin/lemul/gnu/usr.bin/gperf/Makefile
  user/dchagin/lemul/lib/libc/gen/getpwent.c
  user/dchagin/lemul/lib/libc/stdlib/qsort.c
  user/dchagin/lemul/lib/libc/sys/cap_ioctls_limit.2
  user/dchagin/lemul/lib/libgpio/gpio.3
  user/dchagin/lemul/lib/libgpio/gpio.c
  user/dchagin/lemul/lib/libgpio/libgpio.h
  user/dchagin/lemul/lib/libmt/mtlib.c
  user/dchagin/lemul/lib/libnv/Makefile
  user/dchagin/lemul/lib/libnv/nv.3
  user/dchagin/lemul/lib/libnv/tests/Makefile
  user/dchagin/lemul/lib/libnv/tests/nvlist_send_recv_test.c
  user/dchagin/lemul/lib/libucl/Makefile
  user/dchagin/lemul/lib/msun/src/e_j0.c
  user/dchagin/lemul/lib/msun/src/e_j0f.c
  user/dchagin/lemul/lib/msun/src/e_j1.c
  user/dchagin/lemul/lib/msun/src/e_j1f.c
  user/dchagin/lemul/release/arm/release.sh
  user/dchagin/lemul/sbin/ifconfig/af_inet6.c
  user/dchagin/lemul/sbin/ifconfig/af_nd6.c
  user/dchagin/lemul/sbin/ifconfig/ifconfig.8
  user/dchagin/lemul/sbin/mount_fusefs/mount_fusefs.c
  user/dchagin/lemul/share/dtrace/Makefile
  user/dchagin/lemul/share/man/man4/Makefile
  user/dchagin/lemul/share/man/man4/ds3231.4
  user/dchagin/lemul/share/man/man5/rc.conf.5
  user/dchagin/lemul/share/man/man9/Makefile
  user/dchagin/lemul/share/man/man9/VOP_VPTOCNP.9
  user/dchagin/lemul/share/man/man9/pci.9
  user/dchagin/lemul/share/misc/committers-src.dot
  user/dchagin/lemul/sys/amd64/amd64/mp_machdep.c
  user/dchagin/lemul/sys/amd64/conf/GENERIC
  user/dchagin/lemul/sys/amd64/vmm/amd/svm.c
  user/dchagin/lemul/sys/amd64/vmm/amd/svm_support.S
  user/dchagin/lemul/sys/amd64/vmm/io/ppt.c
  user/dchagin/lemul/sys/amd64/vmm/io/vatpic.c
  user/dchagin/lemul/sys/amd64/vmm/vmm.c
  user/dchagin/lemul/sys/arm/arm/db_trace.c
  user/dchagin/lemul/sys/arm/arm/exception.S
  user/dchagin/lemul/sys/arm/arm/physmem.c
  user/dchagin/lemul/sys/arm/arm/undefined.c
  user/dchagin/lemul/sys/arm/at91/uart_bus_at91usart.c
  user/dchagin/lemul/sys/arm/at91/uart_cpu_at91usart.c
  user/dchagin/lemul/sys/arm/at91/uart_dev_at91usart.c
  user/dchagin/lemul/sys/arm/conf/BEAGLEBONE
  user/dchagin/lemul/sys/arm/conf/IMX6
  user/dchagin/lemul/sys/arm/freescale/vybrid/vf_uart.c
  user/dchagin/lemul/sys/arm/include/atomic.h
  user/dchagin/lemul/sys/arm/samsung/exynos/exynos5_xhci.c
  user/dchagin/lemul/sys/arm/samsung/exynos/exynos_uart.c
  user/dchagin/lemul/sys/arm/samsung/s3c2xx0/uart_bus_s3c2410.c
  user/dchagin/lemul/sys/arm/samsung/s3c2xx0/uart_cpu_s3c2410.c
  user/dchagin/lemul/sys/arm/ti/aintc.c
  user/dchagin/lemul/sys/arm/xilinx/uart_dev_cdnc.c
  user/dchagin/lemul/sys/arm/xilinx/zy7_devcfg.c
  user/dchagin/lemul/sys/arm/xilinx/zy7_slcr.c
  user/dchagin/lemul/sys/arm/xilinx/zy7_slcr.h
  user/dchagin/lemul/sys/boot/amd64/boot1.efi/boot1.c
  user/dchagin/lemul/sys/boot/amd64/boot1.efi/generate-fat.sh
  user/dchagin/lemul/sys/boot/i386/boot2/Makefile
  user/dchagin/lemul/sys/boot/pc98/boot2/Makefile
  user/dchagin/lemul/sys/cam/cam_periph.c
  user/dchagin/lemul/sys/cam/cam_xpt.c
  user/dchagin/lemul/sys/cam/scsi/scsi_da.c
  user/dchagin/lemul/sys/cam/scsi/scsi_sa.c
  user/dchagin/lemul/sys/cddl/contrib/opensolaris/uts/common/sys/dtrace.h
  user/dchagin/lemul/sys/cddl/dev/dtrace/arm/dtrace_asm.S
  user/dchagin/lemul/sys/cddl/dev/dtrace/arm/dtrace_isa.c
  user/dchagin/lemul/sys/cddl/dev/dtrace/arm/dtrace_subr.c
  user/dchagin/lemul/sys/cddl/dev/dtrace/powerpc/dtrace_subr.c
  user/dchagin/lemul/sys/cddl/dev/fbt/arm/fbt_isa.c
  user/dchagin/lemul/sys/conf/Makefile.powerpc
  user/dchagin/lemul/sys/conf/files
  user/dchagin/lemul/sys/conf/files.amd64
  user/dchagin/lemul/sys/conf/files.i386
  user/dchagin/lemul/sys/conf/options
  user/dchagin/lemul/sys/dev/acpica/acpi.c
  user/dchagin/lemul/sys/dev/acpica/acpi_pci.c
  user/dchagin/lemul/sys/dev/ahci/ahci_pci.c
  user/dchagin/lemul/sys/dev/ath/if_ath_ahb.c
  user/dchagin/lemul/sys/dev/cxgbe/t4_netmap.c
  user/dchagin/lemul/sys/dev/drm2/drm_fb_helper.c
  user/dchagin/lemul/sys/dev/drm2/drm_irq.c
  user/dchagin/lemul/sys/dev/drm2/radeon/radeon_fb.c
  user/dchagin/lemul/sys/dev/ed/if_ed_pccard.c
  user/dchagin/lemul/sys/dev/etherswitch/arswitch/arswitch.c
  user/dchagin/lemul/sys/dev/etherswitch/arswitch/arswitch_8327.c
  user/dchagin/lemul/sys/dev/etherswitch/arswitch/arswitch_phy.c
  user/dchagin/lemul/sys/dev/etherswitch/arswitch/arswitch_phy.h
  user/dchagin/lemul/sys/dev/etherswitch/arswitch/arswitch_reg.c
  user/dchagin/lemul/sys/dev/etherswitch/arswitch/arswitchreg.h
  user/dchagin/lemul/sys/dev/etherswitch/arswitch/arswitchvar.h
  user/dchagin/lemul/sys/dev/fb/fbd.c
  user/dchagin/lemul/sys/dev/flash/at45d.c
  user/dchagin/lemul/sys/dev/gpio/gpiobus.c
  user/dchagin/lemul/sys/dev/gpio/gpiobus_if.m
  user/dchagin/lemul/sys/dev/gpio/gpiobusvar.h
  user/dchagin/lemul/sys/dev/gpio/gpioc.c
  user/dchagin/lemul/sys/dev/gpio/ofw_gpiobus.c
  user/dchagin/lemul/sys/dev/mps/mps_sas.c
  user/dchagin/lemul/sys/dev/pci/pci.c
  user/dchagin/lemul/sys/dev/pci/pci_if.m
  user/dchagin/lemul/sys/dev/pci/pci_pci.c
  user/dchagin/lemul/sys/dev/pci/pci_private.h
  user/dchagin/lemul/sys/dev/pci/pci_user.c
  user/dchagin/lemul/sys/dev/pci/pcib_if.m
  user/dchagin/lemul/sys/dev/pci/pcib_private.h
  user/dchagin/lemul/sys/dev/pci/pcib_support.c
  user/dchagin/lemul/sys/dev/pci/pcireg.h
  user/dchagin/lemul/sys/dev/pci/pcivar.h
  user/dchagin/lemul/sys/dev/pci/vga_pci.c
  user/dchagin/lemul/sys/dev/sfxge/sfxge_rx.h
  user/dchagin/lemul/sys/dev/uart/uart.h
  user/dchagin/lemul/sys/dev/uart/uart_bus_fdt.c
  user/dchagin/lemul/sys/dev/uart/uart_cpu_fdt.c
  user/dchagin/lemul/sys/dev/uart/uart_dev_imx.c
  user/dchagin/lemul/sys/dev/uart/uart_dev_lpc.c
  user/dchagin/lemul/sys/dev/uart/uart_dev_msm.c
  user/dchagin/lemul/sys/dev/uart/uart_dev_ns8250.c
  user/dchagin/lemul/sys/dev/uart/uart_dev_pl011.c
  user/dchagin/lemul/sys/dev/uart/uart_dev_ti8250.c
  user/dchagin/lemul/sys/dev/uart/uart_subr.c
  user/dchagin/lemul/sys/dev/usb/controller/dwc_otg_fdt.c
  user/dchagin/lemul/sys/dev/usb/controller/xhci.c
  user/dchagin/lemul/sys/dev/usb/controller/xhci.h
  user/dchagin/lemul/sys/dev/usb/controller/xhci_pci.c
  user/dchagin/lemul/sys/dev/usb/quirk/usb_quirk.c
  user/dchagin/lemul/sys/dev/usb/serial/u3g.c
  user/dchagin/lemul/sys/dev/usb/serial/usb_serial.c
  user/dchagin/lemul/sys/dev/usb/serial/usb_serial.h
  user/dchagin/lemul/sys/dev/usb/usbdevs
  user/dchagin/lemul/sys/dev/usb/video/udl.c
  user/dchagin/lemul/sys/dev/virtio/block/virtio_blk.c
  user/dchagin/lemul/sys/dev/virtio/block/virtio_blk.h
  user/dchagin/lemul/sys/dev/vt/hw/fb/vt_fb.c
  user/dchagin/lemul/sys/dev/vt/hw/fb/vt_fb.h
  user/dchagin/lemul/sys/dev/vt/hw/vga/vt_vga.c
  user/dchagin/lemul/sys/dev/vt/vt.h
  user/dchagin/lemul/sys/dev/vt/vt_core.c
  user/dchagin/lemul/sys/dev/watchdog/watchdog.c
  user/dchagin/lemul/sys/dev/wpi/if_wpi.c
  user/dchagin/lemul/sys/fs/fuse/fuse_node.c
  user/dchagin/lemul/sys/fs/fuse/fuse_node.h
  user/dchagin/lemul/sys/fs/fuse/fuse_vnops.c
  user/dchagin/lemul/sys/fs/nandfs/bmap.c
  user/dchagin/lemul/sys/i386/conf/GENERIC
  user/dchagin/lemul/sys/i386/i386/mp_machdep.c
  user/dchagin/lemul/sys/kern/kern_tc.c
  user/dchagin/lemul/sys/kern/link_elf.c
  user/dchagin/lemul/sys/kern/uipc_syscalls.c
  user/dchagin/lemul/sys/mips/atheros/ar71xx_ehci.c
  user/dchagin/lemul/sys/mips/atheros/ar71xx_gpio.c
  user/dchagin/lemul/sys/mips/atheros/ar71xxreg.h
  user/dchagin/lemul/sys/mips/atheros/if_arge.c
  user/dchagin/lemul/sys/mips/atheros/qca955x_chip.c
  user/dchagin/lemul/sys/mips/atheros/qca955xreg.h
  user/dchagin/lemul/sys/modules/Makefile
  user/dchagin/lemul/sys/modules/drm2/Makefile
  user/dchagin/lemul/sys/modules/drm2/radeonkmsfw/Makefile
  user/dchagin/lemul/sys/modules/dtrace/dtraceall/dtraceall.c
  user/dchagin/lemul/sys/modules/usb/Makefile
  user/dchagin/lemul/sys/net/if.c
  user/dchagin/lemul/sys/net/if_clone.c
  user/dchagin/lemul/sys/net/if_clone.h
  user/dchagin/lemul/sys/net/if_media.c
  user/dchagin/lemul/sys/netinet/icmp6.h
  user/dchagin/lemul/sys/netinet/if_ether.c
  user/dchagin/lemul/sys/netinet6/in6.c
  user/dchagin/lemul/sys/netinet6/in6_pcb.c
  user/dchagin/lemul/sys/netinet6/ip6_input.c
  user/dchagin/lemul/sys/netinet6/ip6_output.c
  user/dchagin/lemul/sys/netinet6/ip6_var.h
  user/dchagin/lemul/sys/netinet6/nd6.c
  user/dchagin/lemul/sys/netinet6/nd6.h
  user/dchagin/lemul/sys/netinet6/nd6_nbr.c
  user/dchagin/lemul/sys/netipsec/key.c
  user/dchagin/lemul/sys/ofed/drivers/net/mlx4/cmd.c
  user/dchagin/lemul/sys/ofed/drivers/net/mlx4/en_main.c
  user/dchagin/lemul/sys/ofed/drivers/net/mlx4/en_netdev.c
  user/dchagin/lemul/sys/ofed/drivers/net/mlx4/en_rx.c
  user/dchagin/lemul/sys/ofed/drivers/net/mlx4/en_tx.c
  user/dchagin/lemul/sys/ofed/drivers/net/mlx4/main.c
  user/dchagin/lemul/sys/ofed/drivers/net/mlx4/mcg.c
  user/dchagin/lemul/sys/ofed/drivers/net/mlx4/mlx4_en.h
  user/dchagin/lemul/sys/ofed/include/linux/kernel.h
  user/dchagin/lemul/sys/ofed/include/linux/mlx4/device.h
  user/dchagin/lemul/sys/ofed/include/linux/mlx4/qp.h
  user/dchagin/lemul/sys/powerpc/aim/locore32.S
  user/dchagin/lemul/sys/powerpc/aim/machdep.c
  user/dchagin/lemul/sys/powerpc/aim/mmu_oea.c
  user/dchagin/lemul/sys/powerpc/aim/mmu_oea64.c
  user/dchagin/lemul/sys/powerpc/aim/trap.c
  user/dchagin/lemul/sys/powerpc/aim/trap_subr32.S
  user/dchagin/lemul/sys/powerpc/aim/trap_subr64.S
  user/dchagin/lemul/sys/powerpc/booke/interrupt.c
  user/dchagin/lemul/sys/powerpc/booke/locore.S
  user/dchagin/lemul/sys/powerpc/booke/machdep.c
  user/dchagin/lemul/sys/powerpc/booke/pmap.c
  user/dchagin/lemul/sys/powerpc/booke/trap.c
  user/dchagin/lemul/sys/powerpc/booke/trap_subr.S
  user/dchagin/lemul/sys/powerpc/include/frame.h
  user/dchagin/lemul/sys/powerpc/include/pte.h
  user/dchagin/lemul/sys/powerpc/ofw/ofwcall32.S
  user/dchagin/lemul/sys/powerpc/powerpc/db_trace.c
  user/dchagin/lemul/sys/powerpc/powerpc/elf32_machdep.c
  user/dchagin/lemul/sys/powerpc/powerpc/exec_machdep.c
  user/dchagin/lemul/sys/powerpc/powerpc/genassym.c
  user/dchagin/lemul/sys/powerpc/powerpc/swtch32.S
  user/dchagin/lemul/sys/powerpc/powerpc/swtch64.S
  user/dchagin/lemul/sys/powerpc/ps3/ps3_syscons.c
  user/dchagin/lemul/sys/sys/buf.h
  user/dchagin/lemul/sys/sys/elf_common.h
  user/dchagin/lemul/sys/sys/fbio.h
  user/dchagin/lemul/sys/sys/gpio.h
  user/dchagin/lemul/sys/sys/ktr_class.h
  user/dchagin/lemul/sys/sys/param.h
  user/dchagin/lemul/sys/sys/systm.h
  user/dchagin/lemul/sys/sys/timepps.h
  user/dchagin/lemul/sys/vm/vm_object.c
  user/dchagin/lemul/sys/vm/vm_pager.c
  user/dchagin/lemul/sys/vm/vm_reserv.c
  user/dchagin/lemul/sys/vm/vnode_pager.c
  user/dchagin/lemul/sys/x86/include/apicvar.h
  user/dchagin/lemul/tools/build/mk/OptionalObsoleteFiles.inc
  user/dchagin/lemul/tools/regression/usr.bin/env/regress-env.rgdata
  user/dchagin/lemul/tools/test/README
  user/dchagin/lemul/usr.bin/calendar/Makefile
  user/dchagin/lemul/usr.bin/calendar/calendar.h
  user/dchagin/lemul/usr.bin/calendar/io.c
  user/dchagin/lemul/usr.bin/man/man.sh
  user/dchagin/lemul/usr.bin/mt/mt.1
  user/dchagin/lemul/usr.bin/netstat/if.c
  user/dchagin/lemul/usr.bin/printf/printf.c
  user/dchagin/lemul/usr.bin/rlogin/Makefile
  user/dchagin/lemul/usr.bin/rlogin/rlogin.c
  user/dchagin/lemul/usr.bin/rsh/Makefile
  user/dchagin/lemul/usr.sbin/Makefile
  user/dchagin/lemul/usr.sbin/bhyve/block_if.c
  user/dchagin/lemul/usr.sbin/bhyve/block_if.h
  user/dchagin/lemul/usr.sbin/bhyve/pci_ahci.c
  user/dchagin/lemul/usr.sbin/bhyve/pci_virtio_block.c
  user/dchagin/lemul/usr.sbin/ctld/ctl.conf.5
  user/dchagin/lemul/usr.sbin/ctld/discovery.c
  user/dchagin/lemul/usr.sbin/ctld/kernel.c
  user/dchagin/lemul/usr.sbin/freebsd-update/freebsd-update.8
  user/dchagin/lemul/usr.sbin/freebsd-update/freebsd-update.sh
  user/dchagin/lemul/usr.sbin/gpioctl/gpioctl.8
  user/dchagin/lemul/usr.sbin/gpioctl/gpioctl.c
  user/dchagin/lemul/usr.sbin/pciconf/cap.c
  user/dchagin/lemul/usr.sbin/pciconf/pciconf.c
  user/dchagin/lemul/usr.sbin/pciconf/pciconf.h
  user/dchagin/lemul/usr.sbin/syslogd/syslogd.8
  user/dchagin/lemul/usr.sbin/syslogd/syslogd.c
  user/dchagin/lemul/usr.sbin/sysrc/sysrc
  user/dchagin/lemul/usr.sbin/sysrc/sysrc.8
Directory Properties:
  user/dchagin/lemul/   (props changed)
  user/dchagin/lemul/cddl/   (props changed)
  user/dchagin/lemul/cddl/contrib/opensolaris/   (props changed)
  user/dchagin/lemul/contrib/binutils/   (props changed)
  user/dchagin/lemul/contrib/libc++/   (props changed)
  user/dchagin/lemul/contrib/libucl/   (props changed)
  user/dchagin/lemul/contrib/mdocml/   (props changed)
  user/dchagin/lemul/contrib/tzdata/   (props changed)
  user/dchagin/lemul/etc/   (props changed)
  user/dchagin/lemul/gnu/usr.bin/binutils/   (props changed)
  user/dchagin/lemul/lib/libc/   (props changed)
  user/dchagin/lemul/sbin/   (props changed)
  user/dchagin/lemul/share/   (props changed)
  user/dchagin/lemul/share/man/man4/   (props changed)
  user/dchagin/lemul/sys/   (props changed)
  user/dchagin/lemul/sys/amd64/vmm/   (props changed)
  user/dchagin/lemul/sys/boot/   (props changed)
  user/dchagin/lemul/sys/cddl/contrib/opensolaris/   (props changed)
  user/dchagin/lemul/sys/conf/   (props changed)
  user/dchagin/lemul/usr.bin/calendar/   (props changed)
  user/dchagin/lemul/usr.sbin/bhyve/   (props changed)

Modified: user/dchagin/lemul/ObsoleteFiles.inc
==============================================================================
--- user/dchagin/lemul/ObsoleteFiles.inc	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/ObsoleteFiles.inc	Sun Mar  8 11:19:41 2015	(r279777)
@@ -38,6 +38,10 @@
 #   xargs -n1 | sort | uniq -d;
 # done
 
+# 20150302: binutils documentation distributed as a manpage
+OLD_FILES+=usr/share/doc/binutils/as.txt
+OLD_FILES+=usr/share/doc/binutils/ld.txt
+OLD_DIRS+=usr/share/doc/binutils
 # 20150222: Removed bcd(6) and ppt(6)
 OLD_FILES+=usr/bin/bcd
 OLD_FILES+=usr/bin/ppt

Modified: user/dchagin/lemul/UPDATING
==============================================================================
--- user/dchagin/lemul/UPDATING	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/UPDATING	Sun Mar  8 11:19:41 2015	(r279777)
@@ -31,6 +31,12 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11
 	disable the most expensive debugging functionality run
 	"ln -s 'abort:false,junk:false' /etc/malloc.conf".)
 
+20150307:
+	The 32-bit PowerPC kernel has been changed to a position-independent
+	executable. This can only be booted with a version of loader(8)
+	newer than January 31, 2015, so make sure to update both world and
+	kernel before rebooting.
+
 20150217:
 	If you are running a -CURRENT kernel since r273872 (Oct 30th, 2014),
 	but before r278950, the RNG was not seeded properly.  Immediately

Modified: user/dchagin/lemul/bin/kill/kill.c
==============================================================================
--- user/dchagin/lemul/bin/kill/kill.c	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/bin/kill/kill.c	Sun Mar  8 11:19:41 2015	(r279777)
@@ -56,7 +56,6 @@ __FBSDID("$FreeBSD$");
 #ifdef SHELL
 #define main killcmd
 #include "bltin/bltin.h"
-#include "error.h"
 #endif
 
 static void nosig(const char *);

Modified: user/dchagin/lemul/bin/rcp/Makefile
==============================================================================
--- user/dchagin/lemul/bin/rcp/Makefile	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/bin/rcp/Makefile	Sun Mar  8 11:19:41 2015	(r279777)
@@ -7,6 +7,5 @@ CFLAGS+=-DBINDIR=${BINDIR}
 
 BINOWN=	root
 BINMODE=4555
-PRECIOUSPROG=
 
 .include <bsd.prog.mk>

Modified: user/dchagin/lemul/bin/sh/arith_yacc.h
==============================================================================
--- user/dchagin/lemul/bin/sh/arith_yacc.h	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/bin/sh/arith_yacc.h	Sun Mar  8 11:19:41 2015	(r279777)
@@ -81,6 +81,8 @@
 #define ARITH_QMARK 37
 #define ARITH_COLON 38
 
+extern const char *arith_buf;
+
 union yystype {
 	arith_t val;
 	char *name;

Modified: user/dchagin/lemul/bin/sh/arith_yylex.c
==============================================================================
--- user/dchagin/lemul/bin/sh/arith_yylex.c	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/bin/sh/arith_yylex.c	Sun Mar  8 11:19:41 2015	(r279777)
@@ -50,8 +50,6 @@ __FBSDID("$FreeBSD$");
 #error Arithmetic tokens are out of order.
 #endif
 
-extern const char *arith_buf;
-
 int
 yylex(void)
 {

Modified: user/dchagin/lemul/bin/sh/bltin/bltin.h
==============================================================================
--- user/dchagin/lemul/bin/sh/bltin/bltin.h	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/bin/sh/bltin/bltin.h	Sun Mar  8 11:19:41 2015	(r279777)
@@ -42,6 +42,7 @@
 #include "../shell.h"
 #include "../mystring.h"
 #ifdef SHELL
+#include "../error.h"
 #include "../output.h"
 #include "builtins.h"
 #define FILE struct output
@@ -73,7 +74,6 @@
 #include <unistd.h>
 
 pointer stalloc(int);
-void error(const char *, ...) __printf0like(1, 2);
 int killjob(const char *, int);
 
 extern char *commandname;

Modified: user/dchagin/lemul/bin/sh/error.c
==============================================================================
--- user/dchagin/lemul/bin/sh/error.c	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/bin/sh/error.c	Sun Mar  8 11:19:41 2015	(r279777)
@@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$");
  */
 
 #include "shell.h"
+#include "eval.h"
 #include "main.h"
 #include "options.h"
 #include "output.h"
@@ -64,7 +65,6 @@ struct jmploc *handler;
 volatile sig_atomic_t exception;
 volatile sig_atomic_t suppressint;
 volatile sig_atomic_t intpending;
-char *commandname;
 
 
 static void exverror(int, const char *, va_list) __printf0like(2, 0) __dead2;

Modified: user/dchagin/lemul/bin/sh/eval.c
==============================================================================
--- user/dchagin/lemul/bin/sh/eval.c	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/bin/sh/eval.c	Sun Mar  8 11:19:41 2015	(r279777)
@@ -149,7 +149,7 @@ evalcmd(int argc, char **argv)
  */
 
 void
-evalstring(char *s, int flags)
+evalstring(const char *s, int flags)
 {
 	union node *n;
 	struct stackmark smark;

Modified: user/dchagin/lemul/bin/sh/eval.h
==============================================================================
--- user/dchagin/lemul/bin/sh/eval.h	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/bin/sh/eval.h	Sun Mar  8 11:19:41 2015	(r279777)
@@ -53,7 +53,7 @@ void reseteval(void);
 #define EV_TESTED 02		/* exit status is checked; ignore -e flag */
 #define EV_BACKCMD 04		/* command executing within back quotes */
 
-void evalstring(char *, int);
+void evalstring(const char *, int);
 union node;	/* BLETCH for ansi C */
 void evaltree(union node *, int);
 void evalbackcmd(union node *, struct backcmd *);

Modified: user/dchagin/lemul/bin/sh/histedit.c
==============================================================================
--- user/dchagin/lemul/bin/sh/histedit.c	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/bin/sh/histedit.c	Sun Mar  8 11:19:41 2015	(r279777)
@@ -338,8 +338,8 @@ histcmd(int argc, char **argv __unused)
 				out1fmt("%5d ", he.num);
 			out1str(he.str);
 		} else {
-			char *s = pat ?
-			   fc_replace(he.str, pat, repl) : (char *)he.str;
+			const char *s = pat ?
+			   fc_replace(he.str, pat, repl) : he.str;
 
 			if (sflg) {
 				if (displayhist) {
@@ -477,7 +477,7 @@ bindcmd(int argc, char **argv)
 
 	if (el == NULL)
 		error("line editing is disabled");
-	return (el_parse(el, argc, (const char **)argv));
+	return (el_parse(el, argc, __DECONST(const char **, argv)));
 }
 
 #else

Modified: user/dchagin/lemul/bin/sh/jobs.c
==============================================================================
--- user/dchagin/lemul/bin/sh/jobs.c	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/bin/sh/jobs.c	Sun Mar  8 11:19:41 2015	(r279777)
@@ -232,7 +232,7 @@ fgcmd(int argc __unused, char **argv __u
 
 
 int
-bgcmd(int argc, char **argv)
+bgcmd(int argc __unused, char **argv __unused)
 {
 	struct job *jp;
 

Modified: user/dchagin/lemul/bin/sh/mknodes.c
==============================================================================
--- user/dchagin/lemul/bin/sh/mknodes.c	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/bin/sh/mknodes.c	Sun Mar  8 11:19:41 2015	(r279777)
@@ -204,7 +204,7 @@ parsefield(void)
 }
 
 
-char writer[] = "\
+static const char writer[] = "\
 /*\n\
  * This file was generated by the mknodes program.\n\
  */\n\

Modified: user/dchagin/lemul/bin/sh/mksyntax.c
==============================================================================
--- user/dchagin/lemul/bin/sh/mksyntax.c	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/bin/sh/mksyntax.c	Sun Mar  8 11:19:41 2015	(r279777)
@@ -60,7 +60,7 @@ struct synclass {
 };
 
 /* Syntax classes */
-struct synclass synclass[] = {
+static const struct synclass synclass[] = {
 	{ "CWORD",	"character is nothing special" },
 	{ "CNL",	"newline character" },
 	{ "CBACK",	"a backslash character" },
@@ -85,7 +85,7 @@ struct synclass synclass[] = {
  * Syntax classes for is_ functions.  Warning:  if you add new classes
  * you may have to change the definition of the is_in_name macro.
  */
-struct synclass is_entry[] = {
+static const struct synclass is_entry[] = {
 	{ "ISDIGIT",	"a digit" },
 	{ "ISUPPER",	"an upper case letter" },
 	{ "ISLOWER",	"a lower case letter" },
@@ -94,7 +94,7 @@ struct synclass is_entry[] = {
 	{ NULL, 	NULL }
 };
 
-static char writer[] = "\
+static const char writer[] = "\
 /*\n\
  * This file was generated by the mksyntax program.\n\
  */\n\

Modified: user/dchagin/lemul/bin/sh/mktokens
==============================================================================
--- user/dchagin/lemul/bin/sh/mktokens	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/bin/sh/mktokens	Sun Mar  8 11:19:41 2015	(r279777)
@@ -74,11 +74,11 @@ exec > token.h
 awk '{print "#define " $1 " " NR-1}' $temp
 echo '
 /* Array indicating which tokens mark the end of a list */
-const char tokendlist[] = {'
+static const char tokendlist[] = {'
 awk '{print "\t" $2 ","}' $temp
 echo '};
 
-const char *const tokname[] = {'
+static const char *const tokname[] = {'
 sed -e 's/"/\\"/g' \
     -e 's/[^	 ]*[	 ][	 ]*[^	 ]*[	 ][	 ]*\(.*\)/	"\1",/' \
     $temp

Modified: user/dchagin/lemul/bin/sh/options.c
==============================================================================
--- user/dchagin/lemul/bin/sh/options.c	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/bin/sh/options.c	Sun Mar  8 11:19:41 2015	(r279777)
@@ -465,7 +465,7 @@ getopts(char *optstr, char *optvar, char
 	int ind = 0;
 	int err = 0;
 	char s[10];
-	const char *optarg = NULL;
+	const char *newoptarg = NULL;
 
 	if ((p = *optptr) == NULL || *p == '\0') {
 		/* Current word is done, advance */
@@ -491,7 +491,7 @@ atend:
 			if (optstr[0] == ':') {
 				s[0] = c;
 				s[1] = '\0';
-				optarg = s;
+				newoptarg = s;
 			}
 			else
 				out2fmt_flush("Illegal option -%c\n", c);
@@ -507,7 +507,7 @@ atend:
 			if (optstr[0] == ':') {
 				s[0] = c;
 				s[1] = '\0';
-				optarg = s;
+				newoptarg = s;
 				c = ':';
 			}
 			else {
@@ -519,7 +519,7 @@ atend:
 
 		if (p == **optnext)
 			(*optnext)++;
-		optarg = p;
+		newoptarg = p;
 		p = NULL;
 	}
 
@@ -527,8 +527,8 @@ out:
 	if (*optnext != NULL)
 		ind = *optnext - optfirst + 1;
 	*optptr = p;
-	if (optarg != NULL)
-		err |= setvarsafe("OPTARG", optarg, 0);
+	if (newoptarg != NULL)
+		err |= setvarsafe("OPTARG", newoptarg, 0);
 	else {
 		INTOFF;
 		err |= unsetvar("OPTARG");

Modified: user/dchagin/lemul/bin/sh/options.h
==============================================================================
--- user/dchagin/lemul/bin/sh/options.h	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/bin/sh/options.h	Sun Mar  8 11:19:41 2015	(r279777)
@@ -73,6 +73,7 @@ struct optent {
 	char val;
 };
 
+extern struct optent optlist[NOPTS];
 #ifdef DEFINE_OPTIONS
 struct optent optlist[NOPTS] = {
 	{ "errexit",	'e',	0 },
@@ -95,8 +96,6 @@ struct optent optlist[NOPTS] = {
 	{ "physical",	'P',	0 },
 	{ "trackall",	'h',	0 },
 };
-#else
-extern struct optent optlist[NOPTS];
 #endif
 
 

Modified: user/dchagin/lemul/bin/sh/var.c
==============================================================================
--- user/dchagin/lemul/bin/sh/var.c	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/bin/sh/var.c	Sun Mar  8 11:19:41 2015	(r279777)
@@ -94,6 +94,7 @@ struct var vps4;
 static struct var voptind;
 struct var vdisvfork;
 
+struct localvar *localvars;
 int forcelocal;
 
 static const struct varinit varinit[] = {
@@ -141,6 +142,7 @@ static const int locale_categories[7] = 
 static int varequal(const char *, const char *);
 static struct var *find_var(const char *, struct var ***, int *);
 static int localevar(const char *);
+static void setvareq_const(const char *s, int flags);
 
 extern char **environ;
 
@@ -183,7 +185,7 @@ initvar(void)
 			setvareq(*envp, VEXPORT|VTEXTFIXED);
 		}
 	}
-	setvareq("OPTIND=1", VTEXTFIXED);
+	setvareq_const("OPTIND=1", 0);
 }
 
 /*
@@ -389,6 +391,12 @@ setvareq(char *s, int flags)
 }
 
 
+static void
+setvareq_const(const char *s, int flags)
+{
+	setvareq(__DECONST(char *, s), flags | VTEXTFIXED);
+}
+
 
 /*
  * Process a linked list of variable assignments.

Modified: user/dchagin/lemul/bin/sh/var.h
==============================================================================
--- user/dchagin/lemul/bin/sh/var.h	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/bin/sh/var.h	Sun Mar  8 11:19:41 2015	(r279777)
@@ -68,7 +68,7 @@ struct localvar {
 };
 
 
-struct localvar *localvars;
+extern struct localvar *localvars;
 extern int forcelocal;
 
 extern struct var vifs;

Modified: user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.manypids.ksh
==============================================================================
--- user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.manypids.ksh	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.manypids.ksh	Sun Mar  8 11:19:41 2015	(r279777)
@@ -66,5 +66,5 @@ $dtrace -s $tmpfile
 status=$?
 
 rm $tmpfile
-pkill sleep
+pkill -P $$ sleep
 exit $status

Modified: user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.provregex2.ksh
==============================================================================
--- user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.provregex2.ksh	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.provregex2.ksh	Sun Mar  8 11:19:41 2015	(r279777)
@@ -52,7 +52,7 @@ main.o: main.c
 	cc -c main.c
 
 altlib.so: altlib.o
-	cc -z defs -G -o altlib.so altlib.o -lc
+	cc -shared -o altlib.so altlib.o -lc
 
 altlib.o: altlib.c
 	cc -c altlib.c

Modified: user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.provregex3.ksh
==============================================================================
--- user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.provregex3.ksh	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.provregex3.ksh	Sun Mar  8 11:19:41 2015	(r279777)
@@ -44,7 +44,7 @@ mkdir $DIR
 cd $DIR
 
 cat > Makefile <<EOF
-	all: main
+all: main
 
 main: main.o prov.o
 	cc -o main main.o prov.o

Modified: user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.provregex4.ksh
==============================================================================
--- user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.provregex4.ksh	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.provregex4.ksh	Sun Mar  8 11:19:41 2015	(r279777)
@@ -59,7 +59,7 @@ provmain.o: prov.d main.o
 	$dtrace -G -32 -o provmain.o -s prov.d main.o
 
 altlib.so: altlib.o provalt.o
-	cc -z defs -G -o altlib.so altlib.o provalt.o -lc
+	cc -shared -o altlib.so altlib.o provalt.o -lc
 
 altlib.o: altlib.c prov.h
 	cc -c altlib.c

Modified: user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.dlclose1.ksh
==============================================================================
--- user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.dlclose1.ksh	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.dlclose1.ksh	Sun Mar  8 11:19:41 2015	(r279777)
@@ -53,7 +53,7 @@ main.o: main.c
 
 
 livelib.so: livelib.o prov.o
-	cc -z defs -G -o livelib.so livelib.o prov.o -lc
+	cc -shared -o livelib.so livelib.o prov.o -lc
 
 livelib.o: livelib.c prov.h
 	cc -c livelib.c
@@ -66,7 +66,7 @@ prov.h: prov.d
 
 
 deadlib.so: deadlib.o
-	cc -z defs -G -o deadlib.so deadlib.o -lc
+	cc -shared -o deadlib.so deadlib.o -lc
 
 deadlib.o: deadlib.c
 	cc -c deadlib.c

Modified: user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.dlclose2.ksh
==============================================================================
--- user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.dlclose2.ksh	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.dlclose2.ksh	Sun Mar  8 11:19:41 2015	(r279777)
@@ -48,7 +48,7 @@ main.o: main.c
 
 
 livelib.so: livelib.o prov.o
-	cc -z defs -G -o livelib.so livelib.o prov.o -lc
+	cc -shared -o livelib.so livelib.o prov.o -lc
 
 livelib.o: livelib.c prov.h
 	cc -c livelib.c
@@ -61,7 +61,7 @@ prov.h: prov.d
 
 
 deadlib.so: deadlib.o
-	cc -z defs -G -o deadlib.so deadlib.o -lc
+	cc -shared -o deadlib.so deadlib.o -lc
 
 deadlib.o: deadlib.c
 	cc -c deadlib.c

Modified: user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.dlclose3.ksh
==============================================================================
--- user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.dlclose3.ksh	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.dlclose3.ksh	Sun Mar  8 11:19:41 2015	(r279777)
@@ -53,7 +53,7 @@ main.o: main.c
 
 
 livelib.so: livelib.o prov.o
-	cc -z defs -G -o livelib.so livelib.o prov.o -lc
+	cc -shared -o livelib.so livelib.o prov.o -lc
 
 livelib.o: livelib.c prov.h
 	cc -c livelib.c
@@ -66,7 +66,7 @@ prov.h: prov.d
 
 
 deadlib.so: deadlib.o
-	cc -z defs -G -o deadlib.so deadlib.o -lc
+	cc -shared -o deadlib.so deadlib.o -lc
 
 deadlib.o: deadlib.c
 	cc -c deadlib.c

Modified: user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.multiprov.ksh
==============================================================================
--- user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.multiprov.ksh	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.multiprov.ksh	Sun Mar  8 11:19:41 2015	(r279777)
@@ -102,5 +102,5 @@ if [ $? -ne 0 ]; then
 fi
 
 cd /
-/usr/bin/rm -rf $DIR
+rm -rf $DIR
 exit 0

Modified: user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.noprobes.ksh
==============================================================================
--- user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.noprobes.ksh	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.noprobes.ksh	Sun Mar  8 11:19:41 2015	(r279777)
@@ -55,5 +55,5 @@ if [ $? -eq 0 ]; then
 fi
 
 cd /
-/usr/bin/rm -rf $DIR
+rm -rf $DIR
 exit 0

Modified: user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.noreap.ksh
==============================================================================
--- user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.noreap.ksh	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.noreap.ksh	Sun Mar  8 11:19:41 2015	(r279777)
@@ -123,6 +123,6 @@ else
 fi
 
 cd /
-/usr/bin/rm -rf $DIR
+rm -rf $DIR
 
 exit $status

Modified: user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.noreapring.ksh
==============================================================================
--- user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.noreapring.ksh	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.noreapring.ksh	Sun Mar  8 11:19:41 2015	(r279777)
@@ -119,6 +119,6 @@ fi
 
 kill $background
 cd /
-/usr/bin/rm -rf $DIR
+rm -rf $DIR
 
 exit $status

Modified: user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.reap.ksh
==============================================================================
--- user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.reap.ksh	Sun Mar  8 10:52:10 2015	(r279776)
+++ user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.reap.ksh	Sun Mar  8 11:19:41 2015	(r279777)
@@ -110,6 +110,6 @@ grep D_PDESC_INVAL test.out 2> /dev/null
 status=$?
 
 cd /
-/usr/bin/rm -rf $DIR
+rm -rf $DIR
 
 exit $status

Copied: user/dchagin/lemul/contrib/binutils/binutils/doc/binutils.7 (from r279776, head/contrib/binutils/binutils/doc/binutils.7)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ user/dchagin/lemul/contrib/binutils/binutils/doc/binutils.7	Sun Mar  8 11:19:41 2015	(r279777, copy of r279776, head/contrib/binutils/binutils/doc/binutils.7)
@@ -0,0 +1,4917 @@
+.Dd 2015-03-02
+.Dt BINUTILS 7
+.Os
+.Sh NAME
+.Nm binutils
+.Nd GNU Binary Utilities
+.Sh  Introduction
+This brief manual contains documentation for the GNU binary utilities version "2.17.50
+[FreeBSD] 2007-07-03":
+.Pp
+This document is distributed under the terms of the GNU Free Documentation
+License. A copy of the license is included in the section entitled "GNU Free
+Documentation License".
+.Pp
+.Sh  ar
+.Bd -literal -offset indent
+ar [-]p[mod [relpos] [count]] archive [member...]
+ar -M [ <mri-script ]
+.Ed
+.Pp
+The GNU
+.Xr ar
+program creates, modifies, and extracts from archives. An
+.Em archive
+is a single file holding a collection of other files in a structure that makes
+it possible to retrieve the original individual files (called
+.Em members
+of the archive).
+.Pp
+The original files' contents, mode (permissions), timestamp, owner, and group
+are preserved in the archive, and can be restored on extraction.
+.Pp
+GNU
+.Xr ar
+can maintain archives whose members have names of any length; however, depending
+on how
+.Xr ar
+is configured on your system, a limit on member-name length may be imposed
+for compatibility with archive formats maintained with other tools. If it
+exists, the limit is often 15 characters (typical of formats related to a.out)
+or 16 characters (typical of formats related to coff).
+.Pp
+.Xr ar
+is considered a binary utility because archives of this sort are most often
+used as
+.Em libraries
+holding commonly needed subroutines.
+.Pp
+.Xr ar
+creates an index to the symbols defined in relocatable object modules in the
+archive when you specify the modifier
+.Li s .
+Once created, this index is updated in the archive whenever
+.Xr ar
+makes a change to its contents (save for the
+.Li q
+update operation). An archive with such an index speeds up linking to the
+library, and allows routines in the library to call each other without regard
+to their placement in the archive.
+.Pp
+You may use
+.Li nm -s
+or
+.Li nm --print-armap
+to list this index table. If an archive lacks the table, another form of
+.Xr ar
+called
+.Xr ranlib
+can be used to add just the table.
+.Pp
+GNU
+.Xr ar
+is designed to be compatible with two different facilities. You can control
+its activity using command-line options, like the different varieties of
+.Xr ar
+on Unix systems; or, if you specify the single command-line option
+.Op -M ,
+you can control it with a script supplied via standard input, like the MRI
+\(lqlibrarian\(rq program.
+.Pp
+.Ss  Controlling Xr ar on the Command Line
+.Bd -literal -offset indent
+ar [-X32_64] [-]p[mod [relpos] [count]] archive [member...]
+.Ed
+.Pp
+When you use
+.Xr ar
+in the Unix style,
+.Xr ar
+insists on at least two arguments to execute: one keyletter specifying the
+.Em operation
+(optionally accompanied by other keyletters specifying
+.Em modifiers ) ,
+and the archive name to act on.
+.Pp
+Most operations can also accept further
+.Va member
+arguments, specifying particular files to operate on.
+.Pp
+GNU
+.Xr ar
+allows you to mix the operation code
+.Va p
+and modifier flags
+.Va mod
+in any order, within the first command-line argument.
+.Pp
+If you wish, you may begin the first command-line argument with a dash.
+.Pp
+The
+.Va p
+keyletter specifies what operation to execute; it may be any of the following,
+but you must specify only one of them:
+.Pp
+.Bl -tag -width Ds
+.It  d
+.Em Delete
+modules from the archive. Specify the names of modules to be deleted as
+.Va member
+\&...; the archive is untouched if you specify no files to delete.
+.Pp
+If you specify the
+.Li v
+modifier,
+.Xr ar
+lists each module as it is deleted.
+.Pp
+.It  m
+Use this operation to
+.Em move
+members in an archive.
+.Pp
+The ordering of members in an archive can make a difference in how programs
+are linked using the library, if a symbol is defined in more than one member.
+.Pp
+If no modifiers are used with
+.Li m ,
+any members you name in the
+.Va member
+arguments are moved to the
+.Em end
+of the archive; you can use the
+.Li a ,
+.Li b ,
+or
+.Li i
+modifiers to move them to a specified place instead.
+.Pp
+.It  p
+.Em Print
+the specified members of the archive, to the standard output file. If the
+.Li v
+modifier is specified, show the member name before copying its contents to
+standard output.
+.Pp
+If you specify no
+.Va member
+arguments, all the files in the archive are printed.
+.Pp
+.It  q
+.Em Quick append ;
+Historically, add the files
+.Va member
+\&...to the end of
+.Va archive ,
+without checking for replacement.
+.Pp
+The modifiers
+.Li a ,
+.Li b ,
+and
+.Li i
+do
+.Em not
+affect this operation; new members are always placed at the end of the archive.
+.Pp
+The modifier
+.Li v
+makes
+.Xr ar
+list each file as it is appended.
+.Pp
+Since the point of this operation is speed, the archive's symbol table index
+is not updated, even if it already existed; you can use
+.Li ar s
+or
+.Xr ranlib
+explicitly to update the symbol table index.
+.Pp
+However, too many different systems assume quick append rebuilds the index,
+so GNU
+.Xr ar
+implements
+.Li q
+as a synonym for
+.Li r .
+.Pp
+.It  r
+Insert the files
+.Va member
+\&...into
+.Va archive
+(with
+.Em replacement ) .
+This operation differs from
+.Li q
+in that any previously existing members are deleted if their names match those
+being added.
+.Pp
+If one of the files named in
+.Va member
+\&...does not exist,
+.Xr ar
+displays an error message, and leaves undisturbed any existing members of
+the archive matching that name.
+.Pp
+By default, new members are added at the end of the file; but you may use
+one of the modifiers
+.Li a ,
+.Li b ,
+or
+.Li i
+to request placement relative to some existing member.
+.Pp
+The modifier
+.Li v
+used with this operation elicits a line of output for each file inserted,
+along with one of the letters
+.Li a
+or
+.Li r
+to indicate whether the file was appended (no old member deleted) or replaced.
+.Pp
+.It  t
+Display a
+.Em table
+listing the contents of
+.Va archive ,
+or those of the files listed in
+.Va member
+\&...that are present in the archive. Normally only the member name is shown; if
+you also want to see the modes (permissions), timestamp, owner, group, and
+size, you can request that by also specifying the
+.Li v
+modifier.
+.Pp
+If you do not specify a
+.Va member ,
+all files in the archive are listed.
+.Pp
+If there is more than one file with the same name (say,
+.Li fie )
+in an archive (say
+.Li b.a ) ,
+.Li ar t b.a fie
+lists only the first instance; to see them all, you must ask for a complete
+listing---in our example,
+.Li ar t b.a .
+.Pp
+.It  x
+.Em Extract
+members (named
+.Va member )
+from the archive. You can use the
+.Li v
+modifier with this operation, to request that
+.Xr ar
+list each name as it extracts it.
+.Pp
+If you do not specify a
+.Va member ,
+all files in the archive are extracted.
+.Pp
+.El
+A number of modifiers (
+.Va mod )
+may immediately follow the
+.Va p
+keyletter, to specify variations on an operation's behavior:
+.Pp
+.Bl -tag -width Ds
+.It  a
+Add new files
+.Em after
+an existing member of the archive. If you use the modifier
+.Li a ,
+the name of an existing archive member must be present as the
+.Va relpos
+argument, before the
+.Va archive
+specification.
+.Pp
+.It  b
+Add new files
+.Em before
+an existing member of the archive. If you use the modifier
+.Li b ,
+the name of an existing archive member must be present as the
+.Va relpos
+argument, before the
+.Va archive
+specification. (same as
+.Li i ) .
+.Pp
+.It  c
+.Em Create
+the archive. The specified
+.Va archive
+is always created if it did not exist, when you request an update. But a warning
+is issued unless you specify in advance that you expect to create it, by using
+this modifier.
+.Pp
+.It  f
+Truncate names in the archive. GNU
+.Xr ar
+will normally permit file names of any length. This will cause it to create
+archives which are not compatible with the native
+.Xr ar
+program on some systems. If this is a concern, the
+.Li f
+modifier may be used to truncate file names when putting them in the archive.
+.Pp
+.It  i
+Insert new files
+.Em before
+an existing member of the archive. If you use the modifier
+.Li i ,
+the name of an existing archive member must be present as the
+.Va relpos
+argument, before the
+.Va archive
+specification. (same as
+.Li b ) .
+.Pp
+.It  l
+This modifier is accepted but not used.
+.Pp
+.It  N
+Uses the
+.Va count
+parameter. This is used if there are multiple entries in the archive with
+the same name. Extract or delete instance
+.Va count
+of the given name from the archive.
+.Pp
+.It  o
+Preserve the
+.Em original
+dates of members when extracting them. If you do not specify this modifier,
+files extracted from the archive are stamped with the time of extraction.
+.Pp
+.It  P
+Use the full path name when matching names in the archive. GNU
+.Xr ar
+can not create an archive with a full path name (such archives are not POSIX
+complaint), but other archive creators can. This option will cause GNU
+.Xr ar
+to match file names using a complete path name, which can be convenient when
+extracting a single file from an archive created by another tool.
+.Pp
+.It  s
+Write an object-file index into the archive, or update an existing one, even
+if no other change is made to the archive. You may use this modifier flag
+either with any operation, or alone. Running
+.Li ar s
+on an archive is equivalent to running
+.Li ranlib
+on it.
+.Pp
+.It  S
+Do not generate an archive symbol table. This can speed up building a large
+library in several steps. The resulting archive can not be used with the linker.
+In order to build a symbol table, you must omit the
+.Li S
+modifier on the last execution of
+.Li ar ,
+or you must run
+.Li ranlib
+on the archive.
+.Pp
+.It  u
+Normally,
+.Li ar r
+\&...inserts all files listed into the archive. If you would like to insert
+.Em only
+those of the files you list that are newer than existing members of the same
+names, use this modifier. The
+.Li u
+modifier is allowed only for the operation
+.Li r
+(replace). In particular, the combination
+.Li qu
+is not allowed, since checking the timestamps would lose any speed advantage
+from the operation
+.Li q .
+.Pp
+.It  v
+This modifier requests the
+.Em verbose
+version of an operation. Many operations display additional information, such
+as filenames processed, when the modifier
+.Li v
+is appended.
+.Pp
+.It  V
+This modifier shows the version number of
+.Xr ar .
+.El
+.Pp
+.Xr ar
+ignores an initial option spelt
+.Li -X32_64 ,
+for compatibility with AIX. The behaviour produced by this option is the default
+for GNU
+.Xr ar .
+.Xr ar
+does not support any of the other
+.Li -X
+options; in particular, it does not support
+.Op -X32
+which is the default for AIX
+.Xr ar .
+.Pp
+.Ss  Controlling Xr ar with a Script
+.Bd -literal -offset indent
+ar -M [ <script ]
+.Ed
+.Pp
+If you use the single command-line option
+.Li -M
+with
+.Xr ar ,
+you can control its operation with a rudimentary command language. This form
+of
+.Xr ar
+operates interactively if standard input is coming directly from a terminal.
+During interactive use,
+.Xr ar
+prompts for input (the prompt is
+.Li AR > ) ,
+and continues executing even after errors. If you redirect standard input
+to a script file, no prompts are issued, and
+.Xr ar
+abandons execution (with a nonzero exit code) on any error.
+.Pp
+The
+.Xr ar
+command language is
+.Em not
+designed to be equivalent to the command-line options; in fact, it provides
+somewhat less control over archives. The only purpose of the command language
+is to ease the transition to GNU
+.Xr ar
+for developers who already have scripts written for the MRI \(lqlibrarian\(rq program.
+.Pp
+The syntax for the
+.Xr ar
+command language is straightforward:
+.Bl -bullet
+.It
+commands are recognized in upper or lower case; for example,
+.Li LIST
+is the same as
+.Li list .
+In the following descriptions, commands are shown in upper case for clarity.
+.Pp
+.It
+a single command may appear on each line; it is the first word on the line.
+.Pp
+.It
+empty lines are allowed, and have no effect.
+.Pp
+.It
+comments are allowed; text after either of the characters
+.Li *
+or
+.Li ;
+is ignored.
+.Pp
+.It
+Whenever you use a list of names as part of the argument to an
+.Xr ar
+command, you can separate the individual names with either commas or blanks.
+Commas are shown in the explanations below, for clarity.
+.Pp
+.It
+.Li +
+is used as a line continuation character; if
+.Li +
+appears at the end of a line, the text on the following line is considered
+part of the current command.
+.El
+.Pp
+Here are the commands you can use in
+.Xr ar
+scripts, or when using
+.Xr ar
+interactively. Three of them have special significance:
+.Pp
+.Li OPEN
+or
+.Li CREATE
+specify a
+.Em current archive ,
+which is a temporary file required for most of the other commands.
+.Pp
+.Li SAVE
+commits the changes so far specified by the script. Prior to
+.Li SAVE ,
+commands affect only the temporary copy of the current archive.
+.Pp
+.Bl -tag -width Ds

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



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