svn commit: r274349 - head/share/man/man7

2014-11-10 Thread Ed Maste
Author: emaste Date: Mon Nov 10 18:20:46 2014 New Revision: 274349 URL: https://svnweb.freebsd.org/changeset/base/274349 Log: Add /usr/lib/debug directory to hier(7) The canonical standalone debug directory established by the GNU toolchain is /usr/lib/debug, and we use it when

Re: svn commit: r273582 - in head/sys/amd64: amd64 include

2014-11-10 Thread Ed Maste
On 24 October 2014 05:48, Roger Pau Monné roy...@freebsd.org wrote: Author: royger Date: Fri Oct 24 09:48:58 2014 New Revision: 273582 URL: https://svnweb.freebsd.org/changeset/base/273582 Log: amd64: make uiomove_fromphys functional for pages not mapped by the DMAP UEFI boot fails after

svn commit: r274382 - head/sys/amd64/include

2014-11-11 Thread Ed Maste
Author: emaste Date: Tue Nov 11 14:59:46 2014 New Revision: 274382 URL: https://svnweb.freebsd.org/changeset/base/274382 Log: Add workaround for vt efifb's early use of PHYS_TO_DMAP In vt_efifb_init the framebuffer's physaddr is passed to PHYS_TO_DMAP before the DMAP is setup. The result

svn commit: r274527 - head/sbin/reboot

2014-11-14 Thread Ed Maste
Author: emaste Date: Fri Nov 14 20:12:33 2014 New Revision: 274527 URL: https://svnweb.freebsd.org/changeset/base/274527 Log: Reference uefi(8) from i386 boot(8) Suggested by trasz. Differential Revision: https://reviews.freebsd.org/D1162 Modified: head/sbin/reboot/boot_i386.8

svn commit: r274531 - in stable/10: lib/libc/gen libexec/rtld-elf

2014-11-14 Thread Ed Maste
Author: emaste Date: Fri Nov 14 21:52:31 2014 New Revision: 274531 URL: https://svnweb.freebsd.org/changeset/base/274531 Log: Always return pathname in dl_iterate_phdr's dlpi_name, as Linux does Linux LD_ITERATE_PHDR(3): The dlpi_name field is a null-terminated string giving the

svn commit: r274749 - head/share/man/man4

2014-11-20 Thread Ed Maste
Author: emaste Date: Thu Nov 20 14:18:07 2014 New Revision: 274749 URL: https://svnweb.freebsd.org/changeset/base/274749 Log: Spell out Windows - no need to censor it in a man page Modified: head/share/man/man4/splash.4 Modified: head/share/man/man4/splash.4

svn commit: r274757 - stable/10/usr.bin/grep/regex

2014-11-20 Thread Ed Maste
Author: emaste Date: Thu Nov 20 19:35:29 2014 New Revision: 274757 URL: https://svnweb.freebsd.org/changeset/base/274757 Log: bsdgrep: Work-around for segmentation fault. Fix by David Carlier. MFC of r272127 Obtained from:HardenedBSD PR: 167921 Modified:

svn commit: r274766 - head/sys/dev/hwpmc

2014-11-20 Thread Ed Maste
Author: emaste Date: Thu Nov 20 23:16:19 2014 New Revision: 274766 URL: https://svnweb.freebsd.org/changeset/base/274766 Log: Clamp too-large hwpmc callchaindepth to the maximum If the depth requested by the user is too large, it's better to provide the maximum than the smaller default.

svn commit: r274772 - in head: lib/libc/gen lib/libc/include lib/libc/sys lib/libkiconv lib/libmd lib/libthr/thread lib/msun/src libexec/rtld-elf sys/amd64/include sys/arm/include sys/i386/include ...

2014-11-20 Thread Ed Maste
Author: emaste Date: Fri Nov 21 02:05:48 2014 New Revision: 274772 URL: https://svnweb.freebsd.org/changeset/base/274772 Log: Use canonical __PIC__ flag It is automatically set when -fPIC is passed to the compiler. Reviewed by: dim, kib Sponsored by: The FreeBSD Foundation

svn commit: r275004 - in head: lib/libc/gen lib/libc/include lib/libc/sys lib/libkiconv lib/libmd lib/libthr/thread lib/msun/src libexec/rtld-elf sys/amd64/include sys/arm/include sys/i386/include ...

2014-11-24 Thread Ed Maste
Author: emaste Date: Tue Nov 25 03:50:31 2014 New Revision: 275004 URL: https://svnweb.freebsd.org/changeset/base/275004 Log: Revert r274772: it is not valid on MIPS Reported by: sbruno Modified: head/lib/libc/gen/errlst.c head/lib/libc/gen/isnan.c head/lib/libc/gen/tls.c

svn commit: r275060 - head/lib/libc/net

2014-11-25 Thread Ed Maste
Author: emaste Date: Tue Nov 25 18:39:37 2014 New Revision: 275060 URL: https://svnweb.freebsd.org/changeset/base/275060 Log: Fix b64_pton output buffer overrun test for exact-sized buffer b64_pton would sometimes erroneously fail to decode a base64 string into a precisely sized buffer.

svn commit: r275072 - in vendor/lldb/dist: include/lldb include/lldb/API include/lldb/Breakpoint include/lldb/Core include/lldb/DataFormatters include/lldb/Expression include/lldb/Host include/lldb...

2014-11-25 Thread Ed Maste
Author: emaste Date: Tue Nov 25 21:00:58 2014 New Revision: 275072 URL: https://svnweb.freebsd.org/changeset/base/275072 Log: Import LLDB as of upstream SVN r216948 (git 50f7fe44) This corresponds with the branchpoint for the 3.5 release. A number of files not required for the FreeBSD

svn commit: r275074 - vendor/lldb/lldb-r216948

2014-11-25 Thread Ed Maste
Author: emaste Date: Tue Nov 25 21:03:04 2014 New Revision: 275074 URL: https://svnweb.freebsd.org/changeset/base/275074 Log: Tag LLDB r216948 Added: vendor/lldb/lldb-r216948/ - copied from r275073, vendor/lldb/dist/ ___

svn commit: r275140 - head/sys/sys

2014-11-26 Thread Ed Maste
Author: emaste Date: Wed Nov 26 20:56:08 2014 New Revision: 275140 URL: https://svnweb.freebsd.org/changeset/base/275140 Log: Increase default and maximum callchain depths Bump the default from 16 to 32, to accommodate kernel flamegraphs. Bump the maximum from 32 to 128, to accommodate

svn commit: r275163 - head/lib/libc/net

2014-11-26 Thread Ed Maste
Author: emaste Date: Thu Nov 27 02:15:35 2014 New Revision: 275163 URL: https://svnweb.freebsd.org/changeset/base/275163 Log: ANSIfy b64_pton Modified: head/lib/libc/net/base64.c Modified: head/lib/libc/net/base64.c

svn commit: r275192 - in head/contrib/elftoolchain: addr2line cxxfilt elfcopy libelftc nm size strings

2014-11-27 Thread Ed Maste
Author: emaste Date: Thu Nov 27 20:12:13 2014 New Revision: 275192 URL: https://svnweb.freebsd.org/changeset/base/275192 Log: Copy elftoolchain binutils replacements from vendor branch Sponsored by: The FreeBSD Foundation Added: head/contrib/elftoolchain/addr2line/ - copied from

Re: svn commit: r275192 - in head/contrib/elftoolchain: addr2line cxxfilt elfcopy libelftc nm size strings

2014-11-27 Thread Ed Maste
On 27 November 2014 at 15:50, Mark Linimon lini...@lonesome.com wrote: On Thu, Nov 27, 2014 at 08:12:13PM +, Ed Maste wrote: Copy elftoolchain binutils replacements from vendor branch sweet! It's not yet ready for a broad call for testing, but a WIP patch to use the elftoolchain

svn commit: r275369 - in head/contrib/elftoolchain: elfcopy libelftc nm strings

2014-12-01 Thread Ed Maste
Author: emaste Date: Mon Dec 1 16:07:31 2014 New Revision: 275369 URL: https://svnweb.freebsd.org/changeset/base/275369 Log: Fix elftoolchain tools in-tree build * make variables static * add header for uint*_t typedefs Modified: head/contrib/elftoolchain/elfcopy/ascii.c

svn commit: r275370 - head/contrib/elftoolchain/size

2014-12-01 Thread Ed Maste
Author: emaste Date: Mon Dec 1 16:10:03 2014 New Revision: 275370 URL: https://svnweb.freebsd.org/changeset/base/275370 Log: Temporarily disable non-FreeBSD NT_ note types Modified: head/contrib/elftoolchain/size/size.c Modified: head/contrib/elftoolchain/size/size.c

svn commit: r275371 - head/contrib/elftoolchain/elfcopy

2014-12-01 Thread Ed Maste
Author: emaste Date: Mon Dec 1 16:10:44 2014 New Revision: 275371 URL: https://svnweb.freebsd.org/changeset/base/275371 Log: Track libarchive API change Modified: head/contrib/elftoolchain/elfcopy/archive.c Modified: head/contrib/elftoolchain/elfcopy/archive.c

svn commit: r275373 - in head: . gnu/usr.bin/binutils lib lib/libelftc share/mk tools/build/options usr.bin usr.bin/addr2line usr.bin/elfcopy usr.bin/nm usr.bin/size usr.bin/strings

2014-12-01 Thread Ed Maste
Author: emaste Date: Mon Dec 1 17:49:42 2014 New Revision: 275373 URL: https://svnweb.freebsd.org/changeset/base/275373 Log: Build infrastructure for elftoolchain tools Set WITH_ELFTOOLCHAIN_TOOLS in src.conf to use the elftoolchain version of the following tools: * addr2line *

svn commit: r275388 - head/tools/build/mk

2014-12-01 Thread Ed Maste
Author: emaste Date: Tue Dec 2 02:11:09 2014 New Revision: 275388 URL: https://svnweb.freebsd.org/changeset/base/275388 Log: Add elfcopy and man page to OptionalObsoleteFiles Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFiles.inc

svn commit: r275389 - head/share/man/man5

2014-12-01 Thread Ed Maste
Author: emaste Date: Tue Dec 2 02:16:30 2014 New Revision: 275389 URL: https://svnweb.freebsd.org/changeset/base/275389 Log: Regenerate src.conf(5) after r275373 Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

svn commit: r275430 - head/contrib/elftoolchain/libelf

2014-12-02 Thread Ed Maste
Author: emaste Date: Tue Dec 2 22:35:43 2014 New Revision: 275430 URL: https://svnweb.freebsd.org/changeset/base/275430 Log: libelf: Fix cross-endian ELF note file / memory conversion The namesz and descsz variables need to be used in native endianness. The sizes are in native order

