mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-29 00:36:10 +03:00
base/allocator: Disable ifunc on Musl aarch64
This commit is contained in:
parent
340933fcbd
commit
9f3ef3c1b2
@ -10,7 +10,9 @@
|
|||||||
#include "partition_alloc/build_config.h"
|
#include "partition_alloc/build_config.h"
|
||||||
#include "partition_alloc/buildflags.h"
|
#include "partition_alloc/buildflags.h"
|
||||||
|
|
||||||
#if PA_BUILDFLAG(IS_ANDROID) || PA_BUILDFLAG(IS_LINUX)
|
#if defined(__MUSL__)
|
||||||
|
// Musl does not support ifunc.
|
||||||
|
#elif PA_BUILDFLAG(IS_ANDROID) || PA_BUILDFLAG(IS_LINUX)
|
||||||
#define HAS_HW_CAPS
|
#define HAS_HW_CAPS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -9,7 +9,8 @@
|
|||||||
#include "partition_alloc/page_allocator.h"
|
#include "partition_alloc/page_allocator.h"
|
||||||
|
|
||||||
#if PA_BUILDFLAG(HAS_MEMORY_TAGGING) || \
|
#if PA_BUILDFLAG(HAS_MEMORY_TAGGING) || \
|
||||||
(defined(__ARM_FEATURE_BTI_DEFAULT) && (__ARM_FEATURE_BTI_DEFAULT == 1))
|
(defined(__ARM_FEATURE_BTI_DEFAULT) && (__ARM_FEATURE_BTI_DEFAULT == 1) && \
|
||||||
|
!defined(__MUSL__))
|
||||||
struct __ifunc_arg_t;
|
struct __ifunc_arg_t;
|
||||||
|
|
||||||
#include "partition_alloc/aarch64_support.h"
|
#include "partition_alloc/aarch64_support.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user