alignment problems with gglobal variables ,GCC for arc
Mike Welsen
mikewelsen@hotmail.com
Thu Feb 7 20:15:00 GMT 2008
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
More information about the Gcc-help
mailing list