Re: 回复: how to generate 64 bit relocations with gcc 3.3.3

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


""chongzhangscu@xxxxxxxxx"" <chongzhangscu@xxxxxxxxx> writes:

> I have already generate the x86_64 binary
> , however, it contains 32bit relocation and is not able to load by a Unix like os which only allowed 64 bit relocation. I built the module with option m64 mcmodel=medium. Is there some option I can use to generate only 64 bit relocation in a x86_64 binary?




**********************************************************************

Please never send e-mail to both gcc-help@xxxxxxxxxxx and
gcc@xxxxxxxxxxx.  Please send any followups only to gcc-help.  Thanks.

**********************************************************************


What precisely happens when you try to run this binary?

When you say that it contains 32-bit relocations, what precisely do you
mean?

Ian


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

Add to Google