aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Changes to the expose_password functionality:Dag-Erling Smørgrav2019-06-302-7/+24
| | | | | | | | | | | | | - Implement use_first_pass, allowing expose_password to be used by other service functions than pam_auth() without prompting a second time. - Don't prompt for a password during pam_setcred(). PR: 238041 MFC after: 3 weeks Notes: svn path=/head/; revision=349556
* Fix my name in license headerAlex Richardson2019-06-305-5/+5
| | | | | | | Reported by: trasz Notes: svn path=/head/; revision=349555
* Reduce size of rtld by 22% by pulling in less code from libcAlex Richardson2019-06-3013-23/+460
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently RTLD is linked against libc_nossp_pic which means that any libc symbol used in rtld can pull in a lot of depedencies. This was causing symbol such as __libc_interposing and all the pthread stubs to be included in RTLD even though they are not required. It turns out most of these dependencies can easily be avoided by providing overrides inside of rtld. This change is motivated by CHERI, where we have an experimental ABI that requires additional relocation processing to allow the use of function pointers inside of rtld. Instead of adding this self-relocation code to RTLD I attempted to remove most function pointers from RTLD and discovered that most of them came from the libc dependencies instead of being actually used inside rtld. A nice side-effect of this change is that rtld is now 22% smaller on amd64. text data bss dec hex filename 0x21eb6 0xce0 0xe60 145910 239f6 /home/alr48/ld-elf-x86.before.so.1 0x1a6ed 0x728 0xdd8 113645 1bbed /home/alr48/ld-elf-x86.after.so.1 The number of R_X86_64_RELATIVE relocations that need to be processed on startup has also gone down from 368 to 187 (almost 50% less). Reviewed By: kib Differential Revision: https://reviews.freebsd.org/D20663 Notes: svn path=/head/; revision=349554
* Display the approximate space needed when a minidump fails due to lackNavdeep Parhar2019-06-306-18/+24
| | | | | | | | | | | | of space. Reviewed by: kib@ MFC after: 2 weeks Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D20801 Notes: svn path=/head/; revision=349552
* Add support for Python 3 and make it the default.Marcel Moolenaar2019-06-303-23/+75
| | | | | | | Python 2.7 will retire on Januari 1, 2020. Notes: svn path=/head/; revision=349551
* Remove a call to vm_map_simplify_entry from _vm_map_clip_start.Doug Moore2019-06-301-1/+0
| | | | | | | | | | | | Recent changes to vm_map_protect have made it unnecessary. Reviewed by: alc Approved by: kib (mentor) Tested by: pho Differential Revision: https://reviews.freebsd.org/D20633 Notes: svn path=/head/; revision=349550
* MFV r349535: less v551.Xin LI2019-06-2959-555/+1455
|\ | | | | | | | | | | | | | | MFC after: 2 weeks Relnotes: yes Notes: svn path=/head/; revision=349549
| * Vendor import of less v551.vendor/less/v551Xin LI2019-06-2969-717/+1746
| | | | | | | | | | Notes: svn path=/vendor/less/dist/; revision=349535 svn path=/vendor/less/v551/; revision=349536; tag=vendor/less/v551
* | Build lib32 libl. The library is built from usr.bin/lex/lib. It would beTijl Coosemans2019-06-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | better to move this directory to lib/libl, but this requires more extensive changes to Makefile.inc1. This simple fix can be MFCed quickly. PR: 238874 Reviewed by: imp MFC after: 3 days Notes: svn path=/head/; revision=349548
* | Use a consistent snapshot of the fd's rights in fget_mmap().Mark Johnston2019-06-291-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fget_mmap() translates rights on the descriptor to a VM protection mask. It was doing so without holding any locks on the descriptor table, so a writer could simultaneously be modifying those rights. Such a situation would be detected using a sequence counter, but not before an inconsistency could trigger assertion failures in the capability code. Fix the problem by copying the fd's rights to a structure on the stack, and perform the translation only once we know that that snapshot is consistent. Reported by: syzbot+ae359438769fda1840f8@syzkaller.appspotmail.com Reviewed by: brooks, mjg MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D20800 Notes: svn path=/head/; revision=349547
* | Fix mutual exclusion in pipe_direct_write().Mark Johnston2019-06-291-13/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We use PIPE_DIRECTW as a semaphore for direct writes to a pipe, where the reader copies data directly from pages mapped into the writer. However, when a reader finishes such a copy, it previously cleared PIPE_DIRECTW, allowing multiple writers to race and corrupt the state used to track wired pages belonging to the writer. Fix this by having the writer clear PIPE_DIRECTW and instead use the count of unread bytes to determine whether a write is finished. Reported by: syzbot+21811cc0a89b2a87a9e7@syzkaller.appspotmail.com Reviewed by: kib, mjg Tested by: pho MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D20784 Notes: svn path=/head/; revision=349546
* | Fix VOP_PUTPAGES(9) in regards to the use of VM_PAGER_CLUSTER_OKLi-Wen Hsu2019-06-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | Submitted by: Ka Ho Ng <khng300 at gmail.com> Reviewed by: mckusick MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D20695 Notes: svn path=/head/; revision=349543
* | Skip sys.netpfil.pf.names.names and sys.netpfil.pf.synproxy.synproxyLi-Wen Hsu2019-06-292-0/+2
| | | | | | | | | | | | | | | | | | | | temporarily because kernel panics when flushing epair queue. PR: 238870 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=349539
* | Install missing test data fileLi-Wen Hsu2019-06-291-0/+1
| | | | | | | | | | | | | | | | MFC with: r349527 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=349538
* | Add support for IFCAP_NOMAP to mlx5(4).John Baldwin2019-06-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | Since mlx5 uses bus_dma, this only required adding the capability flag. Submitted by: gallatin Reviewed by: gallatin, hselasky, rrs Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D20616 Notes: svn path=/head/; revision=349534
* | Add support for IFCAP_NOMAP to cxgbe(4).John Baldwin2019-06-293-13/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since cxgbe(4) uses sglist instead of bus_dma, this required updates to the code that generates scatter/gather lists for packets. Also, unmapped mbufs are always sent via DMA and never as immediate data in the payload of a work request. Submitted by: gallatin (earlier version) Reviewed by: gallatin, hselasky, rrs Discussed with: np Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D20616 Notes: svn path=/head/; revision=349533
* | Support IFCAP_NOMAP in vlan(4).John Baldwin2019-06-291-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | Enable IFCAP_NOMAP for a vlan interface if it is supported by the underlying trunk device. Reviewed by: gallatin, hselasky, rrs Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D20616 Notes: svn path=/head/; revision=349532
* | Compress pending socket buffer data once it is marked ready.John Baldwin2019-06-291-0/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apply similar logic from sbcompress to pending data in the socket buffer once it is marked ready via sbready. Normally sbcompress merges small mbufs to reduce the length of mbuf chains in the socket buffer. However, sbcompress cannot do this for mbufs marked M_NOTREADY. sbcompress_ready is now called from sbready when mbufs are marked ready to merge small mbuf chains once the data is available to copy. Submitted by: gallatin (earlier version) Reviewed by: gallatin, hselasky, rrs Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D20616 Notes: svn path=/head/; revision=349531
* | Add support for using unmapped mbufs with sendfile(2).John Baldwin2019-06-293-6/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This can be enabled at runtime via the kern.ipc.mb_use_ext_pgs sysctl. It is disabled by default. Submitted by: gallatin (earlier version) Reviewed by: gallatin, hselasky, rrs Relnotes: yes Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D20616 Notes: svn path=/head/; revision=349530
* | Add an external mbuf buffer type that holds multiple unmapped pages.John Baldwin2019-06-2922-52/+1175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unmapped mbufs allow sendfile to carry multiple pages of data in a single mbuf, without mapping those pages. It is a requirement for Netflix's in-kernel TLS, and provides a 5-10% CPU savings on heavy web serving workloads when used by sendfile, due to effectively compressing socket buffers by an order of magnitude, and hence reducing cache misses. For this new external mbuf buffer type (EXT_PGS), the ext_buf pointer now points to a struct mbuf_ext_pgs structure instead of a data buffer. This structure contains an array of physical addresses (this reduces cache misses compared to an earlier version that stored an array of vm_page_t pointers). It also stores additional fields needed for in-kernel TLS such as the TLS header and trailer data that are currently unused. To more easily detect these mbufs, the M_NOMAP flag is set in m_flags in addition to M_EXT. Various functions like m_copydata() have been updated to safely access packet contents (using uiomove_fromphys()), to make things like BPF safe. NIC drivers advertise support for unmapped mbufs on transmit via a new IFCAP_NOMAP capability. This capability can be toggled via the new 'nomap' and '-nomap' ifconfig(8) commands. For NIC drivers that only transmit packet contents via DMA and use bus_dma, adding the capability to if_capabilities and if_capenable should be all that is required. If a NIC does not support unmapped mbufs, they are converted to a chain of mapped mbufs (using sf_bufs to provide the mapping) in ip_output or ip6_output. If an unmapped mbuf requires software checksums, it is also converted to a chain of mapped mbufs before computing the checksum. Submitted by: gallatin (earlier version) Reviewed by: gallatin, hselasky, rrs Discussed with: ae, kp (firewalls) Relnotes: yes Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D20616 Notes: svn path=/head/; revision=349529
* | MFV r349454:Martin Matuska2019-06-285-3/+30
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sync libarchive with vendor. Relevant vendor changes: PR #1217: RAR5 reader - fix ARM filter going beyond window buffer boundary (OSS-Fuzz 15431) PR #1218: Fixes to sparse file handling MFC after: 1 week Notes: svn path=/head/; revision=349527
| * | Update vendor/libarchive/dist to git d6d3799d6b309593f271c4c319dfba92efc95772Martin Matuska2019-06-2710-11/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relevant vendor changes: PR #1217: RAR5 reader - fix ARM filter going beyond window buffer boundary (OSS-Fuzz 15431) PR #1218: Fixes to sparse file handling Notes: svn path=/vendor/libarchive/dist/; revision=349454
* | | When we protect PTEs (as opposed to PDEs), we only call vm_page_dirty()Alan Cox2019-06-282-20/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when, in fact, we are write protecting the page and the PTE has PG_M set. However, pmap_protect_pde() was always calling vm_page_dirty() when the PDE has PG_M set. So, adding PG_NX to a writeable PDE could result in unnecessary (but harmless) calls to vm_page_dirty(). Simplify the loop calling vm_page_dirty() in pmap_protect_pde(). Reviewed by: kib, markj MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D20793 Notes: svn path=/head/; revision=349526
* | | Need to apply the PCIM_BAR_MEM_BASE mask to the physical memoryHans Petter Selasky2019-06-281-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | address before returning it to the user. Some of the least significant bits have special meaning and should be masked away. Discussed with: kib@ MFC after: 3 days Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=349522
* | | Add the 802.1q support for the Marvell e6000 series of ethernet switches.Luiz Otavio O Souza2019-06-282-323/+608
| | | | | | | | | | | | | | | | | | | | | | | | Tested on: espressobin, Clearfog, SG-3100 and others Sponsored by: Rubicon Communications, LLC (Netgate) Notes: svn path=/head/; revision=349521
* | | Add the 'drop tagged' flag support for ethernet switch ports.Luiz Otavio O Souza2019-06-283-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is intended to drop all 802.1q tagged packets on a port. Sponsored by: Rubicon Communications, LLC (Netgate) Notes: svn path=/head/; revision=349520
* | | Style.Konstantin Belousov2019-06-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation MFC after: 3 days Notes: svn path=/head/; revision=349519
* | | cxgbe/t4_tom: Tweaks to some of the AIO related CTRs.Navdeep Parhar2019-06-282-15/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed by: jhb@ MFC after: 1 week Sponsored by: Chelsio Communications Notes: svn path=/head/; revision=349517
* | | Sync mbuf flags, types, and external buffer types with <sys/mbuf.h>.John Baldwin2019-06-281-8/+37
| | | | | | | | | | | | | | | | | | | | | Sponsored by: Netflix Notes: svn path=/head/; revision=349516
* | | Use a tab after #define for EXT_* constants.John Baldwin2019-06-281-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | This matches other #define's in this manpage as well as <sys/mbuf.h>. Sponsored by: Netflix Notes: svn path=/head/; revision=349515
* | | cxgbe/t4_tom: the AIO tx job queue must be empty by the time the driverNavdeep Parhar2019-06-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | releases the offload resources associated with the tid. Reviewed by: jhb@ MFC after: 1 week Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D20798 Notes: svn path=/head/; revision=349514
* | | Mention proccontrol(1) -m kpti.Konstantin Belousov2019-06-281-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation MFC after: 3 days Notes: svn path=/head/; revision=349512
* | | Typo.Konstantin Belousov2019-06-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation MFC after: 3 days Notes: svn path=/head/; revision=349511
* | | [PowerPC64] readelf: print description for 'e_flags' in ELF header (ABI type)Leandro Lupori2019-06-281-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This prints out description text with the meaning of 'Flags' value in PowerPC64. Example: $ readelf -h ~/tmp/t1-Flag2 ELF Header: Magic: 7f 45 4c 46 02 02 01 09 00 00 00 00 00 00 00 00 Class: ELF64 Data: 2's complement, big endian Version: 1 (current) OS/ABI: FreeBSD ABI Version: 0 Type: EXEC (Executable file) Machine: PowerPC 64-bit Version: 0x1 Entry point address: 0x10010000 Start of program headers: 64 (bytes into file) Start of section headers: 209368 (bytes into file) Flags: 0x2, OpenPOWER ELF V2 ABI Size of this header: 64 (bytes) Size of program headers: 56 (bytes) Number of program headers: 10 Size of section headers: 64 (bytes) Number of section headers: 34 Section header string table index: 31 Submitted by: alfredo.junior_eldorado.org.br Reviewed by: luporl Differential Revision: https://reviews.freebsd.org/D20782 Notes: svn path=/head/; revision=349510
* | | [PowerPC64] Add ABI flags to 'file' magicLeandro Lupori2019-06-281-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The distinction between ELF header version and OpenPOWER ELF ABI version is confusing for most of people, so this adds text to "file" output to make it clear about which OpenPOWER ELF ABI version binary was built for. The strings used in this change are based on "64-Bit ELF V2 ABI Specification/3.1. ELF Header" document available at http://openpowerfoundation.org/wp-content/uploads/resources/leabi/content/dbdoclet.50655241_97607.html Example: $ file t1-Flag2 -m -m contrib/file/magic/Magdir/elf t1-Flag2: ELF 64-bit MSB executable, 64-bit PowerPC or cisco 7500, OpenPOWER ELF V2 ABI, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 13.0 (1300033), FreeBSD-style, not stripped Submitted by: alfredo.junior_eldorado.org.br Reviewed by: luporl Differential Revision: https://reviews.freebsd.org/D20771 Notes: svn path=/head/; revision=349509
* | | Fix missing powerpc64 in _LLVM_TARGET_FILTLeandro Lupori2019-06-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change was originally in D20378. Making it in a new diff since it's a bugfix. Submitted by: alfredo.junior_eldorado.org.br Reviewed by: emaste, luporl Differential Revision: https://reviews.freebsd.org/D20756 Notes: svn path=/head/; revision=349508
* | | Need to wait for epoch callbacks to complete before detaching aHans Petter Selasky2019-06-281-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | network interface. This particularly manifests itself when an INP has multicast options attached during a network interface detach. Then the IPv4 and IPv6 leave group call which results from freeing the multicast address, may access a freed ifnet structure. These are the steps to reproduce: service mdnsd onestart # installed from ports ifconfig epair create ifconfig epair0a 0/24 up ifconfig epair0a destroy Tested by: pho @ MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=349507
* | | Implement API for draining EPOCH(9) callbacks.Hans Petter Selasky2019-06-284-9/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The epoch_drain_callbacks() function is used to drain all pending callbacks which have been invoked by prior epoch_call() function calls on the same epoch. This function is useful when there are shared memory structure(s) referred to by the epoch callback(s) which are not refcounted and are rarely freed. The typical place for calling this function is right before freeing or invalidating the shared resource(s) used by the epoch callback(s). This function can sleep and is not optimized for performance. Differential Revision: https://reviews.freebsd.org/D20109 MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=349506
* | | Upgrade to Bzip2 version 1.0.7.Xin LI2019-06-2819-87/+84
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=349505
| * | | Vendor import bzip2 -- upgrade to version 1.0.7.vendor/bzip2/1.0.7Xin LI2019-06-2821-95/+92
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/vendor/bzip2/dist/; revision=349496 svn path=/vendor/bzip2/1.0.7/; revision=349497; tag=vendor/bzip2/1.0.7
* | | | Fix a typo.Cy Schubert2019-06-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR: 238816 MFC after: 1 week X-MFC with: r349503 Notes: svn path=/head/; revision=349504
* | | | Document the -B, binary logfile, and the -C config file options.Cy Schubert2019-06-281-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reference the ipmon.5 man page and ipmon.conf. PR: 238816 MFC after: 1 week Notes: svn path=/head/; revision=349503
* | | | cxgbe/t4_tom: Mark the socket's receive as done before callingNavdeep Parhar2019-06-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | handle_ddp_close. This eliminates a bad race where an aio_ddp_requeue that happened to run after handle_ddp_close could bump up the active count. Discussed with: jhb@ MFC after: 3 days Sponsored by: Chelsio Communications Notes: svn path=/head/; revision=349501
* | | | cxgbe/t4_tom: Fix regression in t_maxseg usage within t4_tom.Navdeep Parhar2019-06-283-15/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | t_maxseg was changed in r293284 to not have any adjustment for TCP timestamps. t4_tom inadvertently went back to pre-r293284 semantics in r332506. Sponsored by: Chelsio Communications Notes: svn path=/head/; revision=349500
* | | | cxgbe/iw_cxgbe: Remove unused field from the endpoint structure.Navdeep Parhar2019-06-282-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=349499
* | | | If vm_map_protect fails with KERN_RESOURCE_SHORTAGE, be sure toDoug Moore2019-06-281-13/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | simplify modified entries before returning. Reviewed by: alc, markj (earlier version), kib (earlier version) Approved by: kib, markj (mentors, implicit) Differential Revision: https://reviews.freebsd.org/D20753 Notes: svn path=/head/; revision=349498
* | | | Add ACPI entries for Synopsys Designware UARTs used on ARM platformsRebecca Cran2019-06-281-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes (userspace) console on the Marvell MACCHIATObin in ACPI mode with latest TianoCore EDK2 firmware. Submitted by: Greg V <greg@unrelenting.technology> Reviewed by: mw, bcran Differential Revision: https://reviews.freebsd.org/D20765 Notes: svn path=/head/; revision=349494
* | | | Add missing ACPI GICv2 MSI/MSI-X attachmentRebecca Cran2019-06-281-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This lets PCIe MSI-X device interrupts work on the MACCHIATObin (Marvell Armada 8k), which allows e.g. the Intel igb NIC to fully work. Submitted by: Greg V <greg@unrelenting.technology> Reviewed by: mw, bcran Differential Revision: https://reviews.freebsd.org/D20775 Notes: svn path=/head/; revision=349493
* | | | libelftc: add RISC-V bfd targetsMitchell Horne2019-06-282-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the following targets: elf32-riscv, elf64-riscv, elf64-riscv-freebsd Reviewed by: emaste, markj, jkoshy@users.sourceforge.net Approved by: markj (mentor) MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D20768 Notes: svn path=/head/; revision=349483
* | | | readelf: Add support for RISC-V specific e_flagsMitchell Horne2019-06-282-1/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed by: markj Approved by: markj (mentor) MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D20767 Notes: svn path=/head/; revision=349482