freebsd-dev/lib/libc
Justin Hibbits 00797360b5 powerpc/powerpc64: Enforce natural alignment in memcpy
Summary:
POWER architecture CPUs (Book-S) require natural alignment for
cache-inhibited storage accesses.  Since we can't know the caching model
for a page ahead of time, always enforce natural alignment in memcpy.
This fixes a SIGBUS in X with acceleration enabled on POWER9.

As part of this, revert r358672, it's no longer necessary with this fix.

Regression tested by alfredo.

Reviewed by: alfredo
Differential Revision: https://reviews.freebsd.org/D23969
2020-03-06 01:45:03 +00:00
..
aarch64
amd64 amd64: sync up libc memcmp with the kernel version (r357309) 2020-01-30 19:57:05 +00:00
arm arm/ffs.S: remove stale comment. 2019-12-28 02:11:41 +00:00
capability
compat-43
db
gdtoa Remove sparc64 specific parts of libc. 2020-02-26 18:55:09 +00:00
gen ftw.3: Add examples 2020-03-05 14:52:24 +00:00
gmon
i386
iconv
include
inet
isc
locale libc: Fix a few bugs in the xlocale collation code. 2020-01-09 20:49:26 +00:00
md
mips
nameser
net Improve validation of the sockaddr length in iruserok_sa(). 2020-02-05 16:09:44 +00:00
nls
posix1e
powerpc [PowerPC] Fix typo in _ctx_start on ppc32 2019-11-23 23:41:21 +00:00
powerpc64 powerpc/powerpc64: Enforce natural alignment in memcpy 2020-03-06 01:45:03 +00:00
powerpcspe [PowerPC] Fix SPE floating point environment manipulation 2019-12-12 17:12:18 +00:00
quad Add casts and L suffixes to libc quad support, to work around various 2020-02-17 20:14:59 +00:00
regex
resolv
riscv Tidy the _set_tp function for RISC-V. 2020-02-06 21:46:15 +00:00
rpc Fix a use of an uninitialized pointer in xdr_rpcbs_rmtcalllist(). 2020-02-05 16:10:09 +00:00
secure ssp: knock out some trivial warnings that come up with WARNS=6 2020-01-04 20:07:11 +00:00
softfloat
stdio libc: provide fputc_unlocked 2020-02-02 19:45:12 +00:00
stdlib vfs: add realpathat syscall 2020-02-20 16:58:19 +00:00
stdtime
string memset.3: better fix previous typo 2020-02-08 21:17:48 +00:00
sys umtx_op.2: correct typo 2020-03-05 15:51:44 +00:00
tests Provide O_SEARCH 2020-02-02 16:34:57 +00:00
uuid
x86
xdr typo: s/impelmentation/implementation/. 2020-02-07 15:14:29 +00:00
yp
libc_nossp.ldscript
libc.ldscript
Makefile Remove sparc64 specific parts of libc. 2020-02-26 18:55:09 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options Update libssp paths in various Makefile.depend* files 2020-01-06 18:15:55 +00:00
Versions.def