diff options
author | Vincenzo Frascino <vincenzo.frascino@arm.com> | 2019-10-03 18:48:34 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2019-10-07 11:07:16 +0100 |
commit | 0df2c90eba60791148cee1823c0bf5fc66e3465c (patch) | |
tree | 36653009e0f5f743ba09a52bd6f6ac8cc5acfd47 /lib | |
parent | 37a5076098c17f40913c772b017ff8e48e449656 (diff) | |
download | linux-0df2c90eba60791148cee1823c0bf5fc66e3465c.tar.gz linux-0df2c90eba60791148cee1823c0bf5fc66e3465c.tar.bz2 linux-0df2c90eba60791148cee1823c0bf5fc66e3465c.zip |
arm64: vdso32: Detect binutils support for dmb ishld
Older versions of binutils (prior to 2.24) do not support the "ISHLD"
option for memory barrier instructions, which leads to a build failure
when assembling the vdso32 library.
Add a compilation time mechanism that detects if binutils supports those
instructions and configure the kernel accordingly.
Cc: Will Deacon <will@kernel.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: Will Deacon <will@kernel.org>
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Tested-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions