| Server IP : 195.114.193.97 / Your IP : 216.73.217.93 Web Server : LiteSpeed System : Linux host 5.15.0-126-generic #136-Ubuntu SMP Wed Nov 6 10:38:22 UTC 2024 x86_64 User : sembi4241 ( 1126) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/src/linux-headers-5.15.0-126-generic/include/linux/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0 */ /* * When building position independent code with GCC using the -fPIC option, * (or even the -fPIE one on older versions), it will assume that we are * building a dynamic object (either a shared library or an executable) that * may have symbol references that can only be resolved at load time. For a * variety of reasons (ELF symbol preemption, the CoW footprint of the section * that is modified by the loader), this results in all references to symbols * with external linkage to go via entries in the Global Offset Table (GOT), * which carries absolute addresses which need to be fixed up when the * executable image is loaded at an offset which is different from its link * time offset. * * Fortunately, there is a way to inform the compiler that such symbol * references will be satisfied at link time rather than at load time, by * giving them 'hidden' visibility. */ #pragma GCC visibility push(hidden)