Chinaunix

标题: 求助mips64_gcc4.8.2 relocation truncated to fit: R_MIPS_GOT_PAGE [打印本页]

作者: 许你安然    时间: 2015-08-21 19:57
标题: 求助mips64_gcc4.8.2 relocation truncated to fit: R_MIPS_GOT_PAGE
本帖最后由 许你安然 于 2015-08-21 20:18 编辑

如题:

工具链用的 mips64_gcc4.8.2_glibc2.18.0_multi

版本如下
version=V3.04.20


XXX_XXX1的函数头如下
int XXX_XXX1(context, input, inputLen)
e  *context;                                       
ee *input;                                
eee  inputLen;  




链接的时候出现如下问题,大家帮忙看看啥问题?
不识别函数头格式,
代码中太多这种格式的函数,
能否修改编译flag让工具链识别这个函数格式,
另外很多其他CPU的工具链都可以识别这个格式的函数


/home/XXX/XXX/XXX/target/XXX/XXX/XXX/XXX/XXX/XXX/lib_XXX.a(lib_XXX.lib): In function `XXX_XXX1:
(.text+0x6c0830): relocation truncated to fit: R_MIPS_GOT_PAGE against `no symbol'
/home/XXX/XXX/XXX/target/XXX/XXX/XXX/XXX/XXX/XXX/lib_XXX.a(lib_XXX.lib): In function `XXX_XXX2:
(.text+0x6c0960): relocation truncated to fit: R_MIPS_GOT_PAGE against `no symbol'
/home/XXX/XXX/XXX/target/XXX/XXX/XXX/XXX/XXX/XXX/lib_XXX.a(lib_XXX.lib):  In function `XXX_XXX3:
(.text+0x6c0acc): relocation truncated to fit: R_MIPS_GOT_PAGE against `no symbol'
/home/XXX/XXX/XXX/target/XXX/XXX/XXX/XXX/XXX/XXX/lib_XXX.a(lib_XXX.lib): In function `XXX_XXX4:
(.text+0x6c9a04): additional relocation overflows omitted from the output







欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2