svn commit: r275457 - head/sys/boot/mips/beri/loader

2014-12-03 Thread Ed Maste
Author: emaste Date: Wed Dec 3 14:04:57 2014 New Revision: 275457 URL: https://svnweb.freebsd.org/changeset/base/275457 Log: Increase BERI loader section alignment to 16 The .text, .bss, and .data sections claimed 16-byte alignment, but were only aligned to 8 by the linker script.

svn commit: r275484 - stable/9/sys/conf

2014-12-04 Thread Ed Maste
Author: emaste Date: Thu Dec 4 22:15:22 2014 New Revision: 275484 URL: https://svnweb.freebsd.org/changeset/base/275484 Log: Add missing VT_ kernel config knobs MFC of r268059 Modified: stable/9/sys/conf/options Directory Properties: stable/9/sys/ (props changed)

svn commit: r275804 - head/gnu/usr.bin/cc/cc1plus

2014-12-15 Thread Ed Maste
Author: emaste Date: Mon Dec 15 14:25:42 2014 New Revision: 275804 URL: https://svnweb.freebsd.org/changeset/base/275804 Log: Remove empty generated file upon gperf failure Prior to this change the build could fail as follows, if gperf is not available (or fails): - make(1) stops

Re: svn commit: r275804 - head/gnu/usr.bin/cc/cc1plus

2014-12-15 Thread Ed Maste
On 15 December 2014 at 09:25, Ed Maste ema...@freebsd.org wrote: Author: emaste Date: Mon Dec 15 14:25:42 2014 New Revision: 275804 URL: https://svnweb.freebsd.org/changeset/base/275804 Log: Remove empty generated file upon gperf failure ... - ${.ALLSRC} ${.TARGET

svn commit: r275810 - head/contrib/elftoolchain/elfcopy

2014-12-15 Thread Ed Maste
Author: emaste Date: Mon Dec 15 18:18:57 2014 New Revision: 275810 URL: https://svnweb.freebsd.org/changeset/base/275810 Log: Correct elftoolchain strip(1) memory size calculation Calculate the segment's memory size (p_memsz) using the virtual addresses, not the file offsets. Otherwise

Re: svn commit: r275804 - head/gnu/usr.bin/cc/cc1plus

