lkml.org 
[lkml]   [2023]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2 0/4] Introduce %rip-relative addressing to PER_CPU_VAR macro
From
On 10/12/23 14:17, Uros Bizjak wrote:
>>
>> Are you PIC-adjusting the percpu variables as well?
>
> After this patch (and after fixing percpu_stable_op to use "a" operand
> modifier on GCC), the only *one* remaining absolute reference to
> percpu variable remain in xen-head.S, where:
>
> movq $INIT_PER_CPU_VAR(fixed_percpu_data),%rax
>
> should be changed to use leaq.
>
> All others should then be (%rip)-relative.
>

I mean, the symbols themselves are relative, not absolute?

-hpa

\
 
 \ /
  Last update: 2023-10-12 23:23    [W:0.510 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site