search for: r_mips_gprel16

Displaying 4 results from an estimated 4 matches for "r_mips_gprel16".

2011 Apr 13
1
FAM linking error on Irix
....28 using gcc 3.4.6 . Towards the end the linking phase stops with the following error: [...] Compiling ../lib/popt/poptparse.c Linking bin/smbd /usr/lib32/libfam.a(fam.o): In function `FAMOpen2': /xlv44/6.5.28m/work/eoe/lib/libfam/libfam_n32_M3/fam.c++:51: relocation truncated to fit: R_MIPS_GPREL16 against `.srdata' /usr/lib32/libfam.a(fam.o): In function `checkRequest(FAMRequest *, char const *)': /xlv44/6.5.28m/work/eoe/lib/libfam/libfam_n32_M3/fam.c++:280: relocation truncated to fit: R_MIPS_GPREL16 against `.sdata' /xlv44/6.5.28m/work/eoe/lib/libfam/libfam_n32_M3/fam.c++:275...
2016 Sep 29
2
[lld][ELF] Addends adjustment for relocatable object
Initial issue is related to R_MIPS_GPREL16/32 relocations. When we calculate such relocations we need to know _gp symbol's value. This value might come from different sources. Usually we setup it using constant offset from the .got section. Also it might be defined by a linker script. And in rare but possible case it comes from .reginfo...
2011 Jun 08
0
Compiling Samba with FAM support on Irix
Some weeks ago I asked for help because I got "relocation truncated to fit: R_MIPS_GPREL16 against `.srdata'" error messages when trying to compile Samba 3.5.8 including FAM support on SGI Irix 6.5.28 using gcc 3.4.6 . A hint was found on this page: <http://sourceware.org/ml/ecos-discuss/2000-04/msg00214.html>, which explains the cause of the message and suggests to t...
2016 Sep 27
2
[lld][ELF] Addends adjustment for relocatable object
You are right. LLD does not have this problem. Initially I bumped into the MIPS specific bug related to GP relative relocations calculation. I tried to make reproduction script as general as possible and mistakenly make it too general. So now with your help I realized that the problem solely affects MIPS. On Tue, Sep 27, 2016 at 8:46 PM, Peter Smith <peter.smith at linaro.org> wrote: >