2014-12-15 Thread Ed Maste
On 15 December 2014 at 16:04, Craig Rodrigues rodr...@freebsd.org wrote: On Mon, Dec 15, 2014 at 6:25 AM, Ed Maste ema...@freebsd.org wrote: cfns.h: cfns.gperf gperf -o -C -E -k '1-6,$$' -j1 -D -N 'libc_name_p' -L ANSI-C \ - ${.ALLSRC} ${.TARGET} + ${.ALLSRC

svn commit: r275815 - head/sys/dev/ofw

2014-12-15 Thread Ed Maste
Author: emaste Date: Mon Dec 15 22:20:14 2014 New Revision: 275815 URL: https://svnweb.freebsd.org/changeset/base/275815 Log: Use standard BSD license disclaimer text Approved by: benno, nwhitehorn Modified: head/sys/dev/ofw/ofw_cpu.c Modified: head/sys/dev/ofw/ofw_cpu.c

Re: svn commit: r275804 - head/gnu/usr.bin/cc/cc1plus

2014-12-15 Thread Ed Maste
Also, not removing temporary files upon failure makes things easier to debug. +100 In general I agree completely. In this case though such a change would just create an empty temporary file upon failure, which provides no additional help in tracking down the failure over the gperf: not

svn commit: r275831 - head/contrib/elftoolchain/readelf

2014-12-16 Thread Ed Maste
Author: emaste Date: Tue Dec 16 16:23:54 2014 New Revision: 275831 URL: https://svnweb.freebsd.org/changeset/base/275831 Log: Copy elftoolchain readelf from vendor branch Added: head/contrib/elftoolchain/readelf/ - copied from r275830, vendor/elftoolchain/dist/readelf/

svn commit: r275862 - head/contrib/elftoolchain/elfcopy

2014-12-17 Thread Ed Maste
Author: emaste Date: Wed Dec 17 14:46:21 2014 New Revision: 275862 URL: https://svnweb.freebsd.org/changeset/base/275862 Log: Do not strip all when stripping an explicit symbol When requested to strip specific symbols (-N flag) the default should be to strip nothing (other than the

svn commit: r275916 - head/contrib/elftoolchain/elfcopy

2014-12-18 Thread Ed Maste
Author: emaste Date: Thu Dec 18 19:09:59 2014 New Revision: 275916 URL: https://svnweb.freebsd.org/changeset/base/275916 Log: Include section name in strip warning message Modified: head/contrib/elftoolchain/elfcopy/sections.c Modified: head/contrib/elftoolchain/elfcopy/sections.c

svn commit: r276061 - head/contrib/elftoolchain/elfcopy

2014-12-22 Thread Ed Maste
Author: emaste Date: Mon Dec 22 16:31:09 2014 New Revision: 276061 URL: https://svnweb.freebsd.org/changeset/base/276061 Log: Set up default shstrtab entries at shstrtab initialization Instead of waiting until the addition of the first non-default entry. This fixes a segfault when

svn commit: r276062 - in head/contrib/elftoolchain: common readelf

2014-12-22 Thread Ed Maste
Author: emaste Date: Mon Dec 22 16:34:59 2014 New Revision: 276062 URL: https://svnweb.freebsd.org/changeset/base/276062 Log: Add AArch64 machine time and relocations for readelf Reviewed by: andrew Sponsored by: The FreeBSD Foundation Differential Revision:

svn commit: r276077 - in vendor/elftoolchain/dist: . ar brandelf common elfcopy libdwarf libelf libelftc mk nm readelf strings test/ar test/ar/plugin test/elfcopy test/elfcopy/plugin test/elfcopy/t...

2014-12-22 Thread Ed Maste
Author: emaste Date: Mon Dec 22 20:32:23 2014 New Revision: 276077 URL: https://svnweb.freebsd.org/changeset/base/276077 Log: Import elftoolchain rev 3130 From svn.code.sf.net/p/elftoolchain/code/trunk Added: vendor/elftoolchain/dist/ar/os.Linux.mk (contents, props changed)

svn commit: r276078 - vendor/elftoolchain/elftoolchain-r3130

2014-12-22 Thread Ed Maste
Author: emaste Date: Mon Dec 22 20:33:40 2014 New Revision: 276078 URL: https://svnweb.freebsd.org/changeset/base/276078 Log: Tag elftoolchain r3130 Added: vendor/elftoolchain/elftoolchain-r3130/ - copied from r276077, vendor/elftoolchain/dist/

svn commit: r276146 - in head/sys/boot/amd64: boot1.efi efi

2014-12-23 Thread Ed Maste
Author: emaste Date: Tue Dec 23 15:58:45 2014 New Revision: 276146 URL: https://svnweb.freebsd.org/changeset/base/276146 Log: Use explicit --output-target to set EFI file format According to objcopy(1) --target is for use where the input and output formats are the same (no translation).

svn commit: r276147 - head/sys/boot/amd64/boot1.efi

2014-12-23 Thread Ed Maste
Author: emaste Date: Tue Dec 23 16:00:25 2014 New Revision: 276147 URL: https://svnweb.freebsd.org/changeset/base/276147 Log: Update comment: only one file in the FAT file system EFI boot image Sponsored by: The FreeBSD Foundation Modified: head/sys/boot/amd64/boot1.efi/generate-fat.sh

svn commit: r276189 - head/release/arm

2014-12-24 Thread Ed Maste
Author: emaste Date: Wed Dec 24 18:51:25 2014 New Revision: 276189 URL: https://svnweb.freebsd.org/changeset/base/276189 Log: Build gperf before gcc The ARM image builds build the in-tree gcc in order to build u-boot and gperf is needed to build gcc, but is no longer installed on archs

svn commit: r276282 - head/sys/dev/vt

2014-12-26 Thread Ed Maste
Author: emaste Date: Sat Dec 27 04:21:24 2014 New Revision: 276282 URL: https://svnweb.freebsd.org/changeset/base/276282 Log: Support ALT_BREAK_TO_DEBUGGER in vt(4) Submitted by: Andre Albsmeier on -hackers Modified: head/sys/dev/vt/vt.h head/sys/dev/vt/vt_core.c Modified:

svn commit: r276369 - head

2014-12-29 Thread Ed Maste
Author: emaste Date: Mon Dec 29 19:02:00 2014 New Revision: 276369 URL: https://svnweb.freebsd.org/changeset/base/276369 Log: Merge elftoolchain directory shuffling from elftoolchain update branch Modified: Directory Properties: head/ (props changed)

svn commit: r276371 - in head: contrib/elftoolchain/common contrib/elftoolchain/elfcopy contrib/elftoolchain/libdwarf contrib/elftoolchain/libelf contrib/elftoolchain/libelftc contrib/elftoolchain/...

2014-12-29 Thread Ed Maste
Author: emaste Date: Mon Dec 29 19:16:40 2014 New Revision: 276371 URL: https://svnweb.freebsd.org/changeset/base/276371 Log: Update elftoolchain to upstream rev 3130 This includes a number of libdwarf improvements (particularly DWARF4 related) and updates to elftoolchain tools such as

Re: svn commit: r276369 - head

2014-12-29 Thread Ed Maste
On 29 December 2014 at 14:07, Garrett Cooper yaneurab...@gmail.com wrote: On Dec 29, 2014, at 11:02, Ed Maste ema...@freebsd.org wrote: Author: emaste Date: Mon Dec 29 19:02:00 2014 New Revision: 276369 URL: https://svnweb.freebsd.org/changeset/base/276369 Log: Merge elftoolchain

svn commit: r276372 - head/contrib/elftoolchain/libelf

2014-12-29 Thread Ed Maste
Author: emaste Date: Mon Dec 29 19:27:10 2014 New Revision: 276372 URL: https://svnweb.freebsd.org/changeset/base/276372 Log: Restore r276252 mdoc fix It was accidentally reverted in the elftoolchain update (r276371). Sponsored by: The FreeBSD Foundation Modified:

svn commit: r276373 - head/contrib/elftoolchain/readelf

2014-12-29 Thread Ed Maste
Author: emaste Date: Mon Dec 29 19:38:12 2014 New Revision: 276373 URL: https://svnweb.freebsd.org/changeset/base/276373 Log: Rename DT_FEATURE_1 to DT_FEATURE Track r270303: This provides a minor cleanup in elfdump; there are otherwise no consumers in the tree. Old SUN

svn commit: r276374 - head/contrib/elftoolchain/libelf

2014-12-29 Thread Ed Maste
Author: emaste Date: Mon Dec 29 20:23:42 2014 New Revision: 276374 URL: https://svnweb.freebsd.org/changeset/base/276374 Log: libelf: Do not read past end of buffer Previously a corrupt ELF file could read beyond the end of e_rawfile. Upstream elftoolchain ticket 462. Found via the

svn commit: r276387 - in vendor/elftoolchain/dist: elfcopy libdwarf

2014-12-29 Thread Ed Maste
Author: emaste Date: Tue Dec 30 01:27:18 2014 New Revision: 276387 URL: https://svnweb.freebsd.org/changeset/base/276387 Log: Import elftoolchain rev 3136 From svn.code.sf.net/p/elftoolchain/code/trunk Modified: vendor/elftoolchain/dist/elfcopy/elfcopy.h

svn commit: r276388 - vendor/elftoolchain/elftoolchain-r3136

2014-12-29 Thread Ed Maste
Author: emaste Date: Tue Dec 30 01:28:31 2014 New Revision: 276388 URL: https://svnweb.freebsd.org/changeset/base/276388 Log: Tag elftoolchain r3136 Added: vendor/elftoolchain/elftoolchain-r3136/ - copied from r276387, vendor/elftoolchain/dist/

svn commit: r276398 - in head/contrib/elftoolchain: elfcopy libdwarf

2014-12-29 Thread Ed Maste
Author: emaste Date: Tue Dec 30 03:25:42 2014 New Revision: 276398 URL: https://svnweb.freebsd.org/changeset/base/276398 Log: Update elftoolchain to upstream rev 3136 This fixes two strip(1) issues found during ports exp-run and adds a string hash implementation which significantly

svn commit: r276414 - head

2014-12-30 Thread Ed Maste
Author: emaste Date: Tue Dec 30 18:42:53 2014 New Revision: 276414 URL: https://svnweb.freebsd.org/changeset/base/276414 Log: Use BINUTILS_BOOTSTRAP knob for binutils only Previously it also disabled building elftoolchain bootstrap tools such as strip(1). Differential Revision:

svn commit: r276427 - head/contrib/elftoolchain/libelf

2014-12-30 Thread Ed Maste
Author: emaste Date: Tue Dec 30 22:04:24 2014 New Revision: 276427 URL: https://svnweb.freebsd.org/changeset/base/276427 Log: Check for multiplication integer overflow in CHECK_EHDR The initial fix in r276374 is valid only for 64-bit objects. Revert it and return an error in CHECK_EHDR

svn commit: r276443 - head/contrib/elftoolchain/libelf

2014-12-30 Thread Ed Maste
Author: emaste Date: Wed Dec 31 01:48:23 2014 New Revision: 276443 URL: https://svnweb.freebsd.org/changeset/base/276443 Log: libelf: Rearrange size test to prevent integer overflow Sponsored by: The FreeBSD Foundation Modified: head/contrib/elftoolchain/libelf/elf_scn.c Modified:

svn commit: r276477 - head/contrib/elftoolchain/readelf

2014-12-31 Thread Ed Maste
Author: emaste Date: Wed Dec 31 19:21:53 2014 New Revision: 276477 URL: https://svnweb.freebsd.org/changeset/base/276477 Log: readelf: Add stdint.h for C99 fixed size types Upstream elftoolchain brings in stdint.h via an ELF header that we do not use in FreeBSD. Sponsored by: The

svn commit: r276539 - in head/sys: arm/include mips/include sys

2015-01-02 Thread Ed Maste
Author: emaste Date: Fri Jan 2 15:36:29 2015 New Revision: 276539 URL: https://svnweb.freebsd.org/changeset/base/276539 Log: Update ELF headers to include additional defines The elftoolchain project includes these additional defines for various userland programs. Given that

svn commit: r276524 - head/contrib/elftoolchain/libelf

2015-01-01 Thread Ed Maste
Author: emaste Date: Fri Jan 2 02:47:47 2015 New Revision: 276524 URL: https://svnweb.freebsd.org/changeset/base/276524 Log: libelf: Return an error instead of asserting on an invalid ar file Upstream elftoolchain ticket 467 http://sourceforge.net/p/elftoolchain/tickets/467/

svn commit: r276567 - head/contrib/elftoolchain/readelf

2015-01-02 Thread Ed Maste
Author: emaste Date: Fri Jan 2 20:49:43 2015 New Revision: 276567 URL: https://svnweb.freebsd.org/changeset/base/276567 Log: readelf: Correct rounding on note padding In general 64-bit ELF notes use 4-byte padding, not 8, despite what is claimed in various specs. Upstream

Re: svn commit: r276567 - head/contrib/elftoolchain/readelf

2015-01-02 Thread Ed Maste
On 2 January 2015 at 15:49, Ed Maste ema...@freebsd.org wrote: Author: emaste Date: Fri Jan 2 20:49:43 2015 New Revision: 276567 URL: https://svnweb.freebsd.org/changeset/base/276567 ... +#if 0 case NT_AUXV: return NT_AUXV (Auxiliary vector); Oops

svn commit: r276587 - head/usr.bin/readelf

2015-01-02 Thread Ed Maste
Author: emaste Date: Fri Jan 2 22:26:54 2015 New Revision: 276587 URL: https://svnweb.freebsd.org/changeset/base/276587 Log: Add Makefile for elftoolchain readelf(1) Sponsored by: The FreeBSD Foundation Added: head/usr.bin/readelf/ head/usr.bin/readelf/Makefile (contents, props

Re: svn commit: r276577 - in head: contrib/file contrib/file/doc contrib/file/magic contrib/file/magic/Magdir contrib/file/python contrib/file/src contrib/file/tests lib/libmagic

2015-01-02 Thread Ed Maste
On 2 January 2015 at 17:33, Craig Rodrigues rodr...@freebsd.org wrote: In future for commits like this, please set the Relnotes: flag in your commit log message, to make it easier for re@ to track updates to contrib code in the release notes. Good point. Perhaps we should add a note in the

svn commit: r277612 - head

2015-01-23 Thread Ed Maste
Author: emaste Date: Fri Jan 23 21:34:08 2015 New Revision: 277612 URL: https://svnweb.freebsd.org/changeset/base/277612 Log: Restore addr2line to cross tools Addr2line is not required for the build, and a per-arch binary is no longer required with the switch to the ELF Tool Chain.

svn commit: r278158 - stable/10/sys/sys

2015-02-03 Thread Ed Maste
Author: emaste Date: Tue Feb 3 15:35:58 2015 New Revision: 278158 URL: https://svnweb.freebsd.org/changeset/base/278158 Log: Define SHT_GNU_LIBLIST and R_MIPS_64 MFC of r260793 Modified: stable/10/sys/sys/elf_common.h Modified: stable/10/sys/sys/elf_common.h

svn commit: r278159 - head/sys/dev/drm2/i915

2015-02-03 Thread Ed Maste
Author: emaste Date: Tue Feb 3 15:41:09 2015 New Revision: 278159 URL: https://svnweb.freebsd.org/changeset/base/278159 Log: Remove duplicate intel_fbc_enabled prototype Fixed upstream in Linux commit 7ff0ebcc1e30e3216c8c62ee71f59ac830b10364 Differential Revision:

svn commit: r278157 - stable/10

2015-02-03 Thread Ed Maste
Author: emaste Date: Tue Feb 3 15:31:06 2015 New Revision: 278157 URL: https://svnweb.freebsd.org/changeset/base/278157 Log: Define SHT_GNU_LIBLIST and R_MIPS_64 MFC of r260793 Modified: Directory Properties: stable/10/ (props changed) ___

Re: svn commit: r278157 - stable/10

2015-02-03 Thread Ed Maste
On 3 February 2015 at 10:31, Ed Maste ema...@freebsd.org wrote: Author: emaste Date: Tue Feb 3 15:31:06 2015 New Revision: 278157 URL: https://svnweb.freebsd.org/changeset/base/278157 Sorry, I accidentally managed to commit only the mergeinfo here. Contents committed in r278158

Re: svn commit: r278249 - head/etc/rc.d

2015-02-05 Thread Ed Maste
On 5 February 2015 at 18:32, NGie Cooper yaneurab...@gmail.com wrote: I guess I was just propagating around the original assumption that using moused is tied to just syscons(4). You and emaste are right though -- these tools should build and install when MK_LEGACY_CONSOLE != no || MK_VT != no

svn commit: r278332 - in vendor/lldb/dist: docs include/lldb include/lldb/API include/lldb/Breakpoint include/lldb/Core include/lldb/DataFormatters include/lldb/Expression include/lldb/Host include...

2015-02-06 Thread Ed Maste
Author: emaste Date: Fri Feb 6 21:38:51 2015 New Revision: 278332 URL: https://svnweb.freebsd.org/changeset/base/278332 Log: Import LLDB as of upstream SVN r225923 (git 2b588ecd) This corresponds with the branchpoint for the 3.6 release. A number of files not required for the FreeBSD

svn commit: r278333 - vendor/lldb/lldb-r225923

2015-02-06 Thread Ed Maste
Author: emaste Date: Fri Feb 6 21:48:00 2015 New Revision: 278333 URL: https://svnweb.freebsd.org/changeset/base/278333 Log: Tag trimmed lldb r225923 Sponsored by: DARPA, AFRL Added: vendor/lldb/lldb-r225923/ - copied from r278332, vendor/lldb/dist/

Re: svn commit: r278249 - head/etc/rc.d

2015-02-05 Thread Ed Maste
On 5 February 2015 at 15:51, Garrett Cooper yaneurab...@gmail.com wrote: Unfortunately it is LEGACY_CONSOLE specific right now: I'm not sure what was considered a non-legacy console when the LEGACY_CONSOLE change went in, but the tools it controls are useful for both syscons(4) and vt(4). Note

svn commit: r278318 - head/tools/tools/makeroot

2015-02-06 Thread Ed Maste
Author: emaste Date: Fri Feb 6 15:38:11 2015 New Revision: 278318 URL: https://svnweb.freebsd.org/changeset/base/278318 Log: makeroot: Add -l option to set file system volume label Reviewed by: brooks Differential Revision:https://reviews.freebsd.org/D1782 Modified:

svn commit: r278317 - head/tools/tools/makeroot

2015-02-06 Thread Ed Maste
Author: emaste Date: Fri Feb 6 15:34:10 2015 New Revision: 278317 URL: https://svnweb.freebsd.org/changeset/base/278317 Log: Handle invocation with neither of -e / -f Reviewed by: brooks Differential Revision:https://reviews.freebsd.org/D1780 Modified:

Re: svn commit: r278249 - head/etc/rc.d

2015-02-06 Thread Ed Maste
On 6 February 2015 at 10:01, John Baldwin j...@freebsd.org wrote: Using legacy for the brand new console driver we haven't even shipped as on- by-default in a release yet certainly seems a misnomer. Perhaps you mean something like VIDCONSOLE (to borrow loader's name), VIDEO_CONSOLE, or

