lkml.org 
[lkml]   [2021]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v8 05/14] x86: conditionally place regular ASM functions into separate sections
On Fri, 10 Dec 2021, Alexander Lobakin wrote:

> I could do unconditional
>
> .pushsection %S.##name
> ^^^^^^ function name
>
> but this would involve changing LDS scripts (and vmlinux.lds.h) to
> let's say replace *(.noinstr.text) with *(.noinstr.text*).

Yes, this is meant to be used with a linker script that expects the new
name.


Nicolas

\
 
 \ /
  Last update: 2021-12-10 14:21    [W:0.153 / U:1.732 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site