]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
powerpc: implement __clear_cache
authorPiotr Kubaj <pkubaj@FreeBSD.org>
Fri, 1 Apr 2022 19:13:13 +0000 (21:13 +0200)
committerPiotr Kubaj <pkubaj@FreeBSD.org>
Tue, 5 Apr 2022 00:33:22 +0000 (02:33 +0200)
commit16c3f5d03e984a6039a888eec5bcc58735a7d965
tree8278f93b93fb7e3164bbdd768a4d7de7dcefdcbc
parent123b4031e96da7953704d027c41d72d8ec0bf77d
powerpc: implement __clear_cache

Merge LLVM commit 81f5c6270cdfcdf80e6296df216b696a7a37c8b5.

This fixes runtime of most notably pcre libraries (currently patched in ports),
and probably also other ports since currently __clear_cache() just calls
SIGABRT on powerpc.

Reviewed by: dim
Differential Revision: https://reviews.freebsd.org/D34736

(cherry picked from commit 57b6ac48a96c99e684ab4dc85b8a87097797dc9f)
contrib/llvm-project/compiler-rt/lib/builtins/clear_cache.c