svn commit: r278426 - vendor/lldb/lldb-r228549

2015-02-08 Thread Ed Maste
Author: emaste Date: Mon Feb 9 01:45:06 2015 New Revision: 278426 URL: https://svnweb.freebsd.org/changeset/base/278426 Log: Tag trimmed lldb r228549 Added: vendor/lldb/lldb-r228549/ - copied from r278425, vendor/lldb/dist/ ___

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-15 Thread Ed Maste
On 15 January 2015 at 10:53, John Baldwin j...@freebsd.org wrote: On 1/15/15 10:32 AM, Hans Petter Selasky wrote: Author: hselasky Date: Thu Jan 15 15:32:30 2015 New Revision: 277213 URL: https://svnweb.freebsd.org/changeset/base/277213 Eh, I have not reviewed this at all. (I still plan to

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-20 Thread Ed Maste
On 20 January 2015 at 04:37, Hans Petter Selasky h...@selasky.org wrote: It is not very hard to update existing callout clients and you can do it too, if you need the extra bits of performance. Hi Hans Petter, The issue here is that the onus is on the one changing a KPI to support its

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-20 Thread Ed Maste
On 15 January 2015 at 13:53, John Baldwin j...@freebsd.org wrote: I think it's been a clear practice with all other changes reviewed in phabric to date that the committer only lists people in 'Reviewed by' who actually signed off on the patch, not just the list of people asked to review it.

