Re: Functions and Global Variables defined in Libraries

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

 



On Thu, 2023-03-09 at 08:01 +0000, Frederick Virchanza Gotham via Gcc-
help wrote:
> Please add one more line to 'main':
> 
>        void *volatile p = (void*)gtk_true;
> 
> and test it again.

As I've explained you can't do that.

> > And anyway your question has nothing related to GCC.  Try to find a
> more
> > proper channel to discuss it.
> 
> 
> It is related to the GNU compiler suite, specifically the linker 'ld'
> and how it generates the tables (GLOBAL_DATA,JUMP_SLOT,got,plt).

GNU linker is not a part of GCC.

-- 
Xi Ruoyao <xry111@xxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University




[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