diff options
| author | WANG Rui <[email protected]> | 2023-11-08 06:12:07 +0000 |
|---|---|---|
| committer | Huacai Chen <[email protected]> | 2023-11-08 06:12:07 +0000 |
| commit | 21eb2bfe2748b238f06983e4308cb30611371605 (patch) | |
| tree | e9fa23ddd343ac50788360d9b53c29ba454ad120 /lib/debugobjects.c | |
| parent | LoongArch: Support PREEMPT_DYNAMIC with static keys (diff) | |
| download | kernel-21eb2bfe2748b238f06983e4308cb30611371605.tar.gz kernel-21eb2bfe2748b238f06983e4308cb30611371605.zip | |
LoongArch: Disable module from accessing external data directly
The distance between vmlinux and the module is too far so that PC-REL
cannot be accessed directly, only GOT.
When compiling module with GCC, the option `-mdirect-extern-access` is
disabled by default. The Clang option `-fdirect-access-external-data` is
enabled by default, so it needs to be explicitly disabled.
Signed-off-by: WANG Rui <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
