[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240803120136.GA2986@redhat.com>
Date: Sat, 3 Aug 2024 14:01:37 +0200
From: Oleg Nesterov <oleg@...hat.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org
Subject: Re: build failure caused by RUNTIME_CONST()
On 08/02, Linus Torvalds wrote:
>
> On Fri, 2 Aug 2024 at 15:10, Oleg Nesterov <oleg@...hat.com> wrote:
> >
> > $ ld -v
> > GNU ld version 2.25-17.fc23
>
> Yeah, we document that we support building with ld-2.25.
Where? I tried to grep Documentation/ but didn't find anything...
> Reported-by: Oleg Nesterov <oleg@...hat.com>
> Link: https://sourceware.org/binutils/docs/ld/Input-Section-Example.html [1]
> Link: https://lore.kernel.org/all/20240802114518.GA20924@redhat.com/
> Signed-off-by: Linus Torvalds <torvalds@...ux-foundation.org>
Tested-by: Oleg Nesterov <oleg@...hat.com>
But,
> -#define RUNTIME_NAME(t,x) runtime_##t##_##x
> +#define NAMED_SECTION(name) \
> + name : AT(ADDR(name) - LOAD_OFFSET) ALIGN(8) \
^^^^^^^^
it seems that all other section do
. = ALIGN(x); name : ...
was this change intentional?
Oleg.
Powered by blists - more mailing lists