svn commit: r292375 - in projects/sendfile: . bin/sh contrib/elftoolchain/addr2line contrib/elftoolchain/common contrib/elftoolchain/elfcopy contrib/elftoolchain/libelf contrib/elftoolchain/readelf...
Gleb Smirnoff
glebius at FreeBSD.org
Wed Dec 16 21:34:00 UTC 2015
Author: glebius
Date: Wed Dec 16 21:33:57 2015
New Revision: 292375
URL: https://svnweb.freebsd.org/changeset/base/292375
Log:
Merge head r261119 through r292373. Not compilable, yet.
Added:
projects/sendfile/contrib/unbound/.gitignore
- copied unchanged from r292373, head/contrib/unbound/.gitignore
projects/sendfile/contrib/unbound/compat/isblank.c
- copied unchanged from r292373, head/contrib/unbound/compat/isblank.c
projects/sendfile/etc/etc.riscv/
- copied from r292373, head/etc/etc.riscv/
projects/sendfile/lib/csu/riscv/
- copied from r292373, head/lib/csu/riscv/
projects/sendfile/lib/libc/riscv/
- copied from r292373, head/lib/libc/riscv/
projects/sendfile/lib/libc/tests/nss/
- copied from r292373, head/lib/libc/tests/nss/
projects/sendfile/lib/libc/tests/resolv/
- copied from r292373, head/lib/libc/tests/resolv/
projects/sendfile/lib/libsysdecode/
- copied from r292373, head/lib/libsysdecode/
projects/sendfile/lib/libthr/arch/riscv/
- copied from r292373, head/lib/libthr/arch/riscv/
projects/sendfile/lib/msun/riscv/
- copied from r292373, head/lib/msun/riscv/
projects/sendfile/lib/msun/tests/cexp_test.c
- copied unchanged from r292373, head/lib/msun/tests/cexp_test.c
projects/sendfile/lib/msun/tests/conj_test.c
- copied unchanged from r292373, head/lib/msun/tests/conj_test.c
projects/sendfile/lib/msun/tests/csqrt_test.c
- copied unchanged from r292373, head/lib/msun/tests/csqrt_test.c
projects/sendfile/lib/msun/tests/fenv_test.c
- copied unchanged from r292373, head/lib/msun/tests/fenv_test.c
projects/sendfile/lib/msun/tests/fmaxmin_test.c
- copied unchanged from r292373, head/lib/msun/tests/fmaxmin_test.c
projects/sendfile/lib/msun/tests/ilogb_test.c
- copied unchanged from r292373, head/lib/msun/tests/ilogb_test.c
projects/sendfile/lib/msun/tests/invctrig_test.c
- copied unchanged from r292373, head/lib/msun/tests/invctrig_test.c
projects/sendfile/lib/msun/tests/logarithm_test.c
- copied unchanged from r292373, head/lib/msun/tests/logarithm_test.c
projects/sendfile/lib/msun/tests/lrint_test.c
- copied unchanged from r292373, head/lib/msun/tests/lrint_test.c
projects/sendfile/lib/msun/tests/nan_test.c
- copied unchanged from r292373, head/lib/msun/tests/nan_test.c
projects/sendfile/lib/msun/tests/nearbyint_test.c
- copied unchanged from r292373, head/lib/msun/tests/nearbyint_test.c
projects/sendfile/lib/msun/tests/next_test.c
- copied unchanged from r292373, head/lib/msun/tests/next_test.c
projects/sendfile/lib/msun/tests/rem_test.c
- copied unchanged from r292373, head/lib/msun/tests/rem_test.c
projects/sendfile/lib/msun/tests/trig_test.c
- copied unchanged from r292373, head/lib/msun/tests/trig_test.c
projects/sendfile/sys/modules/tcp/
- copied from r292373, head/sys/modules/tcp/
projects/sendfile/sys/netinet/tcp_stacks/
- copied from r292373, head/sys/netinet/tcp_stacks/
Deleted:
projects/sendfile/sys/arm/include/katelib.h
projects/sendfile/tools/regression/lib/libc/nss/
projects/sendfile/tools/regression/lib/libc/resolv/
projects/sendfile/tools/regression/lib/msun/test-cexp.c
projects/sendfile/tools/regression/lib/msun/test-cexp.t
projects/sendfile/tools/regression/lib/msun/test-conj.c
projects/sendfile/tools/regression/lib/msun/test-conj.t
projects/sendfile/tools/regression/lib/msun/test-csqrt.c
projects/sendfile/tools/regression/lib/msun/test-csqrt.t
projects/sendfile/tools/regression/lib/msun/test-fenv.c
projects/sendfile/tools/regression/lib/msun/test-fenv.t
projects/sendfile/tools/regression/lib/msun/test-fmaxmin.c
projects/sendfile/tools/regression/lib/msun/test-fmaxmin.t
projects/sendfile/tools/regression/lib/msun/test-ilogb.c
projects/sendfile/tools/regression/lib/msun/test-ilogb.t
projects/sendfile/tools/regression/lib/msun/test-invctrig.c
projects/sendfile/tools/regression/lib/msun/test-logarithm.c
projects/sendfile/tools/regression/lib/msun/test-logarithm.t
projects/sendfile/tools/regression/lib/msun/test-lrint.c
projects/sendfile/tools/regression/lib/msun/test-lrint.t
projects/sendfile/tools/regression/lib/msun/test-nan.c
projects/sendfile/tools/regression/lib/msun/test-nan.t
projects/sendfile/tools/regression/lib/msun/test-nearbyint.c
projects/sendfile/tools/regression/lib/msun/test-nearbyint.t
projects/sendfile/tools/regression/lib/msun/test-next.c
projects/sendfile/tools/regression/lib/msun/test-next.t
projects/sendfile/tools/regression/lib/msun/test-rem.c
projects/sendfile/tools/regression/lib/msun/test-rem.t
projects/sendfile/tools/regression/lib/msun/test-trig.c
projects/sendfile/tools/regression/lib/msun/test-trig.t
projects/sendfile/usr.bin/kdump/utrace.c
Modified:
projects/sendfile/MAINTAINERS (contents, props changed)
projects/sendfile/Makefile
projects/sendfile/Makefile.inc1
projects/sendfile/UPDATING
projects/sendfile/bin/sh/var.c
projects/sendfile/contrib/elftoolchain/addr2line/addr2line.1
projects/sendfile/contrib/elftoolchain/addr2line/addr2line.c
projects/sendfile/contrib/elftoolchain/common/elfdefinitions.h
projects/sendfile/contrib/elftoolchain/elfcopy/binary.c
projects/sendfile/contrib/elftoolchain/elfcopy/elfcopy.1
projects/sendfile/contrib/elftoolchain/elfcopy/main.c
projects/sendfile/contrib/elftoolchain/elfcopy/sections.c
projects/sendfile/contrib/elftoolchain/elfcopy/segments.c
projects/sendfile/contrib/elftoolchain/libelf/elf_data.c
projects/sendfile/contrib/elftoolchain/readelf/readelf.c
projects/sendfile/contrib/llvm/tools/lldb/docs/lldb.1
projects/sendfile/contrib/mdocml/lib.in
projects/sendfile/contrib/smbfs/README
projects/sendfile/contrib/top/loadavg.h
projects/sendfile/contrib/unbound/Makefile.in
projects/sendfile/contrib/unbound/acx_nlnetlabs.m4
projects/sendfile/contrib/unbound/compat/arc4random.c
projects/sendfile/contrib/unbound/compat/getentropy_linux.c
projects/sendfile/contrib/unbound/compat/getentropy_solaris.c
projects/sendfile/contrib/unbound/compat/reallocarray.c
projects/sendfile/contrib/unbound/compat/sha512.c
projects/sendfile/contrib/unbound/compat/snprintf.c
projects/sendfile/contrib/unbound/config.h
projects/sendfile/contrib/unbound/config.h.in
projects/sendfile/contrib/unbound/configure
projects/sendfile/contrib/unbound/configure.ac
projects/sendfile/contrib/unbound/daemon/remote.c
projects/sendfile/contrib/unbound/daemon/unbound.c
projects/sendfile/contrib/unbound/daemon/worker.c
projects/sendfile/contrib/unbound/dns64/dns64.c
projects/sendfile/contrib/unbound/dnstap/dnstap.proto
projects/sendfile/contrib/unbound/doc/Changelog
projects/sendfile/contrib/unbound/doc/README
projects/sendfile/contrib/unbound/doc/example.conf
projects/sendfile/contrib/unbound/doc/example.conf.in
projects/sendfile/contrib/unbound/doc/libunbound.3
projects/sendfile/contrib/unbound/doc/libunbound.3.in
projects/sendfile/contrib/unbound/doc/unbound-anchor.8
projects/sendfile/contrib/unbound/doc/unbound-anchor.8.in
projects/sendfile/contrib/unbound/doc/unbound-checkconf.8
projects/sendfile/contrib/unbound/doc/unbound-checkconf.8.in
projects/sendfile/contrib/unbound/doc/unbound-control.8
projects/sendfile/contrib/unbound/doc/unbound-control.8.in
projects/sendfile/contrib/unbound/doc/unbound-host.1
projects/sendfile/contrib/unbound/doc/unbound-host.1.in
projects/sendfile/contrib/unbound/doc/unbound.8
projects/sendfile/contrib/unbound/doc/unbound.8.in
projects/sendfile/contrib/unbound/doc/unbound.conf.5
projects/sendfile/contrib/unbound/doc/unbound.conf.5.in
projects/sendfile/contrib/unbound/freebsd-configure.sh
projects/sendfile/contrib/unbound/iterator/iter_scrub.c
projects/sendfile/contrib/unbound/iterator/iter_utils.c
projects/sendfile/contrib/unbound/iterator/iterator.c
projects/sendfile/contrib/unbound/iterator/iterator.h
projects/sendfile/contrib/unbound/libunbound/libunbound.c
projects/sendfile/contrib/unbound/libunbound/python/Makefile
projects/sendfile/contrib/unbound/libunbound/python/doc/install.rst
projects/sendfile/contrib/unbound/libunbound/python/doc/modules/unbound.rst
projects/sendfile/contrib/unbound/libunbound/python/examples/dnssec-valid.py
projects/sendfile/contrib/unbound/libunbound/python/libunbound.i
projects/sendfile/contrib/unbound/ltmain.sh
projects/sendfile/contrib/unbound/services/cache/dns.c
projects/sendfile/contrib/unbound/services/cache/rrset.c
projects/sendfile/contrib/unbound/sldns/parseutil.h
projects/sendfile/contrib/unbound/sldns/wire2str.c
projects/sendfile/contrib/unbound/smallapp/unbound-anchor.c
projects/sendfile/contrib/unbound/smallapp/unbound-checkconf.c
projects/sendfile/contrib/unbound/smallapp/unbound-control-setup.sh
projects/sendfile/contrib/unbound/smallapp/unbound-control-setup.sh.in
projects/sendfile/contrib/unbound/smallapp/unbound-control.c
projects/sendfile/contrib/unbound/util/config_file.c
projects/sendfile/contrib/unbound/util/config_file.h
projects/sendfile/contrib/unbound/util/configlexer.lex
projects/sendfile/contrib/unbound/util/configparser.y
projects/sendfile/contrib/unbound/util/iana_ports.inc
projects/sendfile/contrib/unbound/util/locks.c
projects/sendfile/contrib/unbound/util/net_help.c
projects/sendfile/contrib/unbound/util/random.c
projects/sendfile/contrib/unbound/util/rbtree.c
projects/sendfile/contrib/unbound/util/rtt.h
projects/sendfile/contrib/unbound/util/storage/lookup3.c
projects/sendfile/contrib/unbound/util/tube.h
projects/sendfile/contrib/unbound/util/winsock_event.h
projects/sendfile/contrib/unbound/validator/autotrust.c
projects/sendfile/contrib/unbound/validator/val_neg.c
projects/sendfile/contrib/unbound/validator/val_neg.h
projects/sendfile/contrib/unbound/validator/val_nsec.c
projects/sendfile/contrib/unbound/validator/val_nsec.h
projects/sendfile/contrib/unbound/validator/val_nsec3.c
projects/sendfile/contrib/unbound/validator/val_nsec3.h
projects/sendfile/contrib/unbound/validator/val_secalgo.c
projects/sendfile/contrib/unbound/validator/val_secalgo.h
projects/sendfile/contrib/unbound/validator/val_sigcrypt.c
projects/sendfile/contrib/unbound/validator/val_utils.h
projects/sendfile/contrib/unbound/validator/validator.c
projects/sendfile/etc/mtree/BSD.tests.dist
projects/sendfile/etc/periodic/daily/800.scrub-zfs
projects/sendfile/include/resolv.h
projects/sendfile/lib/Makefile
projects/sendfile/lib/lib80211/lib80211.3
projects/sendfile/lib/libc/gen/exec.3
projects/sendfile/lib/libc/net/getaddrinfo.c
projects/sendfile/lib/libc/regex/grot/Makefile
projects/sendfile/lib/libc/resolv/res_init.c
projects/sendfile/lib/libc/resolv/res_mkquery.c
projects/sendfile/lib/libc/resolv/res_mkupdate.c
projects/sendfile/lib/libc/resolv/res_private.h
projects/sendfile/lib/libc/resolv/res_query.c
projects/sendfile/lib/libc/resolv/res_send.c
projects/sendfile/lib/libc/resolv/res_state.c
projects/sendfile/lib/libc/rpc/svc_vc.c
projects/sendfile/lib/libc/sys/brk.2
projects/sendfile/lib/libc/sys/getgid.2
projects/sendfile/lib/libc/sys/getpid.2
projects/sendfile/lib/libc/sys/getuid.2
projects/sendfile/lib/libc/sys/read.2
projects/sendfile/lib/libc/sys/setuid.2
projects/sendfile/lib/libc/sys/utrace.2
projects/sendfile/lib/libc/sys/write.2
projects/sendfile/lib/libc/tests/Makefile
projects/sendfile/lib/libfetch/http.c
projects/sendfile/lib/libstand/Makefile
projects/sendfile/lib/libstand/tftp.c
projects/sendfile/lib/msun/tests/Makefile
projects/sendfile/sbin/geom/class/multipath/geom_multipath.c
projects/sendfile/sbin/geom/class/part/gpart.8
projects/sendfile/sbin/reboot/reboot.8
projects/sendfile/sbin/reboot/reboot.c
projects/sendfile/sbin/sysctl/sysctl.8
projects/sendfile/sbin/sysctl/sysctl.c
projects/sendfile/secure/lib/libcrypto/engines/Makefile
projects/sendfile/share/man/man4/aesni.4
projects/sendfile/share/man/man4/blackhole.4
projects/sendfile/share/man/man4/crypto.4
projects/sendfile/share/man/man4/dtrace_io.4
projects/sendfile/share/man/man4/dtrace_ip.4
projects/sendfile/share/man/man4/dtrace_tcp.4
projects/sendfile/share/man/man4/dtrace_udp.4
projects/sendfile/share/man/man4/ioat.4
projects/sendfile/share/man/man4/isp.4
projects/sendfile/share/man/man4/mlx5en.4
projects/sendfile/share/man/man4/mps.4
projects/sendfile/share/man/man4/netmap.4
projects/sendfile/share/man/man4/pass.4
projects/sendfile/share/man/man5/src.conf.5
projects/sendfile/share/man/man9/VOP_GETPAGES.9
projects/sendfile/share/mk/bsd.cpu.mk
projects/sendfile/share/mk/bsd.endian.mk
projects/sendfile/share/mk/bsd.libnames.mk
projects/sendfile/share/mk/bsd.opts.mk
projects/sendfile/share/mk/bsd.snmpmod.mk
projects/sendfile/share/mk/bsd.sys.mk
projects/sendfile/share/mk/local.dirdeps.mk
projects/sendfile/share/mk/local.meta.sys.mk
projects/sendfile/share/mk/src.libnames.mk
projects/sendfile/share/mk/src.opts.mk
projects/sendfile/share/mk/sys.mk
projects/sendfile/sys/arm/allwinner/a10_mmc.c
projects/sendfile/sys/arm/amlogic/aml8726/aml8726_mmc.c
projects/sendfile/sys/arm/amlogic/aml8726/aml8726_sdxc-m8.c
projects/sendfile/sys/arm/arm/pmap-v6-new.c
projects/sendfile/sys/arm/arm/trap.c
projects/sendfile/sys/arm/at91/at91_mci.c
projects/sendfile/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c
projects/sendfile/sys/arm/conf/NOTES
projects/sendfile/sys/arm/freescale/imx/imx_sdhci.c
projects/sendfile/sys/arm/include/cpufunc.h
projects/sendfile/sys/arm/include/pmap-v6.h
projects/sendfile/sys/arm/lpc/lpc_mmc.c
projects/sendfile/sys/arm/ti/ti_sdhci.c
projects/sendfile/sys/arm64/arm64/exception.S
projects/sendfile/sys/arm64/arm64/gic.c
projects/sendfile/sys/arm64/arm64/gic.h
projects/sendfile/sys/arm64/arm64/gic_fdt.c
projects/sendfile/sys/arm64/arm64/gic_v3_its.c
projects/sendfile/sys/arm64/arm64/gic_v3_var.h
projects/sendfile/sys/arm64/arm64/intr_machdep.c
projects/sendfile/sys/arm64/arm64/pic_if.m
projects/sendfile/sys/arm64/cavium/thunder_pcie.c
projects/sendfile/sys/arm64/cavium/thunder_pcie_common.c
projects/sendfile/sys/arm64/cavium/thunder_pcie_pem.c
projects/sendfile/sys/arm64/conf/GENERIC
projects/sendfile/sys/arm64/include/intr.h
projects/sendfile/sys/boot/common/part.c
projects/sendfile/sys/boot/efi/loader/arch/amd64/elf64_freebsd.c
projects/sendfile/sys/boot/efi/loader/arch/arm/exec.c
projects/sendfile/sys/boot/efi/loader/arch/arm64/exec.c
projects/sendfile/sys/boot/efi/loader/bootinfo.c
projects/sendfile/sys/boot/efi/loader/loader_efi.h
projects/sendfile/sys/boot/i386/libi386/libi386.h
projects/sendfile/sys/boot/i386/libi386/pxe.c
projects/sendfile/sys/boot/i386/loader/main.c
projects/sendfile/sys/boot/uboot/common/main.c
projects/sendfile/sys/cam/ctl/ctl.c
projects/sendfile/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c
projects/sendfile/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
projects/sendfile/sys/conf/options
projects/sendfile/sys/dev/aic/aic_pccard.c
projects/sendfile/sys/dev/an/if_an_pccard.c
projects/sendfile/sys/dev/ata/ata-card.c
projects/sendfile/sys/dev/atkbdc/psm.c
projects/sendfile/sys/dev/bwn/if_bwn.c
projects/sendfile/sys/dev/cmx/cmx_pccard.c
projects/sendfile/sys/dev/cs/if_cs_pccard.c
projects/sendfile/sys/dev/drm2/i915/i915_gem.c
projects/sendfile/sys/dev/drm2/ttm/ttm_tt.c
projects/sendfile/sys/dev/ed/if_ed_isa.c
projects/sendfile/sys/dev/ed/if_ed_pccard.c
projects/sendfile/sys/dev/ed/if_ed_pci.c
projects/sendfile/sys/dev/ep/if_ep_pccard.c
projects/sendfile/sys/dev/etherswitch/arswitch/arswitch_9340.c
projects/sendfile/sys/dev/ex/if_ex_pccard.c
projects/sendfile/sys/dev/fdc/fdc_pccard.c
projects/sendfile/sys/dev/fdt/simplebus.c
projects/sendfile/sys/dev/fe/if_fe_pccard.c
projects/sendfile/sys/dev/hwpmc/hwpmc_core.c
projects/sendfile/sys/dev/hyperv/utilities/hv_kvp.c
projects/sendfile/sys/dev/ioat/ioat.c
projects/sendfile/sys/dev/ioat/ioat.h
projects/sendfile/sys/dev/ioat/ioat_hw.h
projects/sendfile/sys/dev/ioat/ioat_internal.h
projects/sendfile/sys/dev/ioat/ioat_test.c
projects/sendfile/sys/dev/ioat/ioat_test.h
projects/sendfile/sys/dev/isp/isp.c
projects/sendfile/sys/dev/isp/isp_pci.c
projects/sendfile/sys/dev/md/md.c
projects/sendfile/sys/dev/mmc/bridge.h
projects/sendfile/sys/dev/mmc/host/dwmmc.c
projects/sendfile/sys/dev/mmc/mmc.c
projects/sendfile/sys/dev/mpr/mpr_sas_lsi.c
projects/sendfile/sys/dev/mps/mps_sas_lsi.c
projects/sendfile/sys/dev/ncv/ncr53c500_pccard.c
projects/sendfile/sys/dev/nsp/nsp_pccard.c
projects/sendfile/sys/dev/nvd/nvd.c
projects/sendfile/sys/dev/nvme/nvme.h
projects/sendfile/sys/dev/nvme/nvme_ns.c
projects/sendfile/sys/dev/nvme/nvme_sysctl.c
projects/sendfile/sys/dev/ofw/ofw_bus_subr.c
projects/sendfile/sys/dev/ofw/ofw_bus_subr.h
projects/sendfile/sys/dev/ofw/ofw_iicbus.c
projects/sendfile/sys/dev/otus/if_otus.c
projects/sendfile/sys/dev/pccard/pccardvar.h
projects/sendfile/sys/dev/pci/pci_host_generic.c
projects/sendfile/sys/dev/ral/rt2560.c
projects/sendfile/sys/dev/ral/rt2661.c
projects/sendfile/sys/dev/ral/rt2860.c
projects/sendfile/sys/dev/sdhci/sdhci_fdt.c
projects/sendfile/sys/dev/sdhci/sdhci_pci.c
projects/sendfile/sys/dev/sfxge/common/efx.h
projects/sendfile/sys/dev/sfxge/common/efx_impl.h
projects/sendfile/sys/dev/sfxge/common/efx_mcdi.c
projects/sendfile/sys/dev/sfxge/common/efx_mcdi.h
projects/sendfile/sys/dev/sfxge/common/hunt_ev.c
projects/sendfile/sys/dev/sfxge/common/hunt_impl.h
projects/sendfile/sys/dev/sfxge/common/hunt_mcdi.c
projects/sendfile/sys/dev/sfxge/common/siena_impl.h
projects/sendfile/sys/dev/sfxge/common/siena_mcdi.c
projects/sendfile/sys/dev/sfxge/sfxge.c
projects/sendfile/sys/dev/sn/if_sn_pccard.c
projects/sendfile/sys/dev/snc/if_snc_pccard.c
projects/sendfile/sys/dev/sound/usb/uaudio.c
projects/sendfile/sys/dev/stg/tmc18c30_pccard.c
projects/sendfile/sys/dev/uart/uart_bus_pccard.c
projects/sendfile/sys/dev/usb/input/atp.c
projects/sendfile/sys/dev/usb/input/uep.c
projects/sendfile/sys/dev/usb/input/uhid.c
projects/sendfile/sys/dev/usb/input/ukbd.c
projects/sendfile/sys/dev/usb/input/ums.c
projects/sendfile/sys/dev/usb/input/wsp.c
projects/sendfile/sys/dev/usb/misc/udbp.c
projects/sendfile/sys/dev/usb/misc/ufm.c
projects/sendfile/sys/dev/usb/misc/ugold.c
projects/sendfile/sys/dev/usb/misc/uled.c
projects/sendfile/sys/dev/usb/net/if_aue.c
projects/sendfile/sys/dev/usb/net/if_axe.c
projects/sendfile/sys/dev/usb/net/if_axge.c
projects/sendfile/sys/dev/usb/net/if_cdce.c
projects/sendfile/sys/dev/usb/net/if_cue.c
projects/sendfile/sys/dev/usb/net/if_ipheth.c
projects/sendfile/sys/dev/usb/net/if_kue.c
projects/sendfile/sys/dev/usb/net/if_mos.c
projects/sendfile/sys/dev/usb/net/if_rue.c
projects/sendfile/sys/dev/usb/net/if_smsc.c
projects/sendfile/sys/dev/usb/net/if_udav.c
projects/sendfile/sys/dev/usb/net/if_urndis.c
projects/sendfile/sys/dev/usb/net/if_usie.c
projects/sendfile/sys/dev/usb/net/uhso.c
projects/sendfile/sys/dev/usb/serial/u3g.c
projects/sendfile/sys/dev/usb/serial/uark.c
projects/sendfile/sys/dev/usb/serial/ubsa.c
projects/sendfile/sys/dev/usb/serial/uchcom.c
projects/sendfile/sys/dev/usb/serial/ucycom.c
projects/sendfile/sys/dev/usb/serial/ufoma.c
projects/sendfile/sys/dev/usb/serial/uftdi.c
projects/sendfile/sys/dev/usb/serial/ugensa.c
projects/sendfile/sys/dev/usb/serial/uipaq.c
projects/sendfile/sys/dev/usb/serial/ulpt.c
projects/sendfile/sys/dev/usb/serial/umcs.c
projects/sendfile/sys/dev/usb/serial/umct.c
projects/sendfile/sys/dev/usb/serial/umodem.c
projects/sendfile/sys/dev/usb/serial/umoscom.c
projects/sendfile/sys/dev/usb/serial/uplcom.c
projects/sendfile/sys/dev/usb/serial/uslcom.c
projects/sendfile/sys/dev/usb/serial/uvisor.c
projects/sendfile/sys/dev/usb/serial/uvscom.c
projects/sendfile/sys/dev/usb/storage/umass.c
projects/sendfile/sys/dev/usb/storage/urio.c
projects/sendfile/sys/dev/usb/usb_hub.c
projects/sendfile/sys/dev/usb/usbdi.h
projects/sendfile/sys/dev/usb/wlan/if_rsu.c
projects/sendfile/sys/dev/usb/wlan/if_rum.c
projects/sendfile/sys/dev/usb/wlan/if_run.c
projects/sendfile/sys/dev/usb/wlan/if_uath.c
projects/sendfile/sys/dev/usb/wlan/if_upgt.c
projects/sendfile/sys/dev/usb/wlan/if_ural.c
projects/sendfile/sys/dev/usb/wlan/if_urtw.c
projects/sendfile/sys/dev/usb/wlan/if_urtwn.c
projects/sendfile/sys/dev/usb/wlan/if_urtwnreg.h
projects/sendfile/sys/dev/usb/wlan/if_urtwnvar.h
projects/sendfile/sys/dev/usb/wlan/if_zyd.c
projects/sendfile/sys/dev/wi/if_wi_pccard.c
projects/sendfile/sys/dev/wpi/if_wpi.c
projects/sendfile/sys/dev/wpi/if_wpi_debug.h
projects/sendfile/sys/dev/wtap/if_wtap_module.c
projects/sendfile/sys/dev/wtap/if_wtapvar.h
projects/sendfile/sys/dev/wtap/plugins/visibility.c
projects/sendfile/sys/dev/xe/if_xe_pccard.c
projects/sendfile/sys/fs/fuse/fuse_vnops.c
projects/sendfile/sys/fs/nfsclient/nfs_clbio.c
projects/sendfile/sys/fs/smbfs/smbfs_io.c
projects/sendfile/sys/fs/tmpfs/tmpfs_subr.c
projects/sendfile/sys/geom/multipath/g_multipath.c
projects/sendfile/sys/geom/part/g_part_gpt.c
projects/sendfile/sys/kern/kern_exec.c
projects/sendfile/sys/kern/kern_jail.c
projects/sendfile/sys/kern/kern_linker.c
projects/sendfile/sys/kern/kern_malloc.c
projects/sendfile/sys/kern/kern_racct.c
projects/sendfile/sys/kern/kern_rctl.c
projects/sendfile/sys/kern/uipc_shm.c
projects/sendfile/sys/kern/vfs_bio.c
projects/sendfile/sys/kern/vfs_default.c
projects/sendfile/sys/kern/vfs_subr.c
projects/sendfile/sys/kern/vnode_if.src
projects/sendfile/sys/mips/atheros/apb.c
projects/sendfile/sys/mips/atheros/if_arge.c
projects/sendfile/sys/mips/atheros/qca953x_chip.c
projects/sendfile/sys/mips/include/cpuregs.h
projects/sendfile/sys/modules/Makefile
projects/sendfile/sys/net/if.c
projects/sendfile/sys/net/if_lagg.c
projects/sendfile/sys/net/if_lagg.h
projects/sendfile/sys/net/if_llatbl.c
projects/sendfile/sys/net/if_llatbl.h
projects/sendfile/sys/net/if_stf.c
projects/sendfile/sys/net/if_var.h
projects/sendfile/sys/net/route.c
projects/sendfile/sys/net/route.h
projects/sendfile/sys/net80211/ieee80211_phy.h
projects/sendfile/sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
projects/sendfile/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
projects/sendfile/sys/netgraph/bluetooth/drivers/ubtbcmfw/ubtbcmfw.c
projects/sendfile/sys/netinet/if_ether.c
projects/sendfile/sys/netinet/if_ether.h
projects/sendfile/sys/netinet/in_var.h
projects/sendfile/sys/netinet/ip_carp.c
projects/sendfile/sys/netinet/sctp_input.c
projects/sendfile/sys/netinet/sctp_output.c
projects/sendfile/sys/netinet/sctp_pcb.h
projects/sendfile/sys/netinet/tcp.h
projects/sendfile/sys/netinet/tcp_hostcache.c
projects/sendfile/sys/netinet/tcp_hostcache.h
projects/sendfile/sys/netinet/tcp_input.c
projects/sendfile/sys/netinet/tcp_sack.c
projects/sendfile/sys/netinet/tcp_subr.c
projects/sendfile/sys/netinet/tcp_syncache.c
projects/sendfile/sys/netinet/tcp_timer.c
projects/sendfile/sys/netinet/tcp_usrreq.c
projects/sendfile/sys/netinet/tcp_var.h
projects/sendfile/sys/netinet/toecore.c
projects/sendfile/sys/netinet6/in6.c
projects/sendfile/sys/netinet6/in6_var.h
projects/sendfile/sys/netinet6/nd6.c
projects/sendfile/sys/netinet6/nd6.h
projects/sendfile/sys/netinet6/nd6_nbr.c
projects/sendfile/sys/netpfil/ipfw/ip_dn_io.c
projects/sendfile/sys/netpfil/ipfw/ip_dummynet.c
projects/sendfile/sys/netpfil/ipfw/ip_fw2.c
projects/sendfile/sys/powerpc/booke/booke_machdep.c
projects/sendfile/sys/powerpc/booke/trap_subr.S
projects/sendfile/sys/powerpc/include/trap.h
projects/sendfile/sys/powerpc/mpc85xx/fsl_sdhc.c
projects/sendfile/sys/powerpc/powerpc/trap.c
projects/sendfile/sys/sys/buf.h
projects/sendfile/sys/sys/module.h
projects/sendfile/sys/sys/vnode.h
projects/sendfile/sys/vm/default_pager.c
projects/sendfile/sys/vm/device_pager.c
projects/sendfile/sys/vm/phys_pager.c
projects/sendfile/sys/vm/sg_pager.c
projects/sendfile/sys/vm/swap_pager.c
projects/sendfile/sys/vm/uma_core.c
projects/sendfile/sys/vm/vm_fault.c
projects/sendfile/sys/vm/vm_glue.c
projects/sendfile/sys/vm/vm_object.c
projects/sendfile/sys/vm/vm_object.h
projects/sendfile/sys/vm/vm_page.c
projects/sendfile/sys/vm/vm_pager.c
projects/sendfile/sys/vm/vm_pager.h
projects/sendfile/sys/vm/vnode_pager.c
projects/sendfile/sys/vm/vnode_pager.h
projects/sendfile/sys/x86/x86/busdma_bounce.c
projects/sendfile/tests/freebsd_test_suite/macros.h
projects/sendfile/tools/bsdbox/Makefile.base
projects/sendfile/tools/build/mk/OptionalObsoleteFiles.inc
projects/sendfile/tools/build/options/makeman
projects/sendfile/tools/debugscripts/README
projects/sendfile/tools/regression/lib/msun/Makefile
projects/sendfile/tools/tools/ath/athratestats/Makefile
projects/sendfile/tools/tools/ioat/ioatcontrol.8
projects/sendfile/tools/tools/ioat/ioatcontrol.c
projects/sendfile/tools/tools/nanobsd/defaults.sh
projects/sendfile/tools/tools/nanobsd/embedded/common
projects/sendfile/tools/tools/nanobsd/embedded/qemu-powerpc64.cfg
projects/sendfile/usr.bin/clang/lldb/Makefile
projects/sendfile/usr.bin/kdump/Makefile
projects/sendfile/usr.bin/kdump/Makefile.depend
projects/sendfile/usr.bin/kdump/kdump.c
projects/sendfile/usr.bin/mkimg/mbr.c
projects/sendfile/usr.bin/mkimg/scheme.c
projects/sendfile/usr.bin/mkimg/scheme.h
projects/sendfile/usr.bin/truss/Makefile
projects/sendfile/usr.bin/truss/Makefile.depend.amd64
projects/sendfile/usr.bin/truss/syscalls.c
projects/sendfile/usr.bin/unzip/unzip.1
projects/sendfile/usr.bin/unzip/unzip.c
projects/sendfile/usr.sbin/Makefile.arm
projects/sendfile/usr.sbin/crunch/crunchide/exec_elf32.c
projects/sendfile/usr.sbin/ctm/ctm/ctm.1
projects/sendfile/usr.sbin/kldxref/kldxref.c
projects/sendfile/usr.sbin/ndp/ndp.c
projects/sendfile/usr.sbin/pmcstudy/pmcstudy.8
projects/sendfile/usr.sbin/pmcstudy/pmcstudy.c
projects/sendfile/usr.sbin/sesutil/Makefile
projects/sendfile/usr.sbin/sesutil/eltsub.c
projects/sendfile/usr.sbin/sesutil/eltsub.h
projects/sendfile/usr.sbin/sesutil/sesutil.c
projects/sendfile/usr.sbin/ypldap/aldap.c
projects/sendfile/usr.sbin/ypldap/ber.c
projects/sendfile/usr.sbin/ypldap/ldapclient.c
projects/sendfile/usr.sbin/ypldap/ypldap.c
projects/sendfile/usr.sbin/ypldap/ypldap_dns.c
Directory Properties:
projects/sendfile/ (props changed)
projects/sendfile/contrib/elftoolchain/ (props changed)
projects/sendfile/contrib/llvm/ (props changed)
projects/sendfile/contrib/llvm/tools/lldb/ (props changed)
projects/sendfile/contrib/mdocml/ (props changed)
projects/sendfile/contrib/top/ (props changed)
projects/sendfile/contrib/unbound/ (props changed)
projects/sendfile/include/ (props changed)
projects/sendfile/lib/libc/ (props changed)
projects/sendfile/sbin/ (props changed)
projects/sendfile/share/ (props changed)
projects/sendfile/share/man/man4/ (props changed)
projects/sendfile/sys/ (props changed)
projects/sendfile/sys/boot/ (props changed)
projects/sendfile/sys/cddl/contrib/opensolaris/ (props changed)
projects/sendfile/sys/conf/ (props changed)
projects/sendfile/sys/dev/hyperv/ (props changed)
projects/sendfile/usr.bin/mkimg/ (props changed)
Modified: projects/sendfile/MAINTAINERS
==============================================================================
--- projects/sendfile/MAINTAINERS Wed Dec 16 21:32:21 2015 (r292374)
+++ projects/sendfile/MAINTAINERS Wed Dec 16 21:33:57 2015 (r292375)
@@ -26,57 +26,67 @@ sub-system.
subsystem login notes
-----------------------------
-opencrypto jmg Pre-commit review requested. Documentation Required.
-kqueue jmg Pre-commit review requested. Documentation Required.
-share/mk imp, bapt, bdrewery, emaste, sjg Make is hard.
+atf freebsd-testing,jmmv,ngie Pre-commit review requested.
ath(4) adrian Pre-commit review requested, send to freebsd-wireless at freebsd.org
-net80211 adrian Pre-commit review requested, send to freebsd-wireless at freebsd.org
-iwn(4) adrian Pre-commit review requested, send to freebsd-wireless at freebsd.org
-iwm(4) adrian Pre-commit review requested, send to freebsd-wireless at freebsd.org
-otus(4) adrian Pre-commit review requested, send to freebsd-wireless at freebsd.org
-dev/usb/wlan adrian Pre-commit review requested, send to freebsd-wireless at freebsd.org
-openssl benl,jkim Pre-commit review requested.
-release/release.sh gjb,re Pre-commit review and regression tests
- requested.
-sh(1) jilles Pre-commit review requested. This also applies
- to kill(1), printf(1) and test(1) which are
- compiled in as builtins.
-isci(4) jimharris Pre-commit review requested.
-nvme(4) jimharris Pre-commit review requested.
-nvd(4) jimharris Pre-commit review requested.
-nvmecontrol(8) jimharris Pre-commit review requested.
-libfetch des Pre-commit review requested.
-fetch des Pre-commit review requested.
-libpam des Pre-commit review requested.
-openssh des Pre-commit review requested.
-pseudofs des Pre-commit review requested.
-procfs des Pre-commit review requested.
-linprocfs des Pre-commit review requested.
+callout_*(9) rrs Pre-commit review requested -- becareful its tricksy code :o.
contrib/compiler-rt dim Pre-commit review preferred.
contrib/libc++ dim Pre-commit review preferred.
contrib/libcxxrt dim Pre-commit review preferred.
contrib/llvm dim Pre-commit review preferred.
contrib/llvm/tools/lldb emaste Pre-commit review preferred.
-atf freebsd-testing,jmmv,ngie Pre-commit review requested.
contrib/netbsd-tests freebsd-testing,ngie Pre-commit review requested.
contrib/pjdfstest freebsd-testing,ngie,pjd Pre-commit review requested.
+dev/usb/wlan adrian Pre-commit review requested, send to freebsd-wireless at freebsd.org
+*env(3) secteam Due to the problematic security history of this
+ code, please have patches reviewed by secteam.
+etc/mail gshapiro Pre-commit review requested. Keep in sync with -STABLE.
+etc/sendmail gshapiro Pre-commit review requested. Keep in sync with -STABLE.
+fetch des Pre-commit review requested.
+geli pjd Pre-commit review requested (both sys/geom/eli/ and sbin/geom/class/eli/).
+isci(4) jimharris Pre-commit review requested.
+iwm(4) adrian Pre-commit review requested, send to freebsd-wireless at freebsd.org
+iwn(4) adrian Pre-commit review requested, send to freebsd-wireless at freebsd.org
+kqueue jmg Pre-commit review requested. Documentation Required.
+libfetch des Pre-commit review requested.
+libpam des Pre-commit review requested.
+linprocfs des Pre-commit review requested.
+lpr gad Pre-commit review requested, particularly for
+ lpd/recvjob.c and lpd/printjob.c.
+nanobsd imp Pre-commit phabricator review requested.
+net80211 adrian Pre-commit review requested, send to freebsd-wireless at freebsd.org
+nfs freebsd-fs at FreeBSD.org, rmacklem is best for reviews.
+nis(8), yp(8) araujo Pre-commit review requested.
+nvd(4) jimharris Pre-commit review requested.
+nvme(4) jimharris Pre-commit review requested.
+nvmecontrol(8) jimharris Pre-commit review requested.
+opencrypto jmg Pre-commit review requested. Documentation Required.
+openssh des Pre-commit review requested.
+openssl benl,jkim Pre-commit review requested.
+otus(4) adrian Pre-commit review requested, send to freebsd-wireless at freebsd.org
+pci bus imp,jhb Pre-commit review requested.
+pmcstudy(8) rrs Pre-commit review requested.
+procfs des Pre-commit review requested.
+pseudofs des Pre-commit review requested.
+release/release.sh gjb,re Pre-commit review and regression tests
+ requested.
+sctp rrs,tuexen Pre-commit review requested (changes need to be backported to github).
+sendmail gshapiro Pre-commit review requested.
+sh(1) jilles Pre-commit review requested. This also applies
+ to kill(1), printf(1) and test(1) which are
+ compiled in as builtins.
+share/mk imp, bapt, bdrewery, emaste, sjg Make is hard.
share/mk/*.test.mk freebsd-testing,ngie (same list as share/mk too) Pre-commit review requested.
-tests freebsd-testing,ngie Pre-commit review requested.
-sys/dev/usb hselasky If in doubt, ask.
-sys/dev/sound/usb hselasky If in doubt, ask.
sys/compat/linuxkpi hselasky If in doubt, ask.
sys/dev/e1000 erj Pre-commit phabricator review requested.
sys/dev/ixgbe erj Pre-commit phabricator review requested.
sys/dev/ixl erj Pre-commit phabricator review requested.
+sys/dev/sound/usb hselasky If in doubt, ask.
+sys/dev/usb hselasky If in doubt, ask.
sys/netinet/ip_carp.c glebius Pre-commit review recommended.
sys/netpfil/pf kp,glebius Pre-commit review recommended.
-sctp rrs,tuexen Pre-commit review requested (changes need to be backported to github).
-pmcstudy(8) rrs Pre-commit review requested.
-callout_*(9) rrs Pre-commit review requested -- becareful its tricksy code :o.
+tests freebsd-testing,ngie Pre-commit review requested.
usr.sbin/pkg pkg@ Please coordinate behavior or flag changes with pkg team.
-lpr gad Pre-commit review requested, particularly for
- lpd/recvjob.c and lpd/printjob.c.
-nis(8), yp(8) araujo Pre-commit review requested.
+vmm(4) neel,grehan Pre-commit review requested.
---- OLD ----
libc/posix1e rwatson Pre-commit review requested.
POSIX.1e ACLs rwatson Pre-commit review requested.
@@ -87,7 +97,6 @@ contrib/openbsm rwatson Pre-commit revie
sys/security/audit rwatson Pre-commit review requested.
ahc(4) gibbs Pre-commit review requested.
ahd(4) gibbs Pre-commit review requested.
-pci bus imp,jhb Pre-commit review requested.
cdboot jhb Pre-commit review requested.
pxeboot jhb Pre-commit review requested.
witness jhb Pre-commit review requested.
@@ -102,11 +111,6 @@ cd(4) ken Pre-commit review requested.
pass(4) ken Pre-commit review requested.
ch(4) ken Pre-commit review requested.
em(4) jfv Pre-commit review requested.
-sendmail gshapiro Pre-commit review requested.
-etc/mail gshapiro Pre-commit review requested.
- Keep in sync with -STABLE.
-etc/sendmail gshapiro Pre-commit review requested.
- Keep in sync with -STABLE.
nvi peter Try not to break it.
libz peter Try not to break it.
groff ru Recommends pre-commit review.
@@ -122,7 +126,6 @@ file obrien Insists to keep file blocke
contrib/bzip2 obrien Pre-commit review required.
geom freebsd-geom at FreeBSD.org
geom_concat pjd Pre-commit review preferred.
-geom_eli pjd Pre-commit review preferred.
geom_gate pjd Pre-commit review preferred.
geom_label pjd Pre-commit review preferred.
geom_mirror pjd Pre-commit review preferred.
@@ -133,7 +136,6 @@ geom_stripe pjd Pre-commit review prefer
geom_zero pjd Pre-commit review preferred.
sbin/geom pjd Pre-commit review preferred.
zfs freebsd-fs at FreeBSD.org
-nfs freebsd-fs at FreeBSD.org, rmacklem is best for reviews.
linux emul emulation Please discuss changes here.
bs{diff,patch} cperciva Pre-commit review requested.
portsnap cperciva Pre-commit review requested.
@@ -143,8 +145,6 @@ lib/libbluetooth emax Pre-commit review
lib/libsdp emax Pre-commit review preferred.
usr.bin/bluetooth emax Pre-commit review preferred.
usr.sbin/bluetooth emax Pre-commit review preferred.
-*env(3) secteam Due to the problematic security history of this
- code, please have patches reviewed by secteam.
share/zoneinfo edwin Heads-up appreciated, since our data is coming
from a third party source.
usr.sbin/zic edwin Heads-up appreciated, since this code is
@@ -155,5 +155,4 @@ sbin/routed bms Pre-commit review; notif
cmx daniel at roe.ch Pre-commit review preferred.
filemon obrien Pre-commit review preferred.
sysdoc trhodes Pre-commit review preferred.
-nanobsd imp Pre-commit review requested for coordination.
-vmm(4) neel,grehan Pre-commit review requested.
+
Modified: projects/sendfile/Makefile
==============================================================================
--- projects/sendfile/Makefile Wed Dec 16 21:32:21 2015 (r292374)
+++ projects/sendfile/Makefile Wed Dec 16 21:33:57 2015 (r292375)
@@ -57,8 +57,8 @@
# Makefile.inc1. The exceptions are universe, tinderbox and targets.
#
# If you want to build your system from source be sure that /usr/obj has
-# at least 1GB of diskspace available. A complete 'universe' build requires
-# about 15GB of space.
+# at least 6GB of diskspace available. A complete 'universe' build requires
+# about 100GB of space.
#
# For individuals wanting to build from the sources currently on their
# system, the simple instructions are:
@@ -180,7 +180,7 @@ _MAKE= PATH=${PATH} ${SUB_MAKE} -f Makef
_TARGET_ARCH= ${TARGET:S/pc98/i386/:S/arm64/aarch64/}
.elif !defined(TARGET) && defined(TARGET_ARCH) && \
${TARGET_ARCH} != ${MACHINE_ARCH}
-_TARGET= ${TARGET_ARCH:C/mips(n32|64)?(el)?/mips/:C/arm(v6)?(eb|hf)?/arm/:C/aarch64/arm64/:C/powerpc64/powerpc/}
+_TARGET= ${TARGET_ARCH:C/mips(n32|64)?(el)?/mips/:C/arm(v6)?(eb|hf)?/arm/:C/aarch64/arm64/:C/powerpc64/powerpc/:C/riscv64/riscv/}
.endif
.if defined(TARGET) && !defined(_TARGET)
_TARGET=${TARGET}
Modified: projects/sendfile/Makefile.inc1
==============================================================================
--- projects/sendfile/Makefile.inc1 Wed Dec 16 21:32:21 2015 (r292374)
+++ projects/sendfile/Makefile.inc1 Wed Dec 16 21:33:57 2015 (r292375)
@@ -146,7 +146,11 @@ CLEANDIR= cleandir
LOCAL_TOOL_DIRS?=
PACKAGEDIR?= ${DESTDIR}/${DISTDIR}
+.if empty(SHELL:M*csh*)
BUILDENV_SHELL?=${SHELL}
+.else
+BUILDENV_SHELL?=/bin/sh
+.endif
SVN?= /usr/local/bin/svn
SVNFLAGS?= -r HEAD
@@ -172,7 +176,25 @@ VERSION= FreeBSD ${REVISION}-${BRANCH:C/
.export VERSION
.endif
-KNOWN_ARCHES?= aarch64/arm64 amd64 arm armeb/arm armv6/arm armv6hf/arm i386 i386/pc98 mips mipsel/mips mips64el/mips mips64/mips mipsn32el/mips mipsn32/mips powerpc powerpc64/powerpc sparc64
+KNOWN_ARCHES?= aarch64/arm64 \
+ amd64 \
+ arm \
+ armeb/arm \
+ armv6/arm \
+ armv6hf/arm \
+ i386 \
+ i386/pc98 \
+ mips \
+ mipsel/mips \
+ mips64el/mips \
+ mips64/mips \
+ mipsn32el/mips \
+ mipsn32/mips \
+ powerpc \
+ powerpc64/powerpc \
+ riscv64/riscv \
+ sparc64
+
.if ${TARGET} == ${TARGET_ARCH}
_t= ${TARGET}
.else
Modified: projects/sendfile/UPDATING
==============================================================================
--- projects/sendfile/UPDATING Wed Dec 16 21:32:21 2015 (r292374)
+++ projects/sendfile/UPDATING Wed Dec 16 21:33:57 2015 (r292375)
@@ -31,6 +31,20 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11
disable the most expensive debugging functionality run
"ln -s 'abort:false,junk:false' /etc/malloc.conf".)
+20151216:
+ The tftp loader (pxeboot) now uses the option root-path directive. As a
+ consequence it no longer looks for a pxeboot.4th file on the tftp
+ server. Instead it uses the regular /boot infrastructure as with the
+ other loaders.
+
+20151211:
+ The code to start recording plug and play data into the modules has
+ been committed. While the old tools will properly build a new kernel,
+ a number of warnings about "unknown metadata record 4" will be produced
+ for an older kldxref. To avoid such warnings, make sure to rebuild
+ the kernel toolchain (or world). Make sure that you have r292078 or
+ later when trying to build 292077 or later before rebuilding.
+
20151207:
Debug data files are now built by default with 'make buildworld' and
installed with 'make installworld'. This facilitates debugging but
Modified: projects/sendfile/bin/sh/var.c
==============================================================================
--- projects/sendfile/bin/sh/var.c Wed Dec 16 21:32:21 2015 (r292374)
+++ projects/sendfile/bin/sh/var.c Wed Dec 16 21:33:57 2015 (r292375)
@@ -330,7 +330,7 @@ setvareq(char *s, int flags)
if (vp->flags & VREADONLY) {
if ((flags & (VTEXTFIXED|VSTACK)) == 0)
ckfree(s);
- error("%.*s: is read only", vp->name_len, s);
+ error("%.*s: is read only", vp->name_len, vp->text);
}
if (flags & VNOSET) {
if ((flags & (VTEXTFIXED|VSTACK)) == 0)
Modified: projects/sendfile/contrib/elftoolchain/addr2line/addr2line.1
==============================================================================
--- projects/sendfile/contrib/elftoolchain/addr2line/addr2line.1 Wed Dec 16 21:32:21 2015 (r292374)
+++ projects/sendfile/contrib/elftoolchain/addr2line/addr2line.1 Wed Dec 16 21:33:57 2015 (r292375)
@@ -22,9 +22,9 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: addr2line.1 3195 2015-05-12 17:22:19Z emaste $
+.\" $Id: addr2line.1 3263 2015-11-30 04:25:54Z kaiwang27 $
.\"
-.Dd July 25, 2010
+.Dd November 30, 2015
.Os
.Dt ADDR2LINE 1
.Sh NAME
@@ -32,10 +32,13 @@
.Nd translate program addresses to source file names and line numbers
.Sh SYNOPSIS
.Nm
+.Op Fl a | Fl -addresses
.Op Fl b Ar target | Fl -target Ns = Ns Ar target
.Op Fl e Ar pathname | Fl -exe Ns = Ns Ar pathname
.Op Fl f | Fl -functions
+.Op Fl i | Fl -inlines
.Op Fl j Ar sectionname | Fl -section Ns = Ns Ar sectionname
+.Op Fl p | Fl -pretty-print
.Op Fl s | Fl -basename
.Op Fl C | Fl -demangle
.Op Fl H | Fl -help
@@ -69,6 +72,8 @@ The
.Nm
utility recognizes the following options:
.Bl -tag -width indent
+.It Fl a | Fl -addresses
+Display the address prior to the line number information.
.It Fl b Ar target | Fl -target Ns = Ns Ar target
This option is recognized by
.Nm
@@ -84,11 +89,17 @@ will use the file
.Dq Pa a.out .
.It Fl f | Fl -functions
Display function names in addition to file and line number information.
+.It Fl i | Fl -inlines
+If the address specified belongs to an inlined function, also display the line
+number information for its caller, recursively until the first non-inlined
+caller.
.It Fl j Ar sectionname | Fl -section Ns = Ns Ar sectionname
The values specified by arguments
.Ar hexaddress
are to be treated as offsets into the section named
.Ar sectionname .
+.It Fl p | -pretty-print
+Display the line number information on one line, in human readable manner.
.It Fl s | -basename
Display only the base name for each file name.
.It Fl C | Fl -demangle
@@ -115,6 +126,18 @@ to program address
.Ar hexaddress ,
followed by a line with the file name and line number.
.Pp
+If the
+.Fl p
+option was specified,
+.Nm
+will print line number information and function name on one line in
+human readable manner. If the
+.Fl i
+option was also specified,
+.Nm
+will print the caller function information prefixed with
+.Dq (inlined by) .
+.Pp
The
.Nm
utility prints the file name and line number using the format
Modified: projects/sendfile/contrib/elftoolchain/addr2line/addr2line.c
==============================================================================
--- projects/sendfile/contrib/elftoolchain/addr2line/addr2line.c Wed Dec 16 21:32:21 2015 (r292374)
+++ projects/sendfile/contrib/elftoolchain/addr2line/addr2line.c Wed Dec 16 21:33:57 2015 (r292375)
@@ -37,33 +37,64 @@
#include <stdlib.h>
#include <string.h>
+#include "uthash.h"
#include "_elftc.h"
-ELFTC_VCSID("$Id: addr2line.c 3249 2015-10-04 08:11:30Z kaiwang27 $");
+ELFTC_VCSID("$Id: addr2line.c 3264 2015-11-30 05:38:14Z kaiwang27 $");
+
+struct Func {
+ char *name;
+ Dwarf_Unsigned lopc;
+ Dwarf_Unsigned hipc;
+ Dwarf_Unsigned call_file;
+ Dwarf_Unsigned call_line;
+ Dwarf_Ranges *ranges;
+ Dwarf_Signed ranges_cnt;
+ struct Func *inlined_caller;
+ STAILQ_ENTRY(Func) next;
+};
+
+struct CU {
+ Dwarf_Off off;
+ Dwarf_Unsigned lopc;
+ Dwarf_Unsigned hipc;
+ char **srcfiles;
+ Dwarf_Signed nsrcfiles;
+ STAILQ_HEAD(, Func) funclist;
+ UT_hash_handle hh;
+};
static struct option longopts[] = {
+ {"addresses", no_argument, NULL, 'a'},
{"target" , required_argument, NULL, 'b'},
{"demangle", no_argument, NULL, 'C'},
{"exe", required_argument, NULL, 'e'},
{"functions", no_argument, NULL, 'f'},
+ {"inlines", no_argument, NULL, 'i'},
{"section", required_argument, NULL, 'j'},
+ {"pretty-print", no_argument, NULL, 'p'},
{"basename", no_argument, NULL, 's'},
{"help", no_argument, NULL, 'H'},
{"version", no_argument, NULL, 'V'},
{NULL, 0, NULL, 0}
};
-static int demangle, func, base;
+static int demangle, func, base, inlines, print_addr, pretty_print;
static char unknown[] = { '?', '?', '\0' };
static Dwarf_Addr section_base;
+static struct CU *culist;
#define USAGE_MESSAGE "\
Usage: %s [options] hexaddress...\n\
Map program addresses to source file names and line numbers.\n\n\
Options:\n\
+ -a | --addresses Display address prior to line number info.\n\
-b TGT | --target=TGT (Accepted but ignored).\n\
-e EXE | --exe=EXE Use program \"EXE\" to translate addresses.\n\
-f | --functions Display function names.\n\
+ -i | --inlines Display caller info for inlined functions.\n\
-j NAME | --section=NAME Values are offsets into section \"NAME\".\n\
+ -p | --pretty-print Display line number info and function name\n\
+ in human readable manner.\n\
-s | --basename Only show the base name for each file name.\n\
-C | --demangle Demangle C++ names.\n\
-H | --help Print a help message.\n\
@@ -122,71 +153,160 @@ handle_high_pc(Dwarf_Die die, Dwarf_Unsi
return (DW_DLV_OK);
}
+static struct Func *
+search_func(struct CU *cu, Dwarf_Unsigned addr)
+{
+ struct Func *f, *f0;
+ Dwarf_Unsigned lopc, hipc, addr_base;
+ int i;
+
+ f0 = NULL;
+
+ STAILQ_FOREACH(f, &cu->funclist, next) {
+ if (f->ranges != NULL) {
+ addr_base = 0;
+ for (i = 0; i < f->ranges_cnt; i++) {
+ if (f->ranges[i].dwr_type == DW_RANGES_END)
+ break;
+ if (f->ranges[i].dwr_type ==
+ DW_RANGES_ADDRESS_SELECTION) {
+ addr_base = f->ranges[i].dwr_addr2;
+ continue;
+ }
+
+ /* DW_RANGES_ENTRY */
+ lopc = f->ranges[i].dwr_addr1 + addr_base;
+ hipc = f->ranges[i].dwr_addr2 + addr_base;
+ if (addr >= lopc && addr < hipc) {
+ if (f0 == NULL ||
+ (lopc >= f0->lopc &&
+ hipc <= f0->hipc)) {
+ f0 = f;
+ f0->lopc = lopc;
+ f0->hipc = hipc;
+ break;
+ }
+ }
+ }
+ } else if (addr >= f->lopc && addr < f->hipc) {
+ if (f0 == NULL ||
+ (f->lopc >= f0->lopc && f->hipc <= f0->hipc))
+ f0 = f;
+ }
+ }
+
+ return (f0);
+}
+
static void
-search_func(Dwarf_Debug dbg, Dwarf_Die die, Dwarf_Addr addr, char **rlt_func)
+collect_func(Dwarf_Debug dbg, Dwarf_Die die, struct Func *parent, struct CU *cu)
{
- Dwarf_Die ret_die, spec_die;
+ Dwarf_Die ret_die, abst_die, spec_die;
Dwarf_Error de;
Dwarf_Half tag;
- Dwarf_Unsigned lopc, hipc;
+ Dwarf_Unsigned lopc, hipc, ranges_off;
+ Dwarf_Signed ranges_cnt;
Dwarf_Off ref;
- Dwarf_Attribute sub_at, spec_at;
- char *func0;
- const char *func1;
- int ret;
+ Dwarf_Attribute abst_at, spec_at;
+ Dwarf_Ranges *ranges;
+ const char *funcname;
+ struct Func *f;
+ int found_ranges, ret;
- if (*rlt_func != NULL)
- goto done;
+ f = NULL;
+ abst_die = spec_die = NULL;
if (dwarf_tag(die, &tag, &de)) {
warnx("dwarf_tag: %s", dwarf_errmsg(de));
goto cont_search;
}
- if (tag == DW_TAG_subprogram) {
+ if (tag == DW_TAG_subprogram || tag == DW_TAG_entry_point ||
+ tag == DW_TAG_inlined_subroutine) {
+ /*
+ * Function address range can be specified by either
+ * a DW_AT_ranges attribute which points to a range list or
+ * by a pair of DW_AT_low_pc and DW_AT_high_pc attributes.
+ */
+ ranges = NULL;
+ ranges_cnt = 0;
+ found_ranges = 0;
+ if (dwarf_attrval_unsigned(die, DW_AT_ranges, &ranges_off,
+ &de) == DW_DLV_OK &&
+ dwarf_get_ranges(dbg, (Dwarf_Off) ranges_off, &ranges,
+ &ranges_cnt, NULL, &de) == DW_DLV_OK) {
+ if (ranges != NULL && ranges_cnt > 0) {
+ found_ranges = 1;
+ goto get_func_name;
+ }
+ }
+
+ /*
+ * Search for DW_AT_low_pc/DW_AT_high_pc if ranges pointer
+ * not found.
+ */
if (dwarf_attrval_unsigned(die, DW_AT_low_pc, &lopc, &de) ||
dwarf_attrval_unsigned(die, DW_AT_high_pc, &hipc, &de))
goto cont_search;
if (handle_high_pc(die, lopc, &hipc) != DW_DLV_OK)
goto cont_search;
- if (addr < lopc || addr >= hipc)
- goto cont_search;
- /* Found it! */
+ get_func_name:
+ /*
+ * Most common case the function name is stored in DW_AT_name
+ * attribute.
+ */
+ if (dwarf_attrval_string(die, DW_AT_name, &funcname, &de) ==
+ DW_DLV_OK)
+ goto add_func;
- if ((*rlt_func = strdup(unknown)) == NULL)
- err(EXIT_FAILURE, "strdup");
- ret = dwarf_attr(die, DW_AT_name, &sub_at, &de);
- if (ret == DW_DLV_ERROR)
- goto done;
- if (ret == DW_DLV_OK) {
- if (dwarf_formstring(sub_at, &func0, &de) ==
- DW_DLV_OK) {
- free(*rlt_func);
- if ((*rlt_func = strdup(func0)) == NULL)
- err(EXIT_FAILURE, "strdup");
- }
- goto done;
- }
+ /*
+ * For inlined function, the actual name is probably in the DIE
+ * referenced by DW_AT_abstract_origin. (if present)
+ */
+ if (dwarf_attr(die, DW_AT_abstract_origin, &abst_at, &de) ==
+ DW_DLV_OK &&
+ dwarf_global_formref(abst_at, &ref, &de) == DW_DLV_OK &&
+ dwarf_offdie(dbg, ref, &abst_die, &de) == DW_DLV_OK &&
+ dwarf_attrval_string(abst_die, DW_AT_name, &funcname,
+ &de) == DW_DLV_OK)
+ goto add_func;
/*
* If DW_AT_name is not present, but DW_AT_specification is
* present, then probably the actual name is in the DIE
* referenced by DW_AT_specification.
*/
- if (dwarf_attr(die, DW_AT_specification, &spec_at, &de))
- goto done;
- if (dwarf_global_formref(spec_at, &ref, &de))
- goto done;
- if (dwarf_offdie(dbg, ref, &spec_die, &de))
- goto done;
- if (dwarf_attrval_string(spec_die, DW_AT_name, &func1, &de) ==
- DW_DLV_OK) {
- free(*rlt_func);
- if ((*rlt_func = strdup(func1)) == NULL)
- err(EXIT_FAILURE, "strdup");
- }
+ if (dwarf_attr(die, DW_AT_specification, &spec_at, &de) ==
+ DW_DLV_OK &&
+ dwarf_global_formref(spec_at, &ref, &de) == DW_DLV_OK &&
+ dwarf_offdie(dbg, ref, &spec_die, &de) == DW_DLV_OK &&
+ dwarf_attrval_string(spec_die, DW_AT_name, &funcname,
+ &de) == DW_DLV_OK)
+ goto add_func;
- goto done;
+ /* Skip if no name assoicated with this DIE. */
+ goto cont_search;
+
+ add_func:
+ if ((f = calloc(1, sizeof(*f))) == NULL)
+ err(EXIT_FAILURE, "calloc");
+ if ((f->name = strdup(funcname)) == NULL)
+ err(EXIT_FAILURE, "strdup");
+ if (found_ranges) {
+ f->ranges = ranges;
+ f->ranges_cnt = ranges_cnt;
+ } else {
+ f->lopc = lopc;
+ f->hipc = hipc;
+ }
+ if (tag == DW_TAG_inlined_subroutine) {
+ f->inlined_caller = parent;
+ dwarf_attrval_unsigned(die, DW_AT_call_file,
+ &f->call_file, &de);
+ dwarf_attrval_unsigned(die, DW_AT_call_line,
+ &f->call_line, &de);
+ }
+ STAILQ_INSERT_TAIL(&cu->funclist, f, next);
}
cont_search:
@@ -194,23 +314,69 @@ cont_search:
/* Search children. */
ret = dwarf_child(die, &ret_die, &de);
if (ret == DW_DLV_ERROR)
- errx(EXIT_FAILURE, "dwarf_child: %s", dwarf_errmsg(de));
- else if (ret == DW_DLV_OK)
- search_func(dbg, ret_die, addr, rlt_func);
+ warnx("dwarf_child: %s", dwarf_errmsg(de));
+ else if (ret == DW_DLV_OK) {
+ if (f != NULL)
+ collect_func(dbg, ret_die, f, cu);
+ else
+ collect_func(dbg, ret_die, parent, cu);
+ }
/* Search sibling. */
ret = dwarf_siblingof(dbg, die, &ret_die, &de);
if (ret == DW_DLV_ERROR)
- errx(EXIT_FAILURE, "dwarf_siblingof: %s", dwarf_errmsg(de));
+ warnx("dwarf_siblingof: %s", dwarf_errmsg(de));
else if (ret == DW_DLV_OK)
- search_func(dbg, ret_die, addr, rlt_func);
+ collect_func(dbg, ret_die, parent, cu);
-done:
+ /* Cleanup */
dwarf_dealloc(dbg, die, DW_DLA_DIE);
+
+ if (abst_die != NULL)
+ dwarf_dealloc(dbg, abst_die, DW_DLA_DIE);
+
+ if (spec_die != NULL)
+ dwarf_dealloc(dbg, spec_die, DW_DLA_DIE);
+}
+
+static void
+print_inlines(struct CU *cu, struct Func *f, Dwarf_Unsigned call_file,
+ Dwarf_Unsigned call_line)
+{
+ char demangled[1024];
+ char *file;
+
+ if (call_file > 0 && (Dwarf_Signed) call_file <= cu->nsrcfiles)
+ file = cu->srcfiles[call_file - 1];
+ else
+ file = unknown;
+
+ if (pretty_print)
+ printf(" (inlined by) ");
+
+ if (func) {
+ if (demangle && !elftc_demangle(f->name, demangled,
+ sizeof(demangled), 0)) {
+ if (pretty_print)
+ printf("%s at ", demangled);
+ else
+ printf("%s\n", demangled);
+ } else {
+ if (pretty_print)
+ printf("%s at ", f->name);
+ else
+ printf("%s\n", f->name);
+ }
+ }
+ (void) printf("%s:%ju\n", base ? basename(file) : file, call_line);
+
+ if (f->inlined_caller != NULL)
+ print_inlines(cu, f->inlined_caller, f->call_file,
+ f->call_line);
}
static void
-translate(Dwarf_Debug dbg, const char* addrstr)
+translate(Dwarf_Debug dbg, Elf *e, const char* addrstr)
{
Dwarf_Die die, ret_die;
Dwarf_Line *lbuf;
@@ -219,18 +385,20 @@ translate(Dwarf_Debug dbg, const char* a
Dwarf_Unsigned lopc, hipc, addr, lineno, plineno;
Dwarf_Signed lcount;
Dwarf_Addr lineaddr, plineaddr;
- char *funcname;
+ Dwarf_Off off;
+ struct CU *cu;
+ struct Func *f;
+ const char *funcname;
char *file, *file0, *pfile;
char demangled[1024];
- int i, ret;
+ int ec, i, ret;
addr = strtoull(addrstr, NULL, 16);
addr += section_base;
lineno = 0;
file = unknown;
+ cu = NULL;
die = NULL;
- lbuf = NULL;
- lcount = 0;
while ((ret = dwarf_next_cu_header(dbg, NULL, NULL, NULL, NULL, NULL,
&de)) == DW_DLV_OK) {
@@ -253,59 +421,46 @@ translate(Dwarf_Debug dbg, const char* a
warnx("could not find DW_TAG_compile_unit die");
goto next_cu;
}
- if (!dwarf_attrval_unsigned(die, DW_AT_low_pc, &lopc, &de) &&
- !dwarf_attrval_unsigned(die, DW_AT_high_pc, &hipc, &de)) {
+ if (dwarf_attrval_unsigned(die, DW_AT_low_pc, &lopc, &de) ==
+ DW_DLV_OK) {
+ if (dwarf_attrval_unsigned(die, DW_AT_high_pc, &hipc,
+ &de) == DW_DLV_OK) {
+ /*
+ * Check if the address falls into the PC
+ * range of this CU.
+ */
+ if (handle_high_pc(die, lopc, &hipc) !=
+ DW_DLV_OK)
+ goto out;
+ } else {
+ /* Assume ~0ULL if DW_AT_high_pc not present */
+ hipc = ~0ULL;
+ }
+
/*
- * Check if the address falls into the PC range of
- * this CU.
+ * Record the CU in the hash table for faster lookup
+ * later.
*/
- if (handle_high_pc(die, lopc, &hipc) != DW_DLV_OK)
- goto next_cu;
- if (addr < lopc || addr >= hipc)
- goto next_cu;
- }
-
- switch (dwarf_srclines(die, &lbuf, &lcount, &de)) {
- case DW_DLV_OK:
- break;
- case DW_DLV_NO_ENTRY:
- /* If a CU lacks debug info, just skip it. */
- goto next_cu;
- default:
- warnx("dwarf_srclines: %s", dwarf_errmsg(de));
- goto out;
- }
-
- plineaddr = ~0ULL;
- plineno = 0;
- pfile = unknown;
- for (i = 0; i < lcount; i++) {
- if (dwarf_lineaddr(lbuf[i], &lineaddr, &de)) {
- warnx("dwarf_lineaddr: %s",
- dwarf_errmsg(de));
- goto out;
- }
- if (dwarf_lineno(lbuf[i], &lineno, &de)) {
- warnx("dwarf_lineno: %s",
+ if (dwarf_dieoffset(die, &off, &de) != DW_DLV_OK) {
+ warnx("dwarf_dieoffset failed: %s",
dwarf_errmsg(de));
goto out;
}
- if (dwarf_linesrc(lbuf[i], &file0, &de)) {
- warnx("dwarf_linesrc: %s",
- dwarf_errmsg(de));
- } else
- file = file0;
- if (addr == lineaddr)
- goto out;
- else if (addr < lineaddr && addr > plineaddr) {
- lineno = plineno;
- file = pfile;
- goto out;
+ HASH_FIND(hh, culist, &off, sizeof(off), cu);
+ if (cu == NULL) {
+ if ((cu = calloc(1, sizeof(*cu))) == NULL)
+ err(EXIT_FAILURE, "calloc");
+ cu->off = off;
+ cu->lopc = lopc;
+ cu->hipc = hipc;
+ STAILQ_INIT(&cu->funclist);
+ HASH_ADD(hh, culist, off, sizeof(off), cu);
}
- plineaddr = lineaddr;
- plineno = lineno;
- pfile = file;
+
+ if (addr >= lopc && addr < hipc)
+ break;
}
+
next_cu:
if (die != NULL) {
dwarf_dealloc(dbg, die, DW_DLA_DIE);
@@ -313,27 +468,107 @@ translate(Dwarf_Debug dbg, const char* a
}
}
+ if (ret != DW_DLV_OK || die == NULL)
+ goto out;
+
+ switch (dwarf_srclines(die, &lbuf, &lcount, &de)) {
+ case DW_DLV_OK:
+ break;
+ case DW_DLV_NO_ENTRY:
+ /* If a CU lacks debug info, just skip it. */
+ goto out;
+ default:
+ warnx("dwarf_srclines: %s", dwarf_errmsg(de));
+ goto out;
+ }
+
+ plineaddr = ~0ULL;
+ plineno = 0;
+ pfile = unknown;
+ for (i = 0; i < lcount; i++) {
+ if (dwarf_lineaddr(lbuf[i], &lineaddr, &de)) {
+ warnx("dwarf_lineaddr: %s", dwarf_errmsg(de));
+ goto out;
+ }
+ if (dwarf_lineno(lbuf[i], &lineno, &de)) {
+ warnx("dwarf_lineno: %s", dwarf_errmsg(de));
+ goto out;
+ }
+ if (dwarf_linesrc(lbuf[i], &file0, &de)) {
+ warnx("dwarf_linesrc: %s", dwarf_errmsg(de));
+ } else
+ file = file0;
+ if (addr == lineaddr)
+ goto out;
+ else if (addr < lineaddr && addr > plineaddr) {
+ lineno = plineno;
+ file = pfile;
+ goto out;
+ }
+ plineaddr = lineaddr;
+ plineno = lineno;
+ pfile = file;
+ }
+
out:
+ f = NULL;
funcname = NULL;
- if (ret == DW_DLV_OK && func) {
- search_func(dbg, die, addr, &funcname);
- die = NULL;
+ if (ret == DW_DLV_OK && (func || inlines) && cu != NULL) {
+ if (cu->srcfiles == NULL)
+ if (dwarf_srcfiles(die, &cu->srcfiles, &cu->nsrcfiles,
+ &de))
+ warnx("dwarf_srcfiles: %s", dwarf_errmsg(de));
+ if (STAILQ_EMPTY(&cu->funclist)) {
+ collect_func(dbg, die, NULL, cu);
+ die = NULL;
+ }
+ f = search_func(cu, addr);
+ if (f != NULL)
+ funcname = f->name;
+ }
+
+ if (print_addr) {
+ if ((ec = gelf_getclass(e)) == ELFCLASSNONE) {
+ warnx("gelf_getclass failed: %s", elf_errmsg(-1));
+ ec = ELFCLASS64;
+ }
+ if (ec == ELFCLASS32) {
+ if (pretty_print)
+ printf("0x%08jx: ", (uintmax_t) addr);
+ else
+ printf("0x%08jx\n", (uintmax_t) addr);
+ } else {
+ if (pretty_print)
+ printf("0x%016jx: ", (uintmax_t) addr);
+ else
+ printf("0x%016jx\n", (uintmax_t) addr);
+ }
}
if (func) {
if (funcname == NULL)
- if ((funcname = strdup(unknown)) == NULL)
- err(EXIT_FAILURE, "strdup");
- if (demangle &&
- !elftc_demangle(funcname, demangled, sizeof(demangled), 0))
- printf("%s\n", demangled);
- else
- printf("%s\n", funcname);
- free(funcname);
+ funcname = unknown;
+ if (demangle && !elftc_demangle(funcname, demangled,
+ sizeof(demangled), 0)) {
+ if (pretty_print)
+ printf("%s at ", demangled);
+ else
+ printf("%s\n", demangled);
+ } else {
+ if (pretty_print)
+ printf("%s at ", funcname);
+ else
+ printf("%s\n", funcname);
+ }
}
(void) printf("%s:%ju\n", base ? basename(file) : file, lineno);
+ if (ret == DW_DLV_OK && inlines && cu != NULL &&
+ cu->srcfiles != NULL && f != NULL && f->inlined_caller != NULL)
+ print_inlines(cu, f->inlined_caller, f->call_file,
+ f->call_line);
+
if (die != NULL)
dwarf_dealloc(dbg, die, DW_DLA_DIE);
@@ -421,9 +656,12 @@ main(int argc, char **argv)
exe = NULL;
section = NULL;
- while ((opt = getopt_long(argc, argv, "b:Ce:fj:sHV", longopts, NULL)) !=
- -1) {
+ while ((opt = getopt_long(argc, argv, "ab:Ce:fij:psHV", longopts,
+ NULL)) != -1) {
switch (opt) {
+ case 'a':
+ print_addr = 1;
+ break;
case 'b':
/* ignored */
break;
@@ -436,9 +674,15 @@ main(int argc, char **argv)
case 'f':
func = 1;
break;
+ case 'i':
+ inlines = 1;
+ break;
case 'j':
section = optarg;
break;
+ case 'p':
+ pretty_print = 1;
+ break;
case 's':
base = 1;
break;
@@ -473,10 +717,10 @@ main(int argc, char **argv)
if (argc > 0)
for (i = 0; i < argc; i++)
- translate(dbg, argv[i]);
+ translate(dbg, e, argv[i]);
else
while (fgets(line, sizeof(line), stdin) != NULL) {
- translate(dbg, line);
+ translate(dbg, e, line);
fflush(stdout);
}
Modified: projects/sendfile/contrib/elftoolchain/common/elfdefinitions.h
==============================================================================
--- projects/sendfile/contrib/elftoolchain/common/elfdefinitions.h Wed Dec 16 21:32:21 2015 (r292374)
+++ projects/sendfile/contrib/elftoolchain/common/elfdefinitions.h Wed Dec 16 21:33:57 2015 (r292375)
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: elfdefinitions.h 3247 2015-09-22 16:57:51Z emaste $
+ * $Id: elfdefinitions.h 3253 2015-10-10 18:31:33Z kaiwang27 $
*/
/*
Modified: projects/sendfile/contrib/elftoolchain/elfcopy/binary.c
==============================================================================
--- projects/sendfile/contrib/elftoolchain/elfcopy/binary.c Wed Dec 16 21:32:21 2015 (r292374)
+++ projects/sendfile/contrib/elftoolchain/elfcopy/binary.c Wed Dec 16 21:33:57 2015 (r292375)
@@ -35,17 +35,7 @@
#include "elfcopy.h"
-ELFTC_VCSID("$Id: binary.c 3174 2015-03-27 17:13:41Z emaste $");
-
-static int
-basename_length(const char *filename)
-{
- char *p;
-
- if ((p = strchr(filename, '.')) != NULL)
- return (p - filename);
- return (strlen(filename));
-}
+ELFTC_VCSID("$Id: binary.c 3270 2015-12-11 18:48:56Z emaste $");
/*
* Convert ELF object to `binary'. Sections with SHF_ALLOC flag set
@@ -150,6 +140,7 @@ create_elf_from_binary(struct elfcopy *e
GElf_Shdr sh;
void *content;
uint64_t off, data_start, data_end, data_size;
+ char *sym_basename, *p;
/* Reset internal section list. */
if (!TAILQ_EMPTY(&ecp->v_sec))
@@ -220,9 +211,13 @@ create_elf_from_binary(struct elfcopy *e
/* Count in .symtab and .strtab section headers. */
shtab->sz += gelf_fsize(ecp->eout, ELF_T_SHDR, 2, EV_CURRENT);
*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
More information about the svn-src-projects
mailing list