svn commit: r277497 - head

2015-01-21 Thread Ed Maste
Author: emaste Date: Wed Jan 21 19:04:55 2015 New Revision: 277497 URL: https://svnweb.freebsd.org/changeset/base/277497 Log: Remove addr2line from cross elftoolchain tools list It is not required, and there is no reason to install it just because it came with the binutils cross tools.

Re: svn commit: r277497 - head

2015-01-21 Thread Ed Maste
On 21 January 2015 at 14:04, Ed Maste ema...@freebsd.org wrote: Author: emaste Date: Wed Jan 21 19:04:55 2015 New Revision: 277497 URL: https://svnweb.freebsd.org/changeset/base/277497 Log: Remove addr2line from cross elftoolchain tools list It is not required, and there is no reason

svn commit: r277517 - head

2015-01-21 Thread Ed Maste
Author: emaste Date: Wed Jan 21 21:49:03 2015 New Revision: 277517 URL: https://svnweb.freebsd.org/changeset/base/277517 Log: Fix bootstrap on systems with old libdwarf and WITHOUT_CDDL ELF Tool Chain tools need libelf and libdwarf. Submitted by: jmallett (earlier version) Reviewed

Re: svn commit: r277497 - head

2015-01-21 Thread Ed Maste
On 21 January 2015 at 16:49, Ian Lepore i...@freebsd.org wrote: On Wed, 2015-01-21 at 16:45 -0500, Ed Maste wrote: On 21 January 2015 at 15:20, Ian Lepore i...@freebsd.org wrote: I don't think there's a single addr2line binary I can install that will work with every object on the system

