Messages in this thread | | | From | Arvind Sankar <> | Date | Fri, 10 Jan 2020 15:50:29 -0500 | Subject | Re: [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. > > Thx. >
binutils-2.21 and -2.22. An x86-64 defconfig will fail with Invalid absolute R_X86_64_32S relocation: _etext and after fixing that one, with Invalid absolute R_X86_64_32S relocation: __end_of_kernel_reserve
Similar errors with 32-bit defconfig.
Should I resend with that added to the commit message?
| |