alignment problems with gglobal variables ,GCC for arc

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

 





Hi,

I am trying to link with gcc for ARC.

I get linker error for every global variable that is not 32 bit long or 32 bit aligned.

The linker error is "Error: Overflow detected in relocation value; Relocation value should be between 255 and -256 whereas it 268"
(Absolutely meaningless)

Once I redefine globals to be 32 bit long everything links fine.

Has anyone come accross this problem ?
Is there any compiler/linker option to overcome the problem?

Thanks
Mike


_________________________________________________________________
Telly addicts unite!
http://www.searchgamesbox.com/tvtown.shtml


[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