search for: r_arm_copyed

Displaying 2 results from an estimated 2 matches for "r_arm_copyed".

2014 Mar 14
2
[LLVMdev] [ARM] [PIC] optimizing the loading of hidden global variable
Hi Tim, The global merge pass puts the GVs into a sturcture to guarantee their address are contiguous. It works for static GVs but for global hidden GVs, this will cause name resoltion fail during linking .o into .so Any thoughs? Thanks, Weiming > Hi Weiming, > > On 12 March 2014 17:43, Weiming Zhao <weimingz at codeaurora.org> wrote: >> Clang will emit 1 GOT entry for
2014 Mar 14
3
[LLVMdev] [ARM] [PIC] optimizing the loading of hidden global variable
...plete > command-line? Ah, I see; the translation-unit that does the optimisation needs to have them as a definition (i.e. "= {0}") rather than a declaration for the optimisation to kick in, giving it precedence over other declarations. And the hidden-visibility means they won't be R_ARM_COPYed out of their initial location. After a very brief thought, I'd still go for GlobalMerge now, in conjunction with an enhanced "alias" so that you could emit something like: @g1 = hidden alias [100 x i32]* bitcast(i32* getelementptr([300 x i32]* @Merged, i32 0, i32 0) to [100 x i3...