lkml.org 
[lkml]   [2020]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86/tools/relocs: Add _etext and __end_of_kernel_reserve to S_REL
On Fri, Jan 10, 2020 at 09:38:28PM +0100, Borislav Petkov wrote:
> On Fri, Jan 10, 2020 at 03:23:49PM -0500, Arvind Sankar wrote:
> > Pre-2.23 binutils makes symbols defined outside sections absolute, so
> > these two symbols break the build on old linkers.
>
> -ENOTENOUGHINFO
>
> Which old linkers, how exactly do they break the build, etc etc?
>
> Please give exact reproduction steps.

Mauro (now CCed) ran into this too, but on 32-bit builds only with older
binutils. I hadn't set up an environment to try to reproduce it yet, but
it seems like this patch would fix it. Mauro can you test this? Does it
fix it for you too?

https://lore.kernel.org/lkml/20200110202349.1881840-1-nivedita@alum.mit.edu/

-Kees

--
Kees Cook

\
 
 \ /
  Last update: 2020-01-10 21:56    [W:0.130 / U:2.852 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site