[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] xen: Drop CONFIG_CC_HAS_VISIBILITY_ATTRIBUTE
commit b3502246d19d01711d7b28379111763353634460 Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> AuthorDate: Tue Apr 22 12:36:01 2025 +0100 Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> CommitDate: Tue Apr 22 15:47:48 2025 +0100 xen: Drop CONFIG_CC_HAS_VISIBILITY_ATTRIBUTE All supported toolchains now have it. Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> Acked-by: Jan Beulich <jbeulich@xxxxxxxx> --- xen/Kconfig | 4 ---- xen/include/xen/compiler.h | 2 -- 2 files changed, 6 deletions(-) diff --git a/xen/Kconfig b/xen/Kconfig index 72fdb83760..ae1c401a98 100644 --- a/xen/Kconfig +++ b/xen/Kconfig @@ -29,10 +29,6 @@ config LD_IS_GNU config LD_IS_LLVM def_bool $(success,$(LD) --version | head -n 1 | grep -q "^LLD") -# -fvisibility=hidden reduces -fpic cost, if it's available -config CC_HAS_VISIBILITY_ATTRIBUTE - def_bool $(cc-option,-fvisibility=hidden) - # Use -f{function,data}-sections compiler parameters config CC_SPLIT_SECTIONS bool diff --git a/xen/include/xen/compiler.h b/xen/include/xen/compiler.h index 38b8fa3d38..c68fab1891 100644 --- a/xen/include/xen/compiler.h +++ b/xen/include/xen/compiler.h @@ -17,10 +17,8 @@ #endif /* Compiler checks. */ -#ifdef CONFIG_CC_HAS_VISIBILITY_ATTRIBUTE /* Results in more efficient PIC code (no indirections through GOT or PLT). */ #pragma GCC visibility push(hidden) -#endif #define barrier() __asm__ __volatile__("": : :"memory") -- generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |