freebsd-dev/contrib
Andrew Turner 8657387683 Work around a bug in QEMU when loading data with a load pair instruction
where the source register is also the first destination register.

If this is the case, and we raise an exception in the middle of the
instruction, for example the load is across two pages and the second page
isn't mapped, QEMU will have overwritten the address with invalid data.

This is a valid behaviour in most cases, with the exception of when a
destination register is also use in address generation. As such switch
the order of the registers to ensure the address register is second so it
will be written to second, after any exceptions have happened.

This has been acknowledged in upstream QEMU, however as the workaround is
simple also handle it here.

Sponsored by:	DARPA, AFRL
2017-08-26 15:08:27 +00:00
..
amd
apr
apr-util
atf atf-sh(3): document atf_init_test_cases(3) fully 2017-06-30 05:49:12 +00:00
binutils gas: add parens to clarify expression and eliminate clang warning 2017-08-18 21:20:38 +00:00
blacklist Extend libblacklist support with new action types 2017-05-23 19:03:07 +00:00
bmake Import bmake-20170720 2017-07-24 04:38:05 +00:00
bsnmp Hide struct inpcb, struct tcpcb from the userland. 2017-03-21 06:39:49 +00:00
byacc MFV: r319352 2017-05-31 19:37:23 +00:00
bzip2 bzip2 does not exit after showing license as requested with --version 2016-12-28 18:04:18 +00:00
com_err
compiler-rt Extend the workaround for LLVM bug 11663 to MIPS N32. 2017-08-26 00:17:57 +00:00
cortex-strings Work around a bug in QEMU when loading data with a load pair instruction 2017-08-26 15:08:27 +00:00
dialog
diff
dma dma.8: fix problems reported by igor and 'mandoc -Tlint' 2017-05-20 17:42:58 +00:00
dtc Merge from vendor branch importing dtc 1.4.3 2017-03-10 17:36:05 +00:00
ee
elftoolchain o Replace __riscv__ with __riscv 2017-08-07 14:09:57 +00:00
expat
file
flex
gcc Rename RISC-V GCC config directory: riscv64 -> riscv 2017-08-14 14:16:56 +00:00
gcclibs
gdb
gdtoa
gperf
hyperv/tools hyperv: Add VF bringup scripts and devd rules. 2017-07-31 07:18:15 +00:00
ipfilter loadpoolfile() implements a -R (NORESOLVE) option which is not listed 2017-08-05 06:46:06 +00:00
jemalloc Pick 'Remove external linkage for spin_adaptive' from upstream jemalloc 2017-08-09 22:58:42 +00:00
ldns
ldns-host
less MFV r317581: less v491. 2017-05-05 14:33:39 +00:00
libarchive MFV r321673: 2017-07-28 23:56:07 +00:00
libbegemot
libc-pwcache
libc-vis vis(3): delete spurious .Pp macro 2017-05-23 07:00:46 +00:00
libc++ Upgrade our copies of clang, llvm, lld and libc++ to r311219 from the 2017-08-21 07:03:02 +00:00
libcxxrt Import libcxxrt master 8a853717e61d5d55cbdf74d9d0a7545da5d5ff92. 2017-03-25 13:17:48 +00:00
libdivsufsort
libexecinfo
libgnuregex
libpcap Clear clang warning: 2017-07-03 19:49:25 +00:00
libreadline
libstdc++ libstdc++: fix symbol version script for LLD 2017-04-19 19:06:47 +00:00
libucl Import libucl 20170219 2017-02-19 17:37:16 +00:00
libxo Update from libxo-0.8.1 to 0.8.4: 2017-08-03 15:47:42 +00:00
llvm Upgrade our copies of clang, llvm, lldb and compiler-rt to r311606 from 2017-08-24 20:19:27 +00:00
mdocml typo 2017-08-18 14:17:12 +00:00
mknod
mtree Use type-independent formats for printing nlink_t and ino_t. 2017-01-06 16:59:33 +00:00
ncurses
netbsd-tests bsdgrep: add some additional tests for fgrep 2017-08-24 01:20:52 +00:00
netcat Merge projects/ipsec into head/. 2017-02-06 08:49:57 +00:00
ngatm Fix the following clang 4.0.0 warning in ngatm's snmp_atm.c: 2017-01-07 15:57:12 +00:00
ntp MFV r315791: ntp 4.2.8p10. 2017-03-23 22:06:06 +00:00
nvi
ofed Fix accidental misconversion done in r321912 2017-08-02 09:00:18 +00:00
one-true-awk MFV r315425: 2017-03-16 21:32:05 +00:00
openbsm Commit the 64-bit inode project. 2017-05-23 09:29:05 +00:00
openpam Upgrade to OpenPAM Resedacea. 2017-05-05 13:31:25 +00:00
openresolv MFV r312970: 2017-01-30 16:32:53 +00:00
opie
pam_modules/pam_passwdqc
pf
pjdfstest Pull down pjdfstest 0.1 2017-06-28 09:22:45 +00:00
pnpinfo
sendmail Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
serf
smbfs Fix SMBFS when saved passwords are greater than 18 characters 2017-06-08 00:48:26 +00:00
sqlite3 Update from sqlite3-3.14.1 to sqlite3-3.20.0. This is a private lib. 2017-08-11 00:00:01 +00:00
subversion Update subversion 1.9.5 -> 1.9.7 2017-08-10 22:03:26 +00:00
tcp_wrappers remove bogus declaration of malloc from tcp_wrappers 2017-06-20 16:40:31 +00:00
tcpdump Cherry-pick 5d3c5151c2b885aab36627bafb8539238da27b2d, it fixes use after free 2017-04-25 15:56:46 +00:00
tcsh MFV r315950: 2017-03-25 14:14:11 +00:00
telnet Fix memory leak in edithost 2017-06-01 19:21:30 +00:00
tnftp
top top: use __mips__ and __NetBSD__ for consistency 2017-08-23 17:56:55 +00:00
traceroute Fix userland tools that don't check the format of routing socket 2017-04-16 19:17:10 +00:00
tzcode Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
tzdata Import tzdata 2017b 2017-03-27 21:00:49 +00:00
unbound
unvis
vis
wpa
xz xz: set noexec stack flag on FreeBSD 2017-06-03 02:42:49 +00:00
zlib MFV r312333: zlib 1.2.11. 2017-01-17 05:55:47 +00:00
zstd Import zstandard 1.3.1 2017-08-22 11:11:49 +00:00