Merge tag 'gpio-updates-for-v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / scripts / gen_autoksyms.sh
index da32015..6ed0d22 100755 (executable)
@@ -26,18 +26,6 @@ if [ -n "$CONFIG_MODVERSIONS" ]; then
        needed_symbols="$needed_symbols module_layout"
 fi
 
-# With CONFIG_LTO_CLANG, LLVM bitcode has not yet been compiled into a binary
-# when the .mod files are generated, which means they don't yet contain
-# references to certain symbols that will be present in the final binaries.
-if [ -n "$CONFIG_LTO_CLANG" ]; then
-       # intrinsic functions
-       needed_symbols="$needed_symbols memcpy memmove memset"
-       # ftrace
-       needed_symbols="$needed_symbols _mcount"
-       # stack protector symbols
-       needed_symbols="$needed_symbols __stack_chk_fail __stack_chk_guard"
-fi
-
 ksym_wl=
 if [ -n "$CONFIG_UNUSED_KSYMS_WHITELIST" ]; then
        # Use 'eval' to expand the whitelist path and check if it is relative