------- Comment #3 from carrot at google dot com 2010-03-31 08:01 ------- (In reply to comment #2) > Doesn't this belong in the linker as a relaxation? This would solve the reloc > problem in the process. >
Gnu linker has already support R_ARM_GOT_PREL. And the new relocation (GOT_PREL) has been added to trunk gas. So the offset can be represented as i(GOT_PREL)+(.-(.LPIC1+4)) Now my question is where is the best place to insert this enhancement? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43129