svn commit: r277249 - head/contrib/elftoolchain/libelf

2015-01-16 Thread Ed Maste
Author: emaste Date: Fri Jan 16 15:16:19 2015 New Revision: 277249 URL: https://svnweb.freebsd.org/changeset/base/277249 Log: Verify that section header offset is not past EOF MFC After:1 week Sponsored by: The FreeBSD Foundation Modified:

svn commit: r277259 - head/usr.sbin/crunch/crunchide

2015-01-16 Thread Ed Maste
Author: emaste Date: Fri Jan 16 18:59:15 2015 New Revision: 277259 URL: https://svnweb.freebsd.org/changeset/base/277259 Log: crunchide: Correct 64-bit section header offset For 64-bit binaries the Elf_Ehdr e_shoff is at offset 40, not 44. Instead of using an incorrect hardcoded offset,

svn commit: r277181 - head/contrib/elftoolchain/elfcopy

2015-01-14 Thread Ed Maste
Author: emaste Date: Wed Jan 14 14:49:58 2015 New Revision: 277181 URL: https://svnweb.freebsd.org/changeset/base/277181 Log: elfcopy: Avoid divide-by-0 on section alignment 0 According to ELF ABI, alignment 0 and 1 has the same meaning: the section has no alignment constraints. PR:

svn commit: r277557 - stable/10/usr.sbin/crunch/crunchide

2015-01-22 Thread Ed Maste
Author: emaste Date: Fri Jan 23 02:39:00 2015 New Revision: 277557 URL: https://svnweb.freebsd.org/changeset/base/277557 Log: crunchide: Correct 64-bit section header offset For 64-bit binaries the Elf_Ehdr e_shoff is at offset 40, not 44. Instead of using an incorrect hardcoded offset,

svn commit: r277558 - stable/10/lib/libelf

2015-01-22 Thread Ed Maste
Author: emaste Date: Fri Jan 23 04:07:07 2015 New Revision: 277558 URL: https://svnweb.freebsd.org/changeset/base/277558 Log: libelf: Improve ELF header validation Avoid integer overflow and reading past EOF. MFC of r276427, r276443, r277249 from contrib/elftoolchain. Modified:

svn commit: r277464 - head/sys/sys

2015-01-20 Thread Ed Maste
Author: emaste Date: Wed Jan 21 01:12:21 2015 New Revision: 277464 URL: https://svnweb.freebsd.org/changeset/base/277464 Log: Add missing R_X86_64_ constants to elf_common.h PR: 196918 MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified:

