lkml.org 
[lkml]   [2022]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 10/46] static_call, lto: Mark func_a() as __visible_on_lto
On Mon, Nov 14, 2022 at 12:43:08PM +0100, Jiri Slaby (SUSE) wrote:

> -static int func_a(int x)
> +__visible_on_lto int sc_func_a(int x)

> } static_call_data [] __initdata = {
> { NULL, 2, 3 },
> { func_b, 2, 4 },
> - { func_a, 2, 3 }
> + { sc_func_a, 2, 3 }
> };

I must say I really hate this. Also, with address taken, it still
eliminiates it?

This whole GCC-LTO sounds sub-par.

\
 
 \ /
  Last update: 2022-11-14 18:50    [W:0.043 / U:0.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site