Re: x86_64 windows binaries are always PIC?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 31, 2022 at 9:49 PM unlvsur unlvsur via Gcc-help
<gcc-help@xxxxxxxxxxx> wrote:
>
> I found that GCC would always use %rip as the reference for the symbols for x86_64 windows binaries. Is it mandatory by windows and impossible to disable it?

I guess because almost all addressing modes work only with 32-bit
immediates, so there is no way to represent absolute memory addresses
in machine code.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux