Re: [PATCH v8 05/14] x86: conditionally place regular ASM functions into separate sections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux