Re: [PATCH] ia64: don't use dynamic relocations for local symbols

2016-01-02 Thread Eric Botcazou
> Normally we'd require a bootstrap & regression test. We're more lenient > with patches to dead architectures. I can do it if Sergei or others cannot though. -- Eric Botcazou

Re: [PATCH] ia64: don't use dynamic relocations for local symbols

2016-01-01 Thread Jeff Law
On 12/28/2015 02:54 PM, Sergei Trofimovich wrote: From: Sergei Trofimovich Tested on the following example: void * a[77] __attribute((visibility("hidden"))); void f(long o, void * v) { a[0x6eff - o + 66] = v; } Before the patch generated code uses .GOT entry: addl r14

[PATCH] ia64: don't use dynamic relocations for local symbols

2015-12-28 Thread Sergei Trofimovich
From: Sergei Trofimovich Tested on the following example: void * a[77] __attribute((visibility("hidden"))); void f(long o, void * v) { a[0x6eff - o + 66] = v; } Before the patch generated code uses .GOT entry: addl r14 = @ltoffx(a#), r1 ld8.mov r14 = [r14], a# Afte