svn commit: r277462 - in head/contrib/elftoolchain: common readelf

2015-01-20 Thread Ed Maste
Author: emaste Date: Wed Jan 21 01:07:58 2015 New Revision: 277462 URL: https://svnweb.freebsd.org/changeset/base/277462 Log: redelf: Add missing R_X86_64_ relocation types PR: 196918 Reviewed by: dim Sponsored by: The FreeBSD Foundation Differential Revision:

svn commit: r277534 - head/lib/libelftc

2015-01-22 Thread Ed Maste
Author: emaste Date: Thu Jan 22 17:53:30 2015 New Revision: 277534 URL: https://svnweb.freebsd.org/changeset/base/277534 Log: Update reported elftoolchain version The last elftoolchain update is upstream rev 3136. Update our reported version and add M (Modified) suffix as our

svn commit: r278580 - head/contrib/elftoolchain/libdwarf

2015-02-11 Thread Ed Maste
Author: emaste Date: Wed Feb 11 14:59:35 2015 New Revision: 278580 URL: https://svnweb.freebsd.org/changeset/base/278580 Log: libdwarf: Add aarch64 relocation support Reviewed by: andrew, rpaulo Sponsored by: The FreeBSD Foundation Differential Revision:

svn commit: r278593 - head/contrib/elftoolchain/libdwarf

2015-02-11 Thread Ed Maste
Author: emaste Date: Wed Feb 11 19:53:44 2015 New Revision: 278593 URL: https://svnweb.freebsd.org/changeset/base/278593 Log: libdwarf: Add symbol value when processing .rela relocations Reviewed by: kib, rpaulo Sponsored by: The FreeBSD Foundation Differential Revision:

svn commit: r278611 - head/contrib/elftoolchain/libdwarf

2015-02-11 Thread Ed Maste
Author: emaste Date: Thu Feb 12 02:08:44 2015 New Revision: 278611 URL: https://svnweb.freebsd.org/changeset/base/278611 Log: libdwarf: Handle .rel relocations Some architectures use .rel relocations (for debug data), so they must be handled. This was discovered from ctfconvert on

svn commit: r278968 - stable/10/usr.bin/mkimg

2015-02-18 Thread Ed Maste
Author: emaste Date: Wed Feb 18 19:42:37 2015 New Revision: 278968 URL: https://svnweb.freebsd.org/changeset/base/278968 Log: MFC r276893: mkimg: Add MBR EFI partition type Sponsored by: The FreeBSD Foundation Modified: stable/10/usr.bin/mkimg/mbr.c Directory Properties: stable/10/

svn commit: r278899 - vendor/elftoolchain/r3163

2015-02-17 Thread Ed Maste
Author: emaste Date: Tue Feb 17 14:35:53 2015 New Revision: 278899 URL: https://svnweb.freebsd.org/changeset/base/278899 Log: Tag elftoolchain r3163 Added: vendor/elftoolchain/r3163/ - copied from r278898, vendor/elftoolchain/dist/ ___

svn commit: r278901 - vendor/elftoolchain/r3163

2015-02-17 Thread Ed Maste
Author: emaste Date: Tue Feb 17 14:37:11 2015 New Revision: 278901 URL: https://svnweb.freebsd.org/changeset/base/278901 Log: Remove incorrect tag Deleted: vendor/elftoolchain/r3163/ ___ svn-src-all@freebsd.org mailing list

svn commit: r278900 - vendor/elftoolchain/elftoolchain-r3163

2015-02-17 Thread Ed Maste
Author: emaste Date: Tue Feb 17 14:36:21 2015 New Revision: 278900 URL: https://svnweb.freebsd.org/changeset/base/278900 Log: Tag elftoolchain r3163 Added: vendor/elftoolchain/elftoolchain-r3163/ - copied from r278899, vendor/elftoolchain/dist/

svn commit: r278904 - in head: contrib/elftoolchain/addr2line contrib/elftoolchain/common contrib/elftoolchain/elfcopy contrib/elftoolchain/libdwarf contrib/elftoolchain/libelf contrib/elftoolchain...

2015-02-17 Thread Ed Maste
Author: emaste Date: Tue Feb 17 15:19:58 2015 New Revision: 278904 URL: https://svnweb.freebsd.org/changeset/base/278904 Log: Update elftoolchain to upstream revision 3163 Most of our changes have now been committed upstream, so this change is largely bookkeeping. Sponsored by: The

svn commit: r278898 - in vendor/elftoolchain/dist: addr2line ar common elfcopy elfdump libdwarf libelf nm readelf

2015-02-17 Thread Ed Maste
Author: emaste Date: Tue Feb 17 14:34:11 2015 New Revision: 278898 URL: https://svnweb.freebsd.org/changeset/base/278898 Log: Import elftoolchain rev 3163 From svn.code.sf.net/p/elftoolchain/code Modified: vendor/elftoolchain/dist/addr2line/addr2line.c

svn commit: r278909 - head/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF

2015-02-17 Thread Ed Maste
Author: emaste Date: Tue Feb 17 18:33:17 2015 New Revision: 278909 URL: https://svnweb.freebsd.org/changeset/base/278909 Log: lldb: workaround to permit cross-arch core file debugging FreeBSD core files have no section table and thus LLDB's OS and vendor detection logic does not work. If

<    4   5   6   7   8   9   10   11   12   13   >