Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 15 Oct 2020 02:12:47 +0200
From: Jann Horn <>
To: Sami Tolvanen <>
Cc: Masahiro Yamada <>, Steven Rostedt <>, 
	Will Deacon <>, Peter Zijlstra <>, 
	Greg Kroah-Hartman <>, "Paul E. McKenney" <>, 
	Kees Cook <>, Nick Desaulniers <>, 
	clang-built-linux <>, 
	Kernel Hardening <>, 
	linux-arch <>, 
	Linux ARM <>,, 
	kernel list <>,, 
	"the arch/x86 maintainers" <>
Subject: Re: [PATCH v6 16/25] init: lto: fix PREL32 relocations

On Tue, Oct 13, 2020 at 2:34 AM Sami Tolvanen <> wrote:
> With LTO, the compiler can rename static functions to avoid global
> naming collisions. As initcall functions are typically static,
> renaming can break references to them in inline assembly. This
> change adds a global stub with a stable name for each initcall to
> fix the issue when PREL32 relocations are used.

While I understand that this may be necessary for now, are there any
plans to fix this in the compiler in the future? There was a thread
about this issue at
and possible solutions were discussed there, but it looks like that
fizzled out...

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.