]> Git Repo - linux.git/blob - include/linux/module_symbol.h
Merge tag 'v6.8-p4' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[linux.git] / include / linux / module_symbol.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #ifndef _LINUX_MODULE_SYMBOL_H
3 #define _LINUX_MODULE_SYMBOL_H
4
5 /* This ignores the intensely annoying "mapping symbols" found in ELF files. */
6 static inline bool is_mapping_symbol(const char *str)
7 {
8         if (str[0] == '.' && str[1] == 'L')
9                 return true;
10         if (str[0] == 'L' && str[1] == '0')
11                 return true;
12         return str[0] == '$';
13 }
14
15 #endif /* _LINUX_MODULE_SYMBOL_H */
This page took 0.037442 seconds and 4 git